Home
last modified time | relevance | path

Searched refs:tap_cfg2 (Results 1 – 25 of 27) sorted by relevance

12

/hal_st-3.4.0/sensor/stmemsc/iis2iclx_STdC/driver/
Diis2iclx_reg.c2370 iis2iclx_tap_cfg2_t tap_cfg2; in iis2iclx_pin_int1_route_set() local
2452 ret = iis2iclx_read_reg(ctx, IIS2ICLX_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in iis2iclx_pin_int1_route_set()
2485 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in iis2iclx_pin_int1_route_set()
2490 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in iis2iclx_pin_int1_route_set()
2494 (uint8_t *) &tap_cfg2, 1); in iis2iclx_pin_int1_route_set()
2573 iis2iclx_tap_cfg2_t tap_cfg2; in iis2iclx_pin_int2_route_set() local
2655 ret = iis2iclx_read_reg(ctx, IIS2ICLX_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in iis2iclx_pin_int2_route_set()
2687 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in iis2iclx_pin_int2_route_set()
2692 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in iis2iclx_pin_int2_route_set()
2696 (uint8_t *) &tap_cfg2, 1); in iis2iclx_pin_int2_route_set()
[all …]
Diis2iclx_reg.h2372 iis2iclx_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/lsm6dsr_STdC/driver/
Dlsm6dsr_reg.c4419 lsm6dsr_tap_cfg2_t tap_cfg2; in lsm6dsr_pin_int1_route_set() local
4490 ret = lsm6dsr_read_reg(ctx, LSM6DSR_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsr_pin_int1_route_set()
4507 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dsr_pin_int1_route_set()
4512 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dsr_pin_int1_route_set()
4519 (uint8_t *)&tap_cfg2, 1); in lsm6dsr_pin_int1_route_set()
4591 lsm6dsr_tap_cfg2_t tap_cfg2; in lsm6dsr_pin_int2_route_set() local
4663 (uint8_t *)&tap_cfg2, 1); in lsm6dsr_pin_int2_route_set()
4682 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dsr_pin_int2_route_set()
4687 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dsr_pin_int2_route_set()
4691 (uint8_t *)&tap_cfg2, 1); in lsm6dsr_pin_int2_route_set()
[all …]
Dlsm6dsr_reg.h2682 lsm6dsr_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/ism330dhcx_STdC/driver/
Dism330dhcx_reg.c4572 ism330dhcx_tap_cfg2_t tap_cfg2; in ism330dhcx_pin_int1_route_set() local
4657 (uint8_t *)&tap_cfg2, 1); in ism330dhcx_pin_int1_route_set()
4675 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in ism330dhcx_pin_int1_route_set()
4680 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in ism330dhcx_pin_int1_route_set()
4687 (uint8_t *)&tap_cfg2, 1); in ism330dhcx_pin_int1_route_set()
4764 ism330dhcx_tap_cfg2_t tap_cfg2; in ism330dhcx_pin_int2_route_set() local
4849 (uint8_t *)&tap_cfg2, 1); in ism330dhcx_pin_int2_route_set()
4868 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in ism330dhcx_pin_int2_route_set()
4873 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in ism330dhcx_pin_int2_route_set()
4877 (uint8_t *)&tap_cfg2, 1); in ism330dhcx_pin_int2_route_set()
[all …]
Dism330dhcx_reg.h2728 ism330dhcx_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/asm330lhh_STdC/driver/
Dasm330lhh_reg.c2445 asm330lhh_int_cfg1_t tap_cfg2; in asm330lhh_pin_int1_route_set() local
2460 (uint8_t *)&tap_cfg2, 1); in asm330lhh_pin_int1_route_set()
2475 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in asm330lhh_pin_int1_route_set()
2480 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in asm330lhh_pin_int1_route_set()
2487 (uint8_t *)&tap_cfg2, 1); in asm330lhh_pin_int1_route_set()
2531 asm330lhh_int_cfg1_t tap_cfg2; in asm330lhh_pin_int2_route_set() local
2546 (uint8_t *)&tap_cfg2, 1); in asm330lhh_pin_int2_route_set()
2563 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in asm330lhh_pin_int2_route_set()
2568 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in asm330lhh_pin_int2_route_set()
2572 (uint8_t *)&tap_cfg2, 1); in asm330lhh_pin_int2_route_set()
/hal_st-3.4.0/sensor/stmemsc/lsm6dsrx_STdC/driver/
Dlsm6dsrx_reg.c4658 lsm6dsrx_tap_cfg2_t tap_cfg2; in lsm6dsrx_pin_int1_route_set() local
4743 ret = lsm6dsrx_read_reg(ctx, LSM6DSRX_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in lsm6dsrx_pin_int1_route_set()
4782 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dsrx_pin_int1_route_set()
4787 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dsrx_pin_int1_route_set()
4791 (uint8_t *) &tap_cfg2, 1); in lsm6dsrx_pin_int1_route_set()
4868 lsm6dsrx_tap_cfg2_t tap_cfg2; in lsm6dsrx_pin_int2_route_set() local
4953 ret = lsm6dsrx_read_reg(ctx, LSM6DSRX_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in lsm6dsrx_pin_int2_route_set()
4991 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dsrx_pin_int2_route_set()
4996 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dsrx_pin_int2_route_set()
5000 (uint8_t *) &tap_cfg2, 1); in lsm6dsrx_pin_int2_route_set()
[all …]
Dlsm6dsrx_reg.h2786 lsm6dsrx_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/lis2dux12_STdC/driver/
Dlis2dux12_reg.c2599 lis2dux12_tap_cfg2_t tap_cfg2; in lis2dux12_tap_config_set() local
2608 ret += lis2dux12_read_reg(ctx, LIS2DUX12_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lis2dux12_tap_config_set()
2621 tap_cfg2.post_still_t = val.post_still_time >> 4; in lis2dux12_tap_config_set()
2622 tap_cfg2.wait_t = val.shock_wait_time; in lis2dux12_tap_config_set()
2635 ret += lis2dux12_write_reg(ctx, LIS2DUX12_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lis2dux12_tap_config_set()
2649 lis2dux12_tap_cfg2_t tap_cfg2; in lis2dux12_tap_config_get() local
2658 ret += lis2dux12_read_reg(ctx, LIS2DUX12_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lis2dux12_tap_config_get()
2670 val->post_still_time = (tap_cfg2.post_still_t << 4) | tap_cfg1.post_still_t; in lis2dux12_tap_config_get()
2671 val->shock_wait_time = tap_cfg2.wait_t; in lis2dux12_tap_config_get()
Dlis2dux12_reg.h1953 lis2dux12_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/lis2duxs12_STdC/driver/
Dlis2duxs12_reg.c2731 lis2duxs12_tap_cfg2_t tap_cfg2; in lis2duxs12_tap_config_set() local
2740 ret += lis2duxs12_read_reg(ctx, LIS2DUXS12_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lis2duxs12_tap_config_set()
2753 tap_cfg2.post_still_t = val.post_still_time >> 4; in lis2duxs12_tap_config_set()
2754 tap_cfg2.wait_t = val.shock_wait_time; in lis2duxs12_tap_config_set()
2767 ret += lis2duxs12_write_reg(ctx, LIS2DUXS12_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lis2duxs12_tap_config_set()
2781 lis2duxs12_tap_cfg2_t tap_cfg2; in lis2duxs12_tap_config_get() local
2790 ret += lis2duxs12_read_reg(ctx, LIS2DUXS12_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lis2duxs12_tap_config_get()
2802 val->post_still_time = (tap_cfg2.post_still_t << 4) | tap_cfg1.post_still_t; in lis2duxs12_tap_config_get()
2803 val->shock_wait_time = tap_cfg2.wait_t; in lis2duxs12_tap_config_get()
Dlis2duxs12_reg.h1974 lis2duxs12_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/lsm6dso32_STdC/driver/
Dlsm6dso32_reg.c3108 lsm6dso32_tap_cfg2_t tap_cfg2; in lsm6dso32_pin_int1_route_set() local
3180 (uint8_t *) &tap_cfg2, 1); in lsm6dso32_pin_int1_route_set()
3218 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dso32_pin_int1_route_set()
3223 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dso32_pin_int1_route_set()
3227 (uint8_t *) &tap_cfg2, 1); in lsm6dso32_pin_int1_route_set()
3300 lsm6dso32_tap_cfg2_t tap_cfg2; in lsm6dso32_pin_int2_route_set() local
3372 (uint8_t *) &tap_cfg2, 1); in lsm6dso32_pin_int2_route_set()
3410 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dso32_pin_int2_route_set()
3415 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dso32_pin_int2_route_set()
3419 (uint8_t *) &tap_cfg2, 1); in lsm6dso32_pin_int2_route_set()
Dlsm6dso32_reg.h2533 lsm6dso32_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/lsm6dso32x_STdC/driver/
Dlsm6dso32x_reg.c10364 lsm6dso32x_tap_cfg2_t tap_cfg2; in lsm6dso32x_pin_int1_route_set() local
10544 (uint8_t *) &tap_cfg2, 1); in lsm6dso32x_pin_int1_route_set()
10583 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dso32x_pin_int1_route_set()
10588 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dso32x_pin_int1_route_set()
10592 (uint8_t *) &tap_cfg2, 1); in lsm6dso32x_pin_int1_route_set()
10756 lsm6dso32x_tap_cfg2_t tap_cfg2; in lsm6dso32x_pin_int2_route_set() local
10910 (uint8_t *) &tap_cfg2, 1); in lsm6dso32x_pin_int2_route_set()
10948 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dso32x_pin_int2_route_set()
10953 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dso32x_pin_int2_route_set()
10957 (uint8_t *) &tap_cfg2, 1); in lsm6dso32x_pin_int2_route_set()
Dlsm6dso32x_reg.h2650 lsm6dso32x_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv_STdC/driver/
Dlsm6dsv_reg.c8014 lsm6dsv_tap_cfg2_t tap_cfg2; in lsm6dsv_tap_thresholds_set() local
8021 ret = lsm6dsv_read_reg(ctx, LSM6DSV_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsv_tap_thresholds_set()
8029 tap_cfg2.tap_ths_y = val.y; in lsm6dsv_tap_thresholds_set()
8038 ret = lsm6dsv_write_reg(ctx, LSM6DSV_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsv_tap_thresholds_set()
8060 lsm6dsv_tap_cfg2_t tap_cfg2; in lsm6dsv_tap_thresholds_get() local
8067 ret = lsm6dsv_read_reg(ctx, LSM6DSV_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsv_tap_thresholds_get()
8075 val->y = tap_cfg2.tap_ths_y; in lsm6dsv_tap_thresholds_get()
Dlsm6dsv_reg.h3355 lsm6dsv_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv16bx_STdC/driver/
Dlsm6dsv16bx_reg.c4209 lsm6dsv16bx_tap_cfg2_t tap_cfg2; in lsm6dsv16bx_tap_thresholds_set() local
4216 ret = lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsv16bx_tap_thresholds_set()
4224 tap_cfg2.tap_ths_y = val.y; in lsm6dsv16bx_tap_thresholds_set()
4233 ret = lsm6dsv16bx_write_reg(ctx, LSM6DSV16BX_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsv16bx_tap_thresholds_set()
4255 lsm6dsv16bx_tap_cfg2_t tap_cfg2; in lsm6dsv16bx_tap_thresholds_get() local
4262 ret = lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsv16bx_tap_thresholds_get()
4270 val->y = tap_cfg2.tap_ths_y; in lsm6dsv16bx_tap_thresholds_get()
Dlsm6dsv16bx_reg.h2528 lsm6dsv16bx_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/lsm6dso_STdC/driver/
Dlsm6dso_reg.c10971 lsm6dso_tap_cfg2_t tap_cfg2; in lsm6dso_pin_int1_route_set() local
11122 ret = lsm6dso_read_reg(ctx, LSM6DSO_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in lsm6dso_pin_int1_route_set()
11161 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dso_pin_int1_route_set()
11166 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dso_pin_int1_route_set()
11169 ret = lsm6dso_write_reg(ctx, LSM6DSO_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in lsm6dso_pin_int1_route_set()
11316 lsm6dso_tap_cfg2_t tap_cfg2; in lsm6dso_pin_int2_route_set() local
11461 ret = lsm6dso_read_reg(ctx, LSM6DSO_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in lsm6dso_pin_int2_route_set()
11499 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dso_pin_int2_route_set()
11504 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dso_pin_int2_route_set()
11507 ret = lsm6dso_write_reg(ctx, LSM6DSO_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in lsm6dso_pin_int2_route_set()
Dlsm6dso_reg.h2644 lsm6dso_tap_cfg2_t tap_cfg2; member
/hal_st-3.4.0/sensor/stmemsc/lsm6dsox_STdC/driver/
Dlsm6dsox_reg.c11960 lsm6dsox_tap_cfg2_t tap_cfg2; in lsm6dsox_pin_int1_route_set() local
12135 ret = lsm6dsox_read_reg(ctx, LSM6DSOX_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in lsm6dsox_pin_int1_route_set()
12174 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dsox_pin_int1_route_set()
12179 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dsox_pin_int1_route_set()
12183 (uint8_t *) &tap_cfg2, 1); in lsm6dsox_pin_int1_route_set()
12348 lsm6dsox_tap_cfg2_t tap_cfg2; in lsm6dsox_pin_int2_route_set() local
12514 ret = lsm6dsox_read_reg(ctx, LSM6DSOX_TAP_CFG2, (uint8_t *) &tap_cfg2, 1); in lsm6dsox_pin_int2_route_set()
12552 tap_cfg2.interrupts_enable = PROPERTY_ENABLE; in lsm6dsox_pin_int2_route_set()
12557 tap_cfg2.interrupts_enable = PROPERTY_DISABLE; in lsm6dsox_pin_int2_route_set()
12561 (uint8_t *) &tap_cfg2, 1); in lsm6dsox_pin_int2_route_set()
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv16x_STdC/driver/
Dlsm6dsv16x_reg.c9421 lsm6dsv16x_tap_cfg2_t tap_cfg2; in lsm6dsv16x_tap_thresholds_set() local
9428 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsv16x_tap_thresholds_set()
9436 tap_cfg2.tap_ths_y = val.y; in lsm6dsv16x_tap_thresholds_set()
9445 ret = lsm6dsv16x_write_reg(ctx, LSM6DSV16X_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsv16x_tap_thresholds_set()
9467 lsm6dsv16x_tap_cfg2_t tap_cfg2; in lsm6dsv16x_tap_thresholds_get() local
9474 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_TAP_CFG2, (uint8_t *)&tap_cfg2, 1); in lsm6dsv16x_tap_thresholds_get()
9482 val->y = tap_cfg2.tap_ths_y; in lsm6dsv16x_tap_thresholds_get()

12