Home
last modified time | relevance | path

Searched refs:tap_cfg1 (Results 1 – 22 of 22) sorted by relevance

/hal_st-3.7.0/sensor/stmemsc/iis2iclx_STdC/driver/
Diis2iclx_reg.c3489 iis2iclx_tap_cfg1_t tap_cfg1; in iis2iclx_tap_threshold_x_set() local
3492 ret = iis2iclx_read_reg(ctx, IIS2ICLX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in iis2iclx_tap_threshold_x_set()
3496 tap_cfg1.tap_ths_x = (uint8_t)val; in iis2iclx_tap_threshold_x_set()
3498 (uint8_t *)&tap_cfg1, 1); in iis2iclx_tap_threshold_x_set()
3514 iis2iclx_tap_cfg1_t tap_cfg1; in iis2iclx_tap_threshold_x_get() local
3517 ret = iis2iclx_read_reg(ctx, IIS2ICLX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in iis2iclx_tap_threshold_x_get()
3518 *val = tap_cfg1.tap_ths_x; in iis2iclx_tap_threshold_x_get()
3534 iis2iclx_tap_cfg1_t tap_cfg1; in iis2iclx_tap_axis_priority_set() local
3537 ret = iis2iclx_read_reg(ctx, IIS2ICLX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in iis2iclx_tap_axis_priority_set()
3541 tap_cfg1.tap_priority = (uint8_t)val; in iis2iclx_tap_axis_priority_set()
[all …]
Diis2iclx_reg.h2371 iis2iclx_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lis2dux12_STdC/driver/
Dlis2dux12_reg.c2668 lis2dux12_tap_cfg1_t tap_cfg1; in lis2dux12_tap_config_set() local
2677 ret += lis2dux12_read_reg(ctx, LIS2DUX12_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lis2dux12_tap_config_set()
2688 tap_cfg1.pre_still_ths = val.pre_still_ths; in lis2dux12_tap_config_set()
2690 tap_cfg1.post_still_t = val.post_still_time & 0xFU; in lis2dux12_tap_config_set()
2704 ret += lis2dux12_write_reg(ctx, LIS2DUX12_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lis2dux12_tap_config_set()
2718 lis2dux12_tap_cfg1_t tap_cfg1; in lis2dux12_tap_config_get() local
2727 ret += lis2dux12_read_reg(ctx, LIS2DUX12_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lis2dux12_tap_config_get()
2738 val->pre_still_ths = tap_cfg1.pre_still_ths; in lis2dux12_tap_config_get()
2740 val->post_still_time = (tap_cfg2.post_still_t << 4) | tap_cfg1.post_still_t; in lis2dux12_tap_config_get()
Dlis2dux12_reg.h1952 lis2dux12_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lis2duxs12_STdC/driver/
Dlis2duxs12_reg.c2807 lis2duxs12_tap_cfg1_t tap_cfg1; in lis2duxs12_tap_config_set() local
2816 ret += lis2duxs12_read_reg(ctx, LIS2DUXS12_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lis2duxs12_tap_config_set()
2827 tap_cfg1.pre_still_ths = val.pre_still_ths; in lis2duxs12_tap_config_set()
2829 tap_cfg1.post_still_t = val.post_still_time & 0xFU; in lis2duxs12_tap_config_set()
2843 ret += lis2duxs12_write_reg(ctx, LIS2DUXS12_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lis2duxs12_tap_config_set()
2857 lis2duxs12_tap_cfg1_t tap_cfg1; in lis2duxs12_tap_config_get() local
2866 ret += lis2duxs12_read_reg(ctx, LIS2DUXS12_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lis2duxs12_tap_config_get()
2877 val->pre_still_ths = tap_cfg1.pre_still_ths; in lis2duxs12_tap_config_get()
2879 val->post_still_time = (tap_cfg2.post_still_t << 4) | tap_cfg1.post_still_t; in lis2duxs12_tap_config_get()
Dlis2duxs12_reg.h1973 lis2duxs12_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lsm6dsv16bx_STdC/driver/
Dlsm6dsv16bx_reg.c4215 lsm6dsv16bx_tap_cfg1_t tap_cfg1; in lsm6dsv16bx_tap_thresholds_set() local
4218 ret = lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv16bx_tap_thresholds_set()
4228 tap_cfg1.tap_ths_z = val.z; in lsm6dsv16bx_tap_thresholds_set()
4242 ret = lsm6dsv16bx_write_reg(ctx, LSM6DSV16BX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv16bx_tap_thresholds_set()
4261 lsm6dsv16bx_tap_cfg1_t tap_cfg1; in lsm6dsv16bx_tap_thresholds_get() local
4264 ret = lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv16bx_tap_thresholds_get()
4274 val->z = tap_cfg1.tap_ths_z; in lsm6dsv16bx_tap_thresholds_get()
4292 lsm6dsv16bx_tap_cfg1_t tap_cfg1; in lsm6dsv16bx_tap_axis_priority_set() local
4295 ret = lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv16bx_tap_axis_priority_set()
4298 tap_cfg1.tap_priority = (uint8_t)val & 0x07U; in lsm6dsv16bx_tap_axis_priority_set()
[all …]
Dlsm6dsv16bx_reg.h2527 lsm6dsv16bx_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lsm6dsr_STdC/driver/
Dlsm6dsr_reg.c5630 lsm6dsr_tap_cfg1_t tap_cfg1; in lsm6dsr_tap_threshold_x_set() local
5633 ret = lsm6dsr_read_reg(ctx, LSM6DSR_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsr_tap_threshold_x_set()
5637 tap_cfg1.tap_ths_x = (uint8_t)val; in lsm6dsr_tap_threshold_x_set()
5639 (uint8_t *)&tap_cfg1, 1); in lsm6dsr_tap_threshold_x_set()
5655 lsm6dsr_tap_cfg1_t tap_cfg1; in lsm6dsr_tap_threshold_x_get() local
5658 ret = lsm6dsr_read_reg(ctx, LSM6DSR_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsr_tap_threshold_x_get()
5659 *val = tap_cfg1.tap_ths_x; in lsm6dsr_tap_threshold_x_get()
5675 lsm6dsr_tap_cfg1_t tap_cfg1; in lsm6dsr_tap_axis_priority_set() local
5678 ret = lsm6dsr_read_reg(ctx, LSM6DSR_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsr_tap_axis_priority_set()
5682 tap_cfg1.tap_priority = (uint8_t)val; in lsm6dsr_tap_axis_priority_set()
[all …]
Dlsm6dsr_reg.h2681 lsm6dsr_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/ism330dhcx_STdC/driver/
Dism330dhcx_reg.c5824 ism330dhcx_tap_cfg1_t tap_cfg1; in ism330dhcx_tap_threshold_x_set() local
5827 (uint8_t *)&tap_cfg1, 1); in ism330dhcx_tap_threshold_x_set()
5831 tap_cfg1.tap_ths_x = (uint8_t)val; in ism330dhcx_tap_threshold_x_set()
5833 (uint8_t *)&tap_cfg1, 1); in ism330dhcx_tap_threshold_x_set()
5850 ism330dhcx_tap_cfg1_t tap_cfg1; in ism330dhcx_tap_threshold_x_get() local
5853 (uint8_t *)&tap_cfg1, 1); in ism330dhcx_tap_threshold_x_get()
5854 *val = tap_cfg1.tap_ths_x; in ism330dhcx_tap_threshold_x_get()
5870 ism330dhcx_tap_cfg1_t tap_cfg1; in ism330dhcx_tap_axis_priority_set() local
5873 (uint8_t *)&tap_cfg1, 1); in ism330dhcx_tap_axis_priority_set()
5877 tap_cfg1.tap_priority = (uint8_t)val; in ism330dhcx_tap_axis_priority_set()
[all …]
Dism330dhcx_reg.h2727 ism330dhcx_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lsm6dsv_STdC/driver/
Dlsm6dsv_reg.c8501 lsm6dsv_tap_cfg1_t tap_cfg1; in lsm6dsv_tap_thresholds_set() local
8504 ret = lsm6dsv_read_reg(ctx, LSM6DSV_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv_tap_thresholds_set()
8509 tap_cfg1.tap_ths_x = val.x; in lsm6dsv_tap_thresholds_set()
8515 ret += lsm6dsv_write_reg(ctx, LSM6DSV_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv_tap_thresholds_set()
8533 lsm6dsv_tap_cfg1_t tap_cfg1; in lsm6dsv_tap_thresholds_get() local
8536 ret = lsm6dsv_read_reg(ctx, LSM6DSV_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv_tap_thresholds_get()
8541 val->x = tap_cfg1.tap_ths_x; in lsm6dsv_tap_thresholds_get()
8559 lsm6dsv_tap_cfg1_t tap_cfg1; in lsm6dsv_tap_axis_priority_set() local
8562 ret = lsm6dsv_read_reg(ctx, LSM6DSV_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv_tap_axis_priority_set()
8565 tap_cfg1.tap_priority = (uint8_t)val & 0x7U; in lsm6dsv_tap_axis_priority_set()
[all …]
Dlsm6dsv_reg.h3499 lsm6dsv_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lsm6dsv16x_STdC/driver/
Dlsm6dsv16x_reg.c9066 lsm6dsv16x_tap_cfg1_t tap_cfg1; in lsm6dsv16x_tap_thresholds_set() local
9069 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv16x_tap_thresholds_set()
9074 tap_cfg1.tap_ths_x = val.x; in lsm6dsv16x_tap_thresholds_set()
9080 ret += lsm6dsv16x_write_reg(ctx, LSM6DSV16X_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv16x_tap_thresholds_set()
9098 lsm6dsv16x_tap_cfg1_t tap_cfg1; in lsm6dsv16x_tap_thresholds_get() local
9101 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv16x_tap_thresholds_get()
9106 val->x = tap_cfg1.tap_ths_x; in lsm6dsv16x_tap_thresholds_get()
9124 lsm6dsv16x_tap_cfg1_t tap_cfg1; in lsm6dsv16x_tap_axis_priority_set() local
9127 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsv16x_tap_axis_priority_set()
9130 tap_cfg1.tap_priority = (uint8_t)val & 0x7U; in lsm6dsv16x_tap_axis_priority_set()
[all …]
Dlsm6dsv16x_reg.h3693 lsm6dsv16x_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lsm6dsrx_STdC/driver/
Dlsm6dsrx_reg.c5948 lsm6dsrx_tap_cfg1_t tap_cfg1; in lsm6dsrx_tap_threshold_x_set() local
5951 ret = lsm6dsrx_read_reg(ctx, LSM6DSRX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsrx_tap_threshold_x_set()
5955 tap_cfg1.tap_ths_x = (uint8_t)val; in lsm6dsrx_tap_threshold_x_set()
5957 (uint8_t *)&tap_cfg1, 1); in lsm6dsrx_tap_threshold_x_set()
5973 lsm6dsrx_tap_cfg1_t tap_cfg1; in lsm6dsrx_tap_threshold_x_get() local
5976 ret = lsm6dsrx_read_reg(ctx, LSM6DSRX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsrx_tap_threshold_x_get()
5977 *val = tap_cfg1.tap_ths_x; in lsm6dsrx_tap_threshold_x_get()
5993 lsm6dsrx_tap_cfg1_t tap_cfg1; in lsm6dsrx_tap_axis_priority_set() local
5996 ret = lsm6dsrx_read_reg(ctx, LSM6DSRX_TAP_CFG1, (uint8_t *)&tap_cfg1, 1); in lsm6dsrx_tap_axis_priority_set()
6000 tap_cfg1.tap_priority = (uint8_t)val; in lsm6dsrx_tap_axis_priority_set()
[all …]
Dlsm6dsrx_reg.h2785 lsm6dsrx_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lsm6dso32_STdC/driver/
Dlsm6dso32_reg.h2532 lsm6dso32_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lsm6dso32x_STdC/driver/
Dlsm6dso32x_reg.h2649 lsm6dso32x_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lsm6dso_STdC/driver/
Dlsm6dso_reg.h2643 lsm6dso_tap_cfg1_t tap_cfg1; member
/hal_st-3.7.0/sensor/stmemsc/lsm6dsox_STdC/driver/
Dlsm6dsox_reg.h2904 lsm6dsox_tap_cfg1_t tap_cfg1; member