Home
last modified time | relevance | path

Searched refs:ctrl9_c (Results 1 – 4 of 4) sorted by relevance

/hal_st-3.4.0/sensor/stmemsc/lsm6dso16is_STdC/driver/
Dlsm6dso16is_reg.c2911 lsm6dso16is_ctrl9_c_t ctrl9_c; in lsm6dso16is_ispu_data_rate_set() local
2914 ret = lsm6dso16is_read_reg(ctx, LSM6DSO16IS_CTRL9_C, (uint8_t *)&ctrl9_c, 1); in lsm6dso16is_ispu_data_rate_set()
2918 ctrl9_c.ispu_rate = ((uint8_t)val & 0xfU); in lsm6dso16is_ispu_data_rate_set()
2919 ret = lsm6dso16is_write_reg(ctx, LSM6DSO16IS_CTRL9_C, (uint8_t *)&ctrl9_c, 1); in lsm6dso16is_ispu_data_rate_set()
2938 lsm6dso16is_ctrl9_c_t ctrl9_c; in lsm6dso16is_ispu_data_rate_get() local
2941 ret = lsm6dso16is_read_reg(ctx, LSM6DSO16IS_CTRL9_C, (uint8_t *)&ctrl9_c, 1); in lsm6dso16is_ispu_data_rate_get()
2943 switch ((ctrl9_c.ispu_rate)) in lsm6dso16is_ispu_data_rate_get()
3006 lsm6dso16is_ctrl9_c_t ctrl9_c; in lsm6dso16is_ispu_bdu_set() local
3009 ret = lsm6dso16is_read_reg(ctx, LSM6DSO16IS_CTRL9_C, (uint8_t *)&ctrl9_c, 1); in lsm6dso16is_ispu_bdu_set()
3013 ctrl9_c.ispu_bdu = ((uint8_t)val & 0x3U); in lsm6dso16is_ispu_bdu_set()
[all …]
Dlsm6dso16is_reg.h2136 lsm6dso16is_ctrl9_c_t ctrl9_c; member
/hal_st-3.4.0/sensor/stmemsc/ism330is_STdC/driver/
Dism330is_reg.c2897 ism330is_ctrl9_c_t ctrl9_c; in ism330is_ispu_data_rate_set() local
2900 ret = ism330is_read_reg(ctx, ISM330IS_CTRL9_C, (uint8_t *)&ctrl9_c, 1); in ism330is_ispu_data_rate_set()
2904 ctrl9_c.ispu_rate = ((uint8_t)val & 0xfU); in ism330is_ispu_data_rate_set()
2905 ret = ism330is_write_reg(ctx, ISM330IS_CTRL9_C, (uint8_t *)&ctrl9_c, 1); in ism330is_ispu_data_rate_set()
2924 ism330is_ctrl9_c_t ctrl9_c; in ism330is_ispu_data_rate_get() local
2927 ret = ism330is_read_reg(ctx, ISM330IS_CTRL9_C, (uint8_t *)&ctrl9_c, 1); in ism330is_ispu_data_rate_get()
2929 switch ((ctrl9_c.ispu_rate)) in ism330is_ispu_data_rate_get()
2992 ism330is_ctrl9_c_t ctrl9_c; in ism330is_ispu_bdu_set() local
2995 ret = ism330is_read_reg(ctx, ISM330IS_CTRL9_C, (uint8_t *)&ctrl9_c, 1); in ism330is_ispu_bdu_set()
2999 ctrl9_c.ispu_bdu = ((uint8_t)val & 0x3U); in ism330is_ispu_bdu_set()
[all …]
Dism330is_reg.h2136 ism330is_ctrl9_c_t ctrl9_c; member