/hal_st-2.7.6/sensor/stmemsc/l20g20is_STdC/driver/ |
D | l20g20is_reg.c | 150 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 …]
|
D | l20g20is_reg.h | 347 l20g20is_ctrl1_ois_t ctrl1_ois; member
|
/hal_st-2.7.6/sensor/stmemsc/lsm6dsm_STdC/driver/ |
D | lsm6dsm_reg.c | 2951 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 …]
|
D | lsm6dsm_reg.h | 1762 lsm6dsm_ctrl1_ois_t ctrl1_ois; member
|
/hal_st-2.7.6/sensor/stmemsc/lsm6dsr_STdC/driver/ |
D | lsm6dsr_reg.c | 3303 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 …]
|
D | lsm6dsr_reg.h | 2692 lsm6dsr_ctrl1_ois_t ctrl1_ois; member
|
/hal_st-2.7.6/sensor/stmemsc/ism330dhcx_STdC/driver/ |
D | ism330dhcx_reg.c | 3602 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 …]
|
D | ism330dhcx_reg.h | 2735 ism330dhcx_ctrl1_ois_t ctrl1_ois; member
|
/hal_st-2.7.6/sensor/stmemsc/lsm6dsrx_STdC/driver/ |
D | lsm6dsrx_reg.c | 3524 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 …]
|
D | lsm6dsrx_reg.h | 2796 lsm6dsrx_ctrl1_ois_t ctrl1_ois; member
|
/hal_st-2.7.6/sensor/stmemsc/lsm6dso_STdC/driver/ |
D | lsm6dso_reg.c | 3305 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 …]
|
D | lsm6dso_reg.h | 2633 lsm6dso_ctrl1_ois_t ctrl1_ois; member
|
/hal_st-2.7.6/sensor/stmemsc/ism330dlc_STdC/driver/ |
D | ism330dlc_reg.c | 2890 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()
|
D | ism330dlc_reg.h | 1663 ism330dlc_ctrl1_ois_t ctrl1_ois; member
|
/hal_st-2.7.6/sensor/stmemsc/lsm6dsox_STdC/driver/ |
D | lsm6dsox_reg.c | 3807 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()
|