Home
last modified time | relevance | path

Searched refs:ctrl8_xl (Results 1 – 25 of 33) sorted by relevance

12

/hal_st-3.4.0/sensor/stmemsc/lsm6dsm_STdC/driver/
Dlsm6dsm_reg.c2002 lsm6dsm_ctrl8_xl_t ctrl8_xl; in lsm6dsm_xl_lp1_bandwidth_set() local
2014 ret = lsm6dsm_read_reg(ctx, LSM6DSM_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsm_xl_lp1_bandwidth_set()
2018 ctrl8_xl.lpf2_xl_en = 0; in lsm6dsm_xl_lp1_bandwidth_set()
2019 ctrl8_xl.hp_slope_xl_en = 0; in lsm6dsm_xl_lp1_bandwidth_set()
2020 ret = lsm6dsm_write_reg(ctx, LSM6DSM_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsm_xl_lp1_bandwidth_set()
2041 lsm6dsm_ctrl8_xl_t ctrl8_xl; in lsm6dsm_xl_lp1_bandwidth_get() local
2044 ret = lsm6dsm_read_reg(ctx, LSM6DSM_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsm_xl_lp1_bandwidth_get()
2048 if ((ctrl8_xl.lpf2_xl_en != 0x00U) || in lsm6dsm_xl_lp1_bandwidth_get()
2049 (ctrl8_xl.hp_slope_xl_en != 0x00U)) in lsm6dsm_xl_lp1_bandwidth_get()
2089 lsm6dsm_ctrl8_xl_t ctrl8_xl; in lsm6dsm_xl_lp2_bandwidth_set() local
[all …]
Dlsm6dsm_reg.h1720 lsm6dsm_ctrl8_xl_t ctrl8_xl; member
/hal_st-3.4.0/sensor/stmemsc/ism330dlc_STdC/driver/
Dism330dlc_reg.c1937 ism330dlc_ctrl8_xl_t ctrl8_xl; in ism330dlc_xl_lp1_bandwidth_set() local
1951 (uint8_t *)&ctrl8_xl, 1); in ism330dlc_xl_lp1_bandwidth_set()
1955 ctrl8_xl.lpf2_xl_en = 0; in ism330dlc_xl_lp1_bandwidth_set()
1956 ctrl8_xl.hp_slope_xl_en = 0; in ism330dlc_xl_lp1_bandwidth_set()
1958 (uint8_t *)&ctrl8_xl, 1); in ism330dlc_xl_lp1_bandwidth_set()
1979 ism330dlc_ctrl8_xl_t ctrl8_xl; in ism330dlc_xl_lp1_bandwidth_get() local
1982 (uint8_t *)&ctrl8_xl, 1); in ism330dlc_xl_lp1_bandwidth_get()
1986 if ((ctrl8_xl.lpf2_xl_en != 0x00U) || in ism330dlc_xl_lp1_bandwidth_get()
1987 (ctrl8_xl.hp_slope_xl_en != 0x00U)) in ism330dlc_xl_lp1_bandwidth_get()
2028 ism330dlc_ctrl8_xl_t ctrl8_xl; in ism330dlc_xl_lp2_bandwidth_set() local
[all …]
Dism330dlc_reg.h1622 ism330dlc_ctrl8_xl_t ctrl8_xl; member
/hal_st-3.4.0/sensor/stmemsc/lsm6ds3tr-c_STdC/driver/
Dlsm6ds3tr-c_reg.c2074 lsm6ds3tr_c_ctrl8_xl_t ctrl8_xl; in lsm6ds3tr_c_xl_lp1_bandwidth_set() local
2089 (uint8_t *)&ctrl8_xl, 1); in lsm6ds3tr_c_xl_lp1_bandwidth_set()
2093 ctrl8_xl.lpf2_xl_en = 0; in lsm6ds3tr_c_xl_lp1_bandwidth_set()
2094 ctrl8_xl.hp_slope_xl_en = 0; in lsm6ds3tr_c_xl_lp1_bandwidth_set()
2096 (uint8_t *)&ctrl8_xl, 1); in lsm6ds3tr_c_xl_lp1_bandwidth_set()
2117 lsm6ds3tr_c_ctrl8_xl_t ctrl8_xl; in lsm6ds3tr_c_xl_lp1_bandwidth_get() local
2121 (uint8_t *)&ctrl8_xl, 1); in lsm6ds3tr_c_xl_lp1_bandwidth_get()
2125 if ((ctrl8_xl.lpf2_xl_en != 0x00U) || in lsm6ds3tr_c_xl_lp1_bandwidth_get()
2126 (ctrl8_xl.hp_slope_xl_en != 0x00U)) in lsm6ds3tr_c_xl_lp1_bandwidth_get()
2167 lsm6ds3tr_c_ctrl8_xl_t ctrl8_xl; in lsm6ds3tr_c_xl_lp2_bandwidth_set() local
[all …]
Dlsm6ds3tr-c_reg.h1633 lsm6ds3tr_c_ctrl8_xl_t ctrl8_xl; member
/hal_st-3.4.0/sensor/stmemsc/lsm6dsl_STdC/driver/
Dlsm6dsl_reg.c2001 lsm6dsl_ctrl8_xl_t ctrl8_xl; in lsm6dsl_xl_lp1_bandwidth_set() local
2013 ret = lsm6dsl_read_reg(ctx, LSM6DSL_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsl_xl_lp1_bandwidth_set()
2017 ctrl8_xl.lpf2_xl_en = 0; in lsm6dsl_xl_lp1_bandwidth_set()
2018 ctrl8_xl.hp_slope_xl_en = 0; in lsm6dsl_xl_lp1_bandwidth_set()
2019 ret = lsm6dsl_write_reg(ctx, LSM6DSL_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsl_xl_lp1_bandwidth_set()
2040 lsm6dsl_ctrl8_xl_t ctrl8_xl; in lsm6dsl_xl_lp1_bandwidth_get() local
2043 ret = lsm6dsl_read_reg(ctx, LSM6DSL_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsl_xl_lp1_bandwidth_get()
2047 if ((ctrl8_xl.lpf2_xl_en != 0x00U) || in lsm6dsl_xl_lp1_bandwidth_get()
2048 (ctrl8_xl.hp_slope_xl_en != 0x00U)) in lsm6dsl_xl_lp1_bandwidth_get()
2088 lsm6dsl_ctrl8_xl_t ctrl8_xl; in lsm6dsl_xl_lp2_bandwidth_set() local
[all …]
Dlsm6dsl_reg.h1633 lsm6dsl_ctrl8_xl_t ctrl8_xl; member
/hal_st-3.4.0/sensor/stmemsc/asm330lhh_STdC/driver/
Dasm330lhh_reg.c1851 asm330lhh_ctrl8_xl_t ctrl8_xl; in asm330lhh_xl_lp2_on_6d_set() local
1855 (uint8_t *)&ctrl8_xl, 1); in asm330lhh_xl_lp2_on_6d_set()
1859 ctrl8_xl.low_pass_on_6d = (uint8_t)val; in asm330lhh_xl_lp2_on_6d_set()
1861 (uint8_t *)&ctrl8_xl, 1); in asm330lhh_xl_lp2_on_6d_set()
1877 asm330lhh_ctrl8_xl_t ctrl8_xl; in asm330lhh_xl_lp2_on_6d_get() local
1881 (uint8_t *)&ctrl8_xl, 1); in asm330lhh_xl_lp2_on_6d_get()
1882 *val = ctrl8_xl.low_pass_on_6d; in asm330lhh_xl_lp2_on_6d_get()
1899 asm330lhh_ctrl8_xl_t ctrl8_xl; in asm330lhh_xl_hp_path_on_out_set() local
1903 (uint8_t *)&ctrl8_xl, 1); in asm330lhh_xl_hp_path_on_out_set()
1907 ctrl8_xl.hp_slope_xl_en = (((uint8_t)val & 0x10U) >> 4); in asm330lhh_xl_hp_path_on_out_set()
[all …]
Dasm330lhh_reg.h836 asm330lhh_ctrl8_xl_t ctrl8_xl; member
/hal_st-3.4.0/sensor/stmemsc/iis3dwb_STdC/driver/
Diis3dwb_reg.c1334 iis3dwb_ctrl8_xl_t ctrl8_xl; in iis3dwb_xl_filt_path_on_out_set() local
1346 ret = iis3dwb_read_reg(ctx, IIS3DWB_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in iis3dwb_xl_filt_path_on_out_set()
1351 ctrl8_xl.fds = ((uint8_t)val & 0x10U) >> 4; in iis3dwb_xl_filt_path_on_out_set()
1352 ctrl8_xl.hp_ref_mode_xl = ((uint8_t)val & 0x20U) >> 5; in iis3dwb_xl_filt_path_on_out_set()
1353 ctrl8_xl.hpcf_xl = (uint8_t)val & 0x07U; in iis3dwb_xl_filt_path_on_out_set()
1354 ret = iis3dwb_write_reg(ctx, IIS3DWB_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in iis3dwb_xl_filt_path_on_out_set()
1372 iis3dwb_ctrl8_xl_t ctrl8_xl; in iis3dwb_xl_filt_path_on_out_get() local
1379 ret = iis3dwb_read_reg(ctx, IIS3DWB_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in iis3dwb_xl_filt_path_on_out_get()
1382 switch ((ctrl1_xl.lpf2_xl_en << 7) + (ctrl8_xl.hp_ref_mode_xl << 5) + in iis3dwb_xl_filt_path_on_out_get()
1383 (ctrl8_xl.fds << 4) + ctrl8_xl.hpcf_xl) in iis3dwb_xl_filt_path_on_out_get()
[all …]
Diis3dwb_reg.h698 iis3dwb_ctrl8_xl_t ctrl8_xl; member
/hal_st-3.4.0/sensor/stmemsc/asm330lhb_STdC/driver/
Dasm330lhb_reg.c2516 asm330lhb_ctrl8_xl_t ctrl8_xl; in asm330lhb_xl_lp2_on_6d_set() local
2519 ret = asm330lhb_read_reg(ctx, ASM330LHB_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in asm330lhb_xl_lp2_on_6d_set()
2522 ctrl8_xl.low_pass_on_6d = (uint8_t)val; in asm330lhb_xl_lp2_on_6d_set()
2524 (uint8_t *)&ctrl8_xl, 1); in asm330lhb_xl_lp2_on_6d_set()
2539 asm330lhb_ctrl8_xl_t ctrl8_xl; in asm330lhb_xl_lp2_on_6d_get() local
2542 ret = asm330lhb_read_reg(ctx, ASM330LHB_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in asm330lhb_xl_lp2_on_6d_get()
2543 *val = ctrl8_xl.low_pass_on_6d; in asm330lhb_xl_lp2_on_6d_get()
2560 asm330lhb_ctrl8_xl_t ctrl8_xl; in asm330lhb_xl_hp_path_on_out_set() local
2563 ret = asm330lhb_read_reg(ctx, ASM330LHB_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in asm330lhb_xl_hp_path_on_out_set()
2566 ctrl8_xl.hp_slope_xl_en = (((uint8_t)val & 0x10U) >> 4); in asm330lhb_xl_hp_path_on_out_set()
[all …]
Dasm330lhb_reg.h1768 asm330lhb_ctrl8_xl_t ctrl8_xl; member
/hal_st-3.4.0/sensor/stmemsc/lsm6ds3_STdC/driver/
Dlsm6ds3_reg.c2219 lsm6ds3_ctrl8_xl_t ctrl8_xl; in lsm6ds3_xl_hp_bandwidth_set() local
2222 ret = lsm6ds3_read_reg(ctx, LSM6DS3_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6ds3_xl_hp_bandwidth_set()
2226 ctrl8_xl.hp_slope_xl_en = PROPERTY_ENABLE; in lsm6ds3_xl_hp_bandwidth_set()
2227 ctrl8_xl.hpcf_xl = (uint8_t)val; in lsm6ds3_xl_hp_bandwidth_set()
2228 ret = lsm6ds3_write_reg(ctx, LSM6DS3_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6ds3_xl_hp_bandwidth_set()
2246 lsm6ds3_ctrl8_xl_t ctrl8_xl; in lsm6ds3_xl_hp_bandwidth_get() local
2249 ret = lsm6ds3_read_reg(ctx, LSM6DS3_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6ds3_xl_hp_bandwidth_get()
2251 switch (ctrl8_xl.hpcf_xl) in lsm6ds3_xl_hp_bandwidth_get()
2289 lsm6ds3_ctrl8_xl_t ctrl8_xl; in lsm6ds3_xl_lp2_bandwidth_set() local
2292 ret = lsm6ds3_read_reg(ctx, LSM6DS3_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6ds3_xl_lp2_bandwidth_set()
[all …]
Dlsm6ds3_reg.h1525 lsm6ds3_ctrl8_xl_t ctrl8_xl; member
/hal_st-3.4.0/sensor/stmemsc/asm330lhhx_STdC/driver/
Dasm330lhhx_reg.c2510 asm330lhhx_ctrl8_xl_t ctrl8_xl; in asm330lhhx_xl_lp2_on_6d_set() local
2513 ret = asm330lhhx_read_reg(ctx, ASM330LHHX_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in asm330lhhx_xl_lp2_on_6d_set()
2516 ctrl8_xl.low_pass_on_6d = (uint8_t)val; in asm330lhhx_xl_lp2_on_6d_set()
2518 (uint8_t *)&ctrl8_xl, 1); in asm330lhhx_xl_lp2_on_6d_set()
2533 asm330lhhx_ctrl8_xl_t ctrl8_xl; in asm330lhhx_xl_lp2_on_6d_get() local
2536 ret = asm330lhhx_read_reg(ctx, ASM330LHHX_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in asm330lhhx_xl_lp2_on_6d_get()
2537 *val = ctrl8_xl.low_pass_on_6d; in asm330lhhx_xl_lp2_on_6d_get()
2554 asm330lhhx_ctrl8_xl_t ctrl8_xl; in asm330lhhx_xl_hp_path_on_out_set() local
2557 ret = asm330lhhx_read_reg(ctx, ASM330LHHX_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in asm330lhhx_xl_hp_path_on_out_set()
2560 ctrl8_xl.hp_slope_xl_en = (((uint8_t)val & 0x10U) >> 4); in asm330lhhx_xl_hp_path_on_out_set()
[all …]
/hal_st-3.4.0/sensor/stmemsc/iis2iclx_STdC/driver/
Diis2iclx_reg.c1908 iis2iclx_ctrl8_xl_t ctrl8_xl; in iis2iclx_xl_hp_path_on_out_set() local
1911 ret = iis2iclx_read_reg(ctx, IIS2ICLX_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in iis2iclx_xl_hp_path_on_out_set()
1915 ctrl8_xl.hp_slope_xl_en = (((uint8_t)val & 0x10U) >> 4); in iis2iclx_xl_hp_path_on_out_set()
1916 ctrl8_xl.hp_ref_mode_xl = (((uint8_t)val & 0x20U) >> 5); in iis2iclx_xl_hp_path_on_out_set()
1917 ctrl8_xl.hpcf_xl = (uint8_t)val & 0x07U; in iis2iclx_xl_hp_path_on_out_set()
1919 (uint8_t *)&ctrl8_xl, 1); in iis2iclx_xl_hp_path_on_out_set()
1937 iis2iclx_ctrl8_xl_t ctrl8_xl; in iis2iclx_xl_hp_path_on_out_get() local
1940 ret = iis2iclx_read_reg(ctx, IIS2ICLX_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in iis2iclx_xl_hp_path_on_out_get()
1942 switch (((ctrl8_xl.hp_ref_mode_xl << 5) + (ctrl8_xl.hp_slope_xl_en << in iis2iclx_xl_hp_path_on_out_get()
1944 ctrl8_xl.hpcf_xl)) in iis2iclx_xl_hp_path_on_out_get()
[all …]
Diis2iclx_reg.h2360 iis2iclx_ctrl8_xl_t ctrl8_xl; member
/hal_st-3.4.0/sensor/stmemsc/lsm6dsr_STdC/driver/
Dlsm6dsr_reg.c2583 lsm6dsr_ctrl8_xl_t ctrl8_xl; in lsm6dsr_xl_lp2_on_6d_set() local
2586 ret = lsm6dsr_read_reg(ctx, LSM6DSR_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsr_xl_lp2_on_6d_set()
2590 ctrl8_xl.low_pass_on_6d = (uint8_t)val; in lsm6dsr_xl_lp2_on_6d_set()
2592 (uint8_t *)&ctrl8_xl, 1); in lsm6dsr_xl_lp2_on_6d_set()
2608 lsm6dsr_ctrl8_xl_t ctrl8_xl; in lsm6dsr_xl_lp2_on_6d_get() local
2611 ret = lsm6dsr_read_reg(ctx, LSM6DSR_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsr_xl_lp2_on_6d_get()
2612 *val = ctrl8_xl.low_pass_on_6d; in lsm6dsr_xl_lp2_on_6d_get()
2629 lsm6dsr_ctrl8_xl_t ctrl8_xl; in lsm6dsr_xl_hp_path_on_out_set() local
2632 ret = lsm6dsr_read_reg(ctx, LSM6DSR_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsr_xl_hp_path_on_out_set()
2636 ctrl8_xl.hp_slope_xl_en = (((uint8_t)val & 0x10U) >> 4); in lsm6dsr_xl_hp_path_on_out_set()
[all …]
/hal_st-3.4.0/sensor/stmemsc/ism330dhcx_STdC/driver/
Dism330dhcx_reg.c2880 ism330dhcx_ctrl8_xl_t ctrl8_xl; in ism330dhcx_xl_lp2_on_6d_set() local
2883 (uint8_t *)&ctrl8_xl, 1); in ism330dhcx_xl_lp2_on_6d_set()
2887 ctrl8_xl.low_pass_on_6d = (uint8_t)val; in ism330dhcx_xl_lp2_on_6d_set()
2889 (uint8_t *)&ctrl8_xl, 1); in ism330dhcx_xl_lp2_on_6d_set()
2905 ism330dhcx_ctrl8_xl_t ctrl8_xl; in ism330dhcx_xl_lp2_on_6d_get() local
2908 (uint8_t *)&ctrl8_xl, 1); in ism330dhcx_xl_lp2_on_6d_get()
2909 *val = ctrl8_xl.low_pass_on_6d; in ism330dhcx_xl_lp2_on_6d_get()
2926 ism330dhcx_ctrl8_xl_t ctrl8_xl; in ism330dhcx_xl_hp_path_on_out_set() local
2929 (uint8_t *)&ctrl8_xl, 1); in ism330dhcx_xl_hp_path_on_out_set()
2933 ctrl8_xl.hp_slope_xl_en = (((uint8_t)val & 0x10U) >> 4); in ism330dhcx_xl_hp_path_on_out_set()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lsm6dsrx_STdC/driver/
Dlsm6dsrx_reg.c2804 lsm6dsrx_ctrl8_xl_t ctrl8_xl; in lsm6dsrx_xl_lp2_on_6d_set() local
2807 ret = lsm6dsrx_read_reg(ctx, LSM6DSRX_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsrx_xl_lp2_on_6d_set()
2811 ctrl8_xl.low_pass_on_6d = (uint8_t)val; in lsm6dsrx_xl_lp2_on_6d_set()
2813 (uint8_t *)&ctrl8_xl, 1); in lsm6dsrx_xl_lp2_on_6d_set()
2829 lsm6dsrx_ctrl8_xl_t ctrl8_xl; in lsm6dsrx_xl_lp2_on_6d_get() local
2832 ret = lsm6dsrx_read_reg(ctx, LSM6DSRX_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsrx_xl_lp2_on_6d_get()
2833 *val = ctrl8_xl.low_pass_on_6d; in lsm6dsrx_xl_lp2_on_6d_get()
2850 lsm6dsrx_ctrl8_xl_t ctrl8_xl; in lsm6dsrx_xl_hp_path_on_out_set() local
2853 ret = lsm6dsrx_read_reg(ctx, LSM6DSRX_CTRL8_XL, (uint8_t *)&ctrl8_xl, 1); in lsm6dsrx_xl_hp_path_on_out_set()
2857 ctrl8_xl.hp_slope_xl_en = (((uint8_t)val & 0x10U) >> 4); in lsm6dsrx_xl_hp_path_on_out_set()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lsm6dso_STdC/driver/
Dlsm6dso_reg.c11803 lsm6dso_ctrl8_xl_t ctrl8_xl; in lsm6dso_mode_set() local
11855 bytecpy((uint8_t *)&ctrl8_xl, &reg[7]); in lsm6dso_mode_set()
12155 ctrl8_xl.xl_fs_mode = PROPERTY_DISABLE; in lsm6dso_mode_set()
12160 ctrl8_xl.xl_fs_mode = PROPERTY_ENABLE; in lsm6dso_mode_set()
12211 bytecpy(&reg[7], (uint8_t *)&ctrl8_xl); in lsm6dso_mode_set()
/hal_st-3.4.0/sensor/stmemsc/lsm6dsox_STdC/driver/
Dlsm6dsox_reg.c12871 lsm6dsox_ctrl8_xl_t ctrl8_xl; in lsm6dsox_mode_set() local
12923 bytecpy((uint8_t *)&ctrl8_xl, &reg[7]); in lsm6dsox_mode_set()
13291 ctrl8_xl.xl_fs_mode = PROPERTY_DISABLE; in lsm6dsox_mode_set()
13296 ctrl8_xl.xl_fs_mode = PROPERTY_ENABLE; in lsm6dsox_mode_set()
13356 bytecpy(&reg[7], (uint8_t *)&ctrl8_xl); in lsm6dsox_mode_set()
/hal_st-3.4.0/sensor/stmemsc/lsm6dso32x_STdC/driver/
Dlsm6dso32x_reg.c11250 lsm6dso32x_ctrl8_xl_t ctrl8_xl; in lsm6dso32x_mode_set() local
11287 bytecpy((uint8_t *)&ctrl8_xl, &reg[7]); in lsm6dso32x_mode_set()
11633 bytecpy(&reg[7], (uint8_t *)&ctrl8_xl); in lsm6dso32x_mode_set()

12