Home
last modified time | relevance | path

Searched refs:ctrl1_ois (Results 1 – 15 of 15) sorted by relevance

/hal_st-2.7.6/sensor/stmemsc/l20g20is_STdC/driver/
Dl20g20is_reg.c150 l20g20is_ctrl1_ois_t ctrl1_ois; in l20g20is_gy_data_rate_set() local
153 (uint8_t *)&ctrl1_ois, 1); in l20g20is_gy_data_rate_set()
157 ctrl1_ois.pw = (uint8_t)val; in l20g20is_gy_data_rate_set()
159 (uint8_t *)&ctrl1_ois, 1); in l20g20is_gy_data_rate_set()
176 l20g20is_ctrl1_ois_t ctrl1_ois; in l20g20is_gy_data_rate_get() local
179 (uint8_t *)&ctrl1_ois, 1); in l20g20is_gy_data_rate_get()
181 switch (ctrl1_ois.pw) in l20g20is_gy_data_rate_get()
216 l20g20is_ctrl1_ois_t ctrl1_ois; in l20g20is_gy_orient_set() local
220 (uint8_t *)&ctrl1_ois, 1); in l20g20is_gy_orient_set()
224 ctrl1_ois.orient = val.orient; in l20g20is_gy_orient_set()
[all …]
Dl20g20is_reg.h347 l20g20is_ctrl1_ois_t ctrl1_ois; member
/hal_st-2.7.6/sensor/stmemsc/lsm6dsm_STdC/driver/
Dlsm6dsm_reg.c2951 lsm6dsm_ctrl1_ois_t ctrl1_ois; in lsm6dsm_aux_den_mode_set() local
2964 ret = lsm6dsm_read_reg(ctx, LSM6DSM_CTRL1_OIS, (uint8_t *)&ctrl1_ois, 1); in lsm6dsm_aux_den_mode_set()
2965 ctrl1_ois.lvl1_ois = ((uint8_t)val & 0x02U) >> 1; in lsm6dsm_aux_den_mode_set()
2970 ret = lsm6dsm_write_reg(ctx, LSM6DSM_CTRL1_OIS, (uint8_t *)&ctrl1_ois, 1); in lsm6dsm_aux_den_mode_set()
2988 lsm6dsm_ctrl1_ois_t ctrl1_ois; in lsm6dsm_aux_den_mode_get() local
2995 ret = lsm6dsm_read_reg(ctx, LSM6DSM_CTRL1_OIS, (uint8_t *)&ctrl1_ois, 1); in lsm6dsm_aux_den_mode_get()
2997 switch ((ctrl1_ois.lvl1_ois << 1) + int_ois.lvl2_ois) in lsm6dsm_aux_den_mode_get()
3083 lsm6dsm_ctrl1_ois_t ctrl1_ois; in lsm6dsm_aux_mode_set() local
3086 ret = lsm6dsm_read_reg(ctx, LSM6DSM_CTRL1_OIS, (uint8_t *)&ctrl1_ois, 1); in lsm6dsm_aux_mode_set()
3090 ctrl1_ois.ois_en_spi2 = (uint8_t)val & 0x01U; in lsm6dsm_aux_mode_set()
[all …]
Dlsm6dsm_reg.h1762 lsm6dsm_ctrl1_ois_t ctrl1_ois; member
/hal_st-2.7.6/sensor/stmemsc/lsm6dsr_STdC/driver/
Dlsm6dsr_reg.c3303 lsm6dsr_ctrl1_ois_t ctrl1_ois; in lsm6dsr_aux_den_mode_set() local
3317 (uint8_t *)&ctrl1_ois, 1); in lsm6dsr_aux_den_mode_set()
3322 ctrl1_ois.lvl1_ois = ((uint8_t)val & 0x02U) >> 1; in lsm6dsr_aux_den_mode_set()
3324 (uint8_t *)&ctrl1_ois, 1); in lsm6dsr_aux_den_mode_set()
3342 lsm6dsr_ctrl1_ois_t ctrl1_ois; in lsm6dsr_aux_den_mode_get() local
3350 (uint8_t *)&ctrl1_ois, 1); in lsm6dsr_aux_den_mode_get()
3353 switch ((ctrl1_ois.lvl1_ois << 1) + int_ois.lvl2_ois) in lsm6dsr_aux_den_mode_get()
3436 lsm6dsr_ctrl1_ois_t ctrl1_ois; in lsm6dsr_aux_mode_set() local
3439 ret = lsm6dsr_read_reg(ctx, LSM6DSR_CTRL1_OIS, (uint8_t *)&ctrl1_ois, 1); in lsm6dsr_aux_mode_set()
3443 ctrl1_ois.ois_en_spi2 = (uint8_t)val & 0x01U; in lsm6dsr_aux_mode_set()
[all …]
Dlsm6dsr_reg.h2692 lsm6dsr_ctrl1_ois_t ctrl1_ois; member
/hal_st-2.7.6/sensor/stmemsc/ism330dhcx_STdC/driver/
Dism330dhcx_reg.c3602 ism330dhcx_ctrl1_ois_t ctrl1_ois; in ism330dhcx_aux_den_mode_set() local
3617 (uint8_t *)&ctrl1_ois, 1); in ism330dhcx_aux_den_mode_set()
3622 ctrl1_ois.lvl1_ois = ((uint8_t)val & 0x02U) >> 1; in ism330dhcx_aux_den_mode_set()
3624 (uint8_t *)&ctrl1_ois, 1); in ism330dhcx_aux_den_mode_set()
3642 ism330dhcx_ctrl1_ois_t ctrl1_ois; in ism330dhcx_aux_den_mode_get() local
3650 (uint8_t *)&ctrl1_ois, 1); in ism330dhcx_aux_den_mode_get()
3653 switch ((ctrl1_ois.lvl1_ois << 1) + int_ois.lvl2_ois) in ism330dhcx_aux_den_mode_get()
3739 ism330dhcx_ctrl1_ois_t ctrl1_ois; in ism330dhcx_aux_mode_set() local
3742 (uint8_t *)&ctrl1_ois, 1); in ism330dhcx_aux_mode_set()
3746 ctrl1_ois.ois_en_spi2 = (uint8_t)val & 0x01U; in ism330dhcx_aux_mode_set()
[all …]
Dism330dhcx_reg.h2735 ism330dhcx_ctrl1_ois_t ctrl1_ois; member
/hal_st-2.7.6/sensor/stmemsc/lsm6dsrx_STdC/driver/
Dlsm6dsrx_reg.c3524 lsm6dsrx_ctrl1_ois_t ctrl1_ois; in lsm6dsrx_aux_den_mode_set() local
3538 (uint8_t *)&ctrl1_ois, 1); in lsm6dsrx_aux_den_mode_set()
3543 ctrl1_ois.lvl1_ois = ((uint8_t)val & 0x02U) >> 1; in lsm6dsrx_aux_den_mode_set()
3545 (uint8_t *)&ctrl1_ois, 1); in lsm6dsrx_aux_den_mode_set()
3563 lsm6dsrx_ctrl1_ois_t ctrl1_ois; in lsm6dsrx_aux_den_mode_get() local
3571 (uint8_t *)&ctrl1_ois, 1); in lsm6dsrx_aux_den_mode_get()
3574 switch ((ctrl1_ois.lvl1_ois << 1) + int_ois.lvl2_ois) in lsm6dsrx_aux_den_mode_get()
3657 lsm6dsrx_ctrl1_ois_t ctrl1_ois; in lsm6dsrx_aux_mode_set() local
3661 (uint8_t *)&ctrl1_ois, 1); in lsm6dsrx_aux_mode_set()
3665 ctrl1_ois.ois_en_spi2 = (uint8_t)val & 0x01U; in lsm6dsrx_aux_mode_set()
[all …]
Dlsm6dsrx_reg.h2796 lsm6dsrx_ctrl1_ois_t ctrl1_ois; member
/hal_st-2.7.6/sensor/stmemsc/lsm6dso_STdC/driver/
Dlsm6dso_reg.c3305 lsm6dso_ctrl1_ois_t ctrl1_ois; in lsm6dso_aux_den_mode_set() local
3319 ret = lsm6dso_read_reg(ctx, LSM6DSO_CTRL1_OIS, (uint8_t *) &ctrl1_ois, 1); in lsm6dso_aux_den_mode_set()
3324 ctrl1_ois.lvl1_ois = ((uint8_t)val & 0x02U) >> 1; in lsm6dso_aux_den_mode_set()
3326 (uint8_t *) &ctrl1_ois, 1); in lsm6dso_aux_den_mode_set()
3343 lsm6dso_ctrl1_ois_t ctrl1_ois; in lsm6dso_aux_den_mode_get() local
3351 ret = lsm6dso_read_reg(ctx, LSM6DSO_CTRL1_OIS, (uint8_t *) &ctrl1_ois, 1); in lsm6dso_aux_den_mode_get()
3353 switch ((ctrl1_ois.lvl1_ois << 1) + int_ois.lvl2_ois) in lsm6dso_aux_den_mode_get()
10495 lsm6dso_ctrl1_ois_t ctrl1_ois; in lsm6dso_bus_mode_set() local
10508 (uint8_t *)&ctrl1_ois, 1); in lsm6dso_bus_mode_set()
10511 if ((ret == 0) && (ctrl1_ois.sim_ois != bit_val)) in lsm6dso_bus_mode_set()
[all …]
Dlsm6dso_reg.h2633 lsm6dso_ctrl1_ois_t ctrl1_ois; member
/hal_st-2.7.6/sensor/stmemsc/ism330dlc_STdC/driver/
Dism330dlc_reg.c2890 ism330dlc_ctrl1_ois_t ctrl1_ois; in ism330dlc_aux_den_mode_set() local
2905 (uint8_t *)&ctrl1_ois, 1); in ism330dlc_aux_den_mode_set()
2910 ctrl1_ois.lvl1_ois = ((uint8_t)val & 0x02U) >> 1; in ism330dlc_aux_den_mode_set()
2912 (uint8_t *)&ctrl1_ois, 1); in ism330dlc_aux_den_mode_set()
2929 ism330dlc_ctrl1_ois_t ctrl1_ois; in ism330dlc_aux_den_mode_get() local
2937 (uint8_t *)&ctrl1_ois, 1); in ism330dlc_aux_den_mode_get()
2940 switch ((ctrl1_ois.lvl1_ois << 1) | int_ois.lvl2_ois) in ism330dlc_aux_den_mode_get()
Dism330dlc_reg.h1663 ism330dlc_ctrl1_ois_t ctrl1_ois; member
/hal_st-2.7.6/sensor/stmemsc/lsm6dsox_STdC/driver/
Dlsm6dsox_reg.c3807 lsm6dsox_ui_ctrl1_ois_t ctrl1_ois; in lsm6dsox_aux_den_mode_set() local
3824 (uint8_t *) &ctrl1_ois, 1); in lsm6dsox_aux_den_mode_set()
3829 ctrl1_ois.lvl1_ois = ((uint8_t)val & 0x02U) >> 1; in lsm6dsox_aux_den_mode_set()
3831 (uint8_t *) &ctrl1_ois, 1); in lsm6dsox_aux_den_mode_set()
3848 lsm6dsox_ui_ctrl1_ois_t ctrl1_ois; in lsm6dsox_aux_den_mode_get() local
3858 (uint8_t *) &ctrl1_ois, 1); in lsm6dsox_aux_den_mode_get()
3860 switch ((ctrl1_ois.lvl1_ois << 1) + int_ois.lvl2_ois) in lsm6dsox_aux_den_mode_get()