/hal_st-3.4.0/sensor/stmemsc/lsm6dsox_STdC/driver/ |
D | lsm6dsox_reg.c | 12891 xl_hm_mode = ((uint8_t)val->ui.xl.odr & 0x10U) >> 4; in lsm6dsox_mode_set() 12892 xl_ulp_en = ((uint8_t)val->ui.xl.odr & 0x20U) >> 5; in lsm6dsox_mode_set() 12893 odr_xl = (uint8_t)val->ui.xl.odr & 0x0FU; in lsm6dsox_mode_set() 12898 val->ois.xl.odr = LSM6DSOX_XL_OIS_OFF; in lsm6dsox_mode_set() 12899 val->ois.gy.odr = LSM6DSOX_GY_OIS_OFF; in lsm6dsox_mode_set() 12900 val->ui.gy.odr = LSM6DSOX_GY_UI_OFF; in lsm6dsox_mode_set() 12904 if (val->ois.xl.odr == LSM6DSOX_XL_OIS_6667Hz_HP) in lsm6dsox_mode_set() 12906 val->ois.gy.odr = LSM6DSOX_GY_OIS_6667Hz_HP; in lsm6dsox_mode_set() 12909 g_hm_mode = ((uint8_t)val->ui.gy.odr & 0x10U) >> 4; in lsm6dsox_mode_set() 12910 odr_gy = (uint8_t)val->ui.gy.odr & 0x0FU; in lsm6dsox_mode_set() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dso_STdC/driver/ |
D | lsm6dso_reg.c | 11823 xl_hm_mode = ((uint8_t)val->ui.xl.odr & 0x10U) >> 4; in lsm6dso_mode_set() 11824 xl_ulp_en = ((uint8_t)val->ui.xl.odr & 0x20U) >> 5; in lsm6dso_mode_set() 11825 odr_xl = (uint8_t)val->ui.xl.odr & 0x0FU; in lsm6dso_mode_set() 11830 val->ois.xl.odr = LSM6DSO_XL_OIS_OFF; in lsm6dso_mode_set() 11831 val->ois.gy.odr = LSM6DSO_GY_OIS_OFF; in lsm6dso_mode_set() 11832 val->ui.gy.odr = LSM6DSO_GY_UI_OFF; in lsm6dso_mode_set() 11836 if (val->ois.xl.odr == LSM6DSO_XL_OIS_6667Hz_HP) in lsm6dso_mode_set() 11838 val->ois.gy.odr = LSM6DSO_GY_OIS_6667Hz_HP; in lsm6dso_mode_set() 11841 g_hm_mode = ((uint8_t)val->ui.gy.odr & 0x10U) >> 4; in lsm6dso_mode_set() 11842 odr_gy = (uint8_t)val->ui.gy.odr & 0x0FU; in lsm6dso_mode_set() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/ilps28qsw_STdC/driver/ |
D | ilps28qsw_reg.c | 418 if (ctrl_reg1.odr != 0x0U) in ilps28qsw_mode_set() 421 odr_save = ctrl_reg1.odr; in ilps28qsw_mode_set() 422 ctrl_reg1.odr = 0x0U; in ilps28qsw_mode_set() 452 ctrl_reg1.odr = odr_save; in ilps28qsw_mode_set() 455 ctrl_reg1.odr = (uint8_t)val->odr; in ilps28qsw_mode_set() 507 switch (ctrl_reg1.odr) in ilps28qsw_mode_get() 510 val->odr = ILPS28QSW_ONE_SHOT; in ilps28qsw_mode_get() 513 val->odr = ILPS28QSW_1Hz; in ilps28qsw_mode_get() 516 val->odr = ILPS28QSW_4Hz; in ilps28qsw_mode_get() 519 val->odr = ILPS28QSW_10Hz; in ilps28qsw_mode_get() [all …]
|
D | ilps28qsw_reg.h | 244 uint8_t odr : 4; member 248 uint8_t odr : 4; 559 } odr; member
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dso32x_STdC/driver/ |
D | lsm6dso32x_reg.c | 11270 xl_hm_mode = ((uint8_t)val->ui.xl.odr & 0x10U) >> 4; in lsm6dso32x_mode_set() 11271 xl_ulp_en = ((uint8_t)val->ui.xl.odr & 0x20U) >> 5; in lsm6dso32x_mode_set() 11272 odr_xl = (uint8_t)val->ui.xl.odr & 0x0FU; in lsm6dso32x_mode_set() 11273 g_hm_mode = ((uint8_t)val->ui.gy.odr & 0x10U) >> 4; in lsm6dso32x_mode_set() 11274 odr_gy = (uint8_t)val->ui.gy.odr & 0x0FU; in lsm6dso32x_mode_set() 11307 switch (val->fsm.odr) in lsm6dso32x_mode_set() 11375 switch (val->mlc.odr) in lsm6dso32x_mode_set() 11445 val->ui.xl.odr = LSM6DSO32X_XL_UI_OFF; in lsm6dso32x_mode_set() 11449 val->ui.xl.odr = LSM6DSO32X_XL_UI_12Hz5_HP; in lsm6dso32x_mode_set() 11453 val->ui.xl.odr = LSM6DSO32X_XL_UI_26Hz_HP; in lsm6dso32x_mode_set() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/ilps22qs_STdC/driver/ |
D | ilps22qs_reg.c | 449 if (ctrl_reg1.odr != 0x0U) in ilps22qs_mode_set() 452 odr_save = ctrl_reg1.odr; in ilps22qs_mode_set() 453 ctrl_reg1.odr = 0x0U; in ilps22qs_mode_set() 483 ctrl_reg1.odr = odr_save; in ilps22qs_mode_set() 486 ctrl_reg1.odr = (uint8_t)val->odr; in ilps22qs_mode_set() 538 switch (ctrl_reg1.odr) in ilps22qs_mode_get() 541 val->odr = ILPS22QS_ONE_SHOT; in ilps22qs_mode_get() 544 val->odr = ILPS22QS_1Hz; in ilps22qs_mode_get() 547 val->odr = ILPS22QS_4Hz; in ilps22qs_mode_get() 550 val->odr = ILPS22QS_10Hz; in ilps22qs_mode_get() [all …]
|
D | ilps22qs_reg.h | 252 uint8_t odr : 4; member 256 uint8_t odr : 4; 573 } odr; member
|
/hal_st-3.4.0/sensor/stmemsc/lis3dsh_STdC/driver/ |
D | lis3dsh_reg.c | 630 ctrl_reg4.odr = (uint8_t)val->odr; in lis3dsh_mode_set() 667 switch (ctrl_reg4.odr) in lis3dsh_mode_get() 670 val->odr = LIS3DSH_OFF; in lis3dsh_mode_get() 674 val->odr = LIS3DSH_3Hz125; in lis3dsh_mode_get() 678 val->odr = LIS3DSH_6Hz25; in lis3dsh_mode_get() 682 val->odr = LIS3DSH_12Hz5; in lis3dsh_mode_get() 686 val->odr = LIS3DSH_25Hz; in lis3dsh_mode_get() 690 val->odr = LIS3DSH_50Hz; in lis3dsh_mode_get() 694 val->odr = LIS3DSH_100Hz; in lis3dsh_mode_get() 698 val->odr = LIS3DSH_400Hz; in lis3dsh_mode_get() [all …]
|
D | lis3dsh_reg.h | 245 uint8_t odr : 4; member 247 uint8_t odr : 4; 859 } odr; member
|
/hal_st-3.4.0/sensor/stmemsc/lis2du12_STdC/driver/ |
D | lis2du12_reg.c | 468 ctrl5.odr = (uint8_t)val->odr; in lis2du12_mode_set() 492 switch (ctrl5.odr) { in lis2du12_mode_get() 494 val->odr = LIS2DU12_OFF; in lis2du12_mode_get() 497 val->odr = LIS2DU12_1Hz5_ULP; in lis2du12_mode_get() 500 val->odr = LIS2DU12_3Hz_ULP; in lis2du12_mode_get() 503 val->odr = LIS2DU12_6Hz_ULP; in lis2du12_mode_get() 506 val->odr = LIS2DU12_6Hz; in lis2du12_mode_get() 509 val->odr = LIS2DU12_12Hz5; in lis2du12_mode_get() 512 val->odr = LIS2DU12_25Hz; in lis2du12_mode_get() 515 val->odr = LIS2DU12_50Hz; in lis2du12_mode_get() [all …]
|
D | lis2du12_reg.h | 298 uint8_t odr : 4; member 300 uint8_t odr : 4; 794 } odr; member 928 } odr; member
|
/hal_st-3.4.0/sensor/stmemsc/ais25ba_STdC/driver/ |
D | ais25ba_reg.c | 266 ctrl_reg.pd = (uint8_t)val->xl.odr & 0x01U; in ais25ba_mode_set() 267 tdm_ctrl_reg.wclk_fq = ((uint8_t)val->xl.odr & 0x06U) >> 1; in ais25ba_mode_set() 268 axes_ctrl_reg.odr_auto_en = ((uint8_t)val->xl.odr & 0x10U) >> 4; in ais25ba_mode_set() 319 val->xl.odr = AIS25BA_XL_OFF; in ais25ba_mode_get() 323 val->xl.odr = AIS25BA_XL_8kHz; in ais25ba_mode_get() 327 val->xl.odr = AIS25BA_XL_16kHz; in ais25ba_mode_get() 331 val->xl.odr = AIS25BA_XL_24kHz; in ais25ba_mode_get() 335 val->xl.odr = AIS25BA_XL_HW_SEL; in ais25ba_mode_get() 339 val->xl.odr = AIS25BA_XL_OFF; in ais25ba_mode_get()
|
/hal_st-3.4.0/sensor/stmemsc/lis25ba_STdC/driver/ |
D | lis25ba_reg.c | 266 ctrl_reg.pd = (uint8_t)val->xl.odr & 0x01U; in lis25ba_mode_set() 267 tdm_ctrl_reg.wclk_fq = ((uint8_t)val->xl.odr & 0x06U) >> 1; in lis25ba_mode_set() 268 axes_ctrl_reg.odr_auto_en = ((uint8_t)val->xl.odr & 0x10U) >> 4; in lis25ba_mode_set() 326 val->xl.odr = LIS25BA_XL_OFF; in lis25ba_mode_get() 330 val->xl.odr = LIS25BA_XL_8kHz; in lis25ba_mode_get() 334 val->xl.odr = LIS25BA_XL_16kHz; in lis25ba_mode_get() 338 val->xl.odr = LIS25BA_XL_24kHz; in lis25ba_mode_get() 342 val->xl.odr = LIS25BA_XL_HW_SEL; in lis25ba_mode_get() 346 val->xl.odr = LIS25BA_XL_OFF; in lis25ba_mode_get()
|
/hal_st-3.4.0/sensor/stmemsc/lps28dfw_STdC/driver/ |
D | lps28dfw_reg.c | 475 ctrl_reg1.odr = (uint8_t)val->odr; in lps28dfw_mode_set() 524 switch (ctrl_reg1.odr) in lps28dfw_mode_get() 527 val->odr = LPS28DFW_ONE_SHOT; in lps28dfw_mode_get() 530 val->odr = LPS28DFW_1Hz; in lps28dfw_mode_get() 533 val->odr = LPS28DFW_4Hz; in lps28dfw_mode_get() 536 val->odr = LPS28DFW_10Hz; in lps28dfw_mode_get() 539 val->odr = LPS28DFW_25Hz; in lps28dfw_mode_get() 542 val->odr = LPS28DFW_50Hz; in lps28dfw_mode_get() 545 val->odr = LPS28DFW_75Hz; in lps28dfw_mode_get() 548 val->odr = LPS28DFW_100Hz; in lps28dfw_mode_get() [all …]
|
D | lps28dfw_reg.h | 251 uint8_t odr : 4; member 255 uint8_t odr : 4; 603 } odr; member
|
/hal_st-3.4.0/sensor/stmemsc/lps22df_STdC/driver/ |
D | lps22df_reg.c | 483 ctrl_reg1.odr = (uint8_t)val->odr; in lps22df_mode_set() 518 switch (ctrl_reg1.odr) in lps22df_mode_get() 521 val->odr = LPS22DF_ONE_SHOT; in lps22df_mode_get() 524 val->odr = LPS22DF_1Hz; in lps22df_mode_get() 527 val->odr = LPS22DF_4Hz; in lps22df_mode_get() 530 val->odr = LPS22DF_10Hz; in lps22df_mode_get() 533 val->odr = LPS22DF_25Hz; in lps22df_mode_get() 536 val->odr = LPS22DF_50Hz; in lps22df_mode_get() 539 val->odr = LPS22DF_75Hz; in lps22df_mode_get() 542 val->odr = LPS22DF_100Hz; in lps22df_mode_get() [all …]
|
D | lps22df_reg.h | 255 uint8_t odr : 4; member 259 uint8_t odr : 4; 603 } odr; member
|
/hal_st-3.4.0/sensor/stmemsc/lis2dux12_STdC/driver/ |
D | lis2dux12_reg.c | 317 ctrl5.odr = (uint8_t)val->odr & 0xFU; in lis2dux12_mode_set() 323 ctrl3.hp_en = (((uint8_t)val->odr & 0x10U) != 0U) ? 1U : 0U; in lis2dux12_mode_set() 350 switch (ctrl5.odr) { in lis2dux12_mode_get() 352 val->odr = LIS2DUX12_OFF; in lis2dux12_mode_get() 355 val->odr = LIS2DUX12_1Hz5_ULP; in lis2dux12_mode_get() 358 val->odr = LIS2DUX12_3Hz_ULP; in lis2dux12_mode_get() 361 val->odr = LIS2DUX12_25Hz_ULP; in lis2dux12_mode_get() 364 val->odr = LIS2DUX12_6Hz; in lis2dux12_mode_get() 367 val->odr = (ctrl3.hp_en == 0x1U) ? LIS2DUX12_12Hz5_HP : LIS2DUX12_12Hz5; in lis2dux12_mode_get() 370 val->odr = (ctrl3.hp_en == 0x1U) ? LIS2DUX12_25Hz_HP : LIS2DUX12_25Hz; in lis2dux12_mode_get() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lis2duxs12_STdC/driver/ |
D | lis2duxs12_reg.c | 317 ctrl5.odr = (uint8_t)val->odr & 0xFU; in lis2duxs12_mode_set() 323 ctrl3.hp_en = (((uint8_t)val->odr & 0x10U) != 0U) ? 1U : 0U; in lis2duxs12_mode_set() 350 switch (ctrl5.odr) { in lis2duxs12_mode_get() 352 val->odr = LIS2DUXS12_OFF; in lis2duxs12_mode_get() 355 val->odr = LIS2DUXS12_1Hz5_ULP; in lis2duxs12_mode_get() 358 val->odr = LIS2DUXS12_3Hz_ULP; in lis2duxs12_mode_get() 361 val->odr = LIS2DUXS12_25Hz_ULP; in lis2duxs12_mode_get() 364 val->odr = LIS2DUXS12_6Hz; in lis2duxs12_mode_get() 367 val->odr = (ctrl3.hp_en == 0x1U) ? LIS2DUXS12_12Hz5_HP : LIS2DUXS12_12Hz5; in lis2duxs12_mode_get() 370 val->odr = (ctrl3.hp_en == 0x1U) ? LIS2DUXS12_25Hz_HP : LIS2DUXS12_25Hz; in lis2duxs12_mode_get() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lps33k_STdC/driver/ |
D | lps33k_reg.h | 191 uint8_t odr : 3; member 195 uint8_t odr : 3;
|
/hal_st-3.4.0/sensor/stmemsc/ism303dac_STdC/driver/ |
D | ism303dac_reg.h | 193 uint8_t odr : 4; member 195 uint8_t odr : 4; 570 uint8_t odr : 2; member 580 uint8_t odr : 2;
|
/hal_st-3.4.0/sensor/stmemsc/hts221_STdC/driver/ |
D | hts221_reg.h | 201 uint8_t odr : 2; member 209 uint8_t odr : 2;
|
/hal_st-3.4.0/sensor/stmemsc/lsm303agr_STdC/driver/ |
D | lsm303agr_reg.h | 227 uint8_t odr : 4; member 229 uint8_t odr : 4; 662 uint8_t odr : 2; member 672 uint8_t odr : 2;
|
/hal_st-3.4.0/sensor/stmemsc/iis2mdc_STdC/driver/ |
D | iis2mdc_reg.h | 194 uint8_t odr : 2; member 204 uint8_t odr : 2;
|
/hal_st-3.4.0/sensor/stmemsc/lsm303ah_STdC/driver/ |
D | lsm303ah_reg.h | 193 uint8_t odr : 4; member 195 uint8_t odr : 4; 661 uint8_t odr : 2; member 671 uint8_t odr : 2;
|