/hal_st-3.6.0/sensor/stmemsc/ilps28qsw_STdC/driver/ |
D | ilps28qsw_reg.c | 409 ilps28qsw_fifo_ctrl_t fifo_ctrl; in ilps28qsw_mode_set() local 444 ret += ilps28qsw_read_reg(ctx, ILPS28QSW_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in ilps28qsw_mode_set() 445 fifo_ctrl.ah_qvar_p_fifo_en = val->interleaved_mode; in ilps28qsw_mode_set() 446 ret += ilps28qsw_write_reg(ctx, ILPS28QSW_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in ilps28qsw_mode_set() 792 ilps28qsw_fifo_ctrl_t fifo_ctrl; in ilps28qsw_fifo_mode_set() local 800 bytecpy((uint8_t *)&fifo_ctrl, ®[0]); in ilps28qsw_fifo_mode_set() 803 fifo_ctrl.f_mode = (uint8_t)val->operation & 0x03U; in ilps28qsw_fifo_mode_set() 804 fifo_ctrl.trig_modes = ((uint8_t)val->operation & 0x04U) >> 2; in ilps28qsw_fifo_mode_set() 808 fifo_ctrl.stop_on_wtm = PROPERTY_ENABLE; in ilps28qsw_fifo_mode_set() 812 fifo_ctrl.stop_on_wtm = PROPERTY_DISABLE; in ilps28qsw_fifo_mode_set() [all …]
|
D | ilps28qsw_reg.h | 445 ilps28qsw_fifo_ctrl_t fifo_ctrl; member
|
/hal_st-3.6.0/sensor/stmemsc/ilps22qs_STdC/driver/ |
D | ilps22qs_reg.c | 440 ilps22qs_fifo_ctrl_t fifo_ctrl; in ilps22qs_mode_set() local 475 ret += ilps22qs_read_reg(ctx, ILPS22QS_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in ilps22qs_mode_set() 476 fifo_ctrl.ah_qvar_p_fifo_en = val->interleaved_mode; in ilps22qs_mode_set() 477 ret += ilps22qs_write_reg(ctx, ILPS22QS_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in ilps22qs_mode_set() 819 ilps22qs_fifo_ctrl_t fifo_ctrl; in ilps22qs_fifo_mode_set() local 827 bytecpy((uint8_t *)&fifo_ctrl, ®[0]); in ilps22qs_fifo_mode_set() 830 fifo_ctrl.f_mode = (uint8_t)val->operation & 0x03U; in ilps22qs_fifo_mode_set() 831 fifo_ctrl.trig_modes = ((uint8_t)val->operation & 0x04U) >> 2; in ilps22qs_fifo_mode_set() 835 fifo_ctrl.stop_on_wtm = PROPERTY_ENABLE; in ilps22qs_fifo_mode_set() 839 fifo_ctrl.stop_on_wtm = PROPERTY_DISABLE; in ilps22qs_fifo_mode_set() [all …]
|
D | ilps22qs_reg.h | 453 ilps22qs_fifo_ctrl_t fifo_ctrl; member
|
/hal_st-3.6.0/sensor/stmemsc/lis3dhh_STdC/driver/ |
D | lis3dhh_reg.c | 1306 lis3dhh_fifo_ctrl_t fifo_ctrl; in lis3dhh_fifo_watermark_set() local 1309 ret = lis3dhh_read_reg(ctx, LIS3DHH_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis3dhh_fifo_watermark_set() 1313 fifo_ctrl.fth = val; in lis3dhh_fifo_watermark_set() 1314 ret = lis3dhh_write_reg(ctx, LIS3DHH_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis3dhh_fifo_watermark_set() 1330 lis3dhh_fifo_ctrl_t fifo_ctrl; in lis3dhh_fifo_watermark_get() local 1333 ret = lis3dhh_read_reg(ctx, LIS3DHH_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis3dhh_fifo_watermark_get() 1334 *val = fifo_ctrl.fth; in lis3dhh_fifo_watermark_get() 1349 lis3dhh_fifo_ctrl_t fifo_ctrl; in lis3dhh_fifo_mode_set() local 1352 ret = lis3dhh_read_reg(ctx, LIS3DHH_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis3dhh_fifo_mode_set() 1356 fifo_ctrl.fmode = (uint8_t)val; in lis3dhh_fifo_mode_set() [all …]
|
D | lis3dhh_reg.h | 352 lis3dhh_fifo_ctrl_t fifo_ctrl; member
|
/hal_st-3.6.0/sensor/stmemsc/iis3dhhc_STdC/driver/ |
D | iis3dhhc_reg.c | 1420 iis3dhhc_fifo_ctrl_t fifo_ctrl; in iis3dhhc_fifo_watermark_set() local 1424 (uint8_t *)&fifo_ctrl, 1); in iis3dhhc_fifo_watermark_set() 1428 fifo_ctrl.fth = val; in iis3dhhc_fifo_watermark_set() 1430 (uint8_t *)&fifo_ctrl, 1); in iis3dhhc_fifo_watermark_set() 1446 iis3dhhc_fifo_ctrl_t fifo_ctrl; in iis3dhhc_fifo_watermark_get() local 1450 (uint8_t *)&fifo_ctrl, 1); in iis3dhhc_fifo_watermark_get() 1451 *val = fifo_ctrl.fth; in iis3dhhc_fifo_watermark_get() 1467 iis3dhhc_fifo_ctrl_t fifo_ctrl; in iis3dhhc_fifo_mode_set() local 1471 (uint8_t *)&fifo_ctrl, 1); in iis3dhhc_fifo_mode_set() 1475 fifo_ctrl.fmode = (uint8_t)val; in iis3dhhc_fifo_mode_set() [all …]
|
D | iis3dhhc_reg.h | 364 iis3dhhc_fifo_ctrl_t fifo_ctrl; member
|
/hal_st-3.6.0/sensor/stmemsc/lps33w_STdC/driver/ |
D | lps33w_reg.c | 1717 lps33w_fifo_ctrl_t fifo_ctrl; in lps33w_fifo_watermark_set() local 1720 ret = lps33w_read_reg(ctx, LPS33W_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps33w_fifo_watermark_set() 1724 fifo_ctrl.wtm = val; in lps33w_fifo_watermark_set() 1725 ret = lps33w_write_reg(ctx, LPS33W_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps33w_fifo_watermark_set() 1741 lps33w_fifo_ctrl_t fifo_ctrl; in lps33w_fifo_watermark_get() local 1744 ret = lps33w_read_reg(ctx, LPS33W_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps33w_fifo_watermark_get() 1745 *val = fifo_ctrl.wtm; in lps33w_fifo_watermark_get() 1760 lps33w_fifo_ctrl_t fifo_ctrl; in lps33w_fifo_mode_set() local 1763 ret = lps33w_read_reg(ctx, LPS33W_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps33w_fifo_mode_set() 1767 fifo_ctrl.f_mode = (uint8_t)val; in lps33w_fifo_mode_set() [all …]
|
D | lps33w_reg.h | 382 lps33w_fifo_ctrl_t fifo_ctrl; member
|
/hal_st-3.6.0/sensor/stmemsc/lps33hw_STdC/driver/ |
D | lps33hw_reg.c | 1724 lps33hw_fifo_ctrl_t fifo_ctrl; in lps33hw_fifo_watermark_set() local 1727 ret = lps33hw_read_reg(ctx, LPS33HW_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps33hw_fifo_watermark_set() 1731 fifo_ctrl.wtm = val; in lps33hw_fifo_watermark_set() 1732 ret = lps33hw_write_reg(ctx, LPS33HW_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps33hw_fifo_watermark_set() 1748 lps33hw_fifo_ctrl_t fifo_ctrl; in lps33hw_fifo_watermark_get() local 1751 ret = lps33hw_read_reg(ctx, LPS33HW_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps33hw_fifo_watermark_get() 1752 *val = fifo_ctrl.wtm; in lps33hw_fifo_watermark_get() 1767 lps33hw_fifo_ctrl_t fifo_ctrl; in lps33hw_fifo_mode_set() local 1770 ret = lps33hw_read_reg(ctx, LPS33HW_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps33hw_fifo_mode_set() 1774 fifo_ctrl.f_mode = (uint8_t)val; in lps33hw_fifo_mode_set() [all …]
|
/hal_st-3.6.0/sensor/stmemsc/lps22hb_STdC/driver/ |
D | lps22hb_reg.c | 1724 lps22hb_fifo_ctrl_t fifo_ctrl; in lps22hb_fifo_watermark_set() local 1727 ret = lps22hb_read_reg(ctx, LPS22HB_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps22hb_fifo_watermark_set() 1731 fifo_ctrl.wtm = val; in lps22hb_fifo_watermark_set() 1732 ret = lps22hb_write_reg(ctx, LPS22HB_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps22hb_fifo_watermark_set() 1748 lps22hb_fifo_ctrl_t fifo_ctrl; in lps22hb_fifo_watermark_get() local 1751 ret = lps22hb_read_reg(ctx, LPS22HB_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps22hb_fifo_watermark_get() 1752 *val = fifo_ctrl.wtm; in lps22hb_fifo_watermark_get() 1767 lps22hb_fifo_ctrl_t fifo_ctrl; in lps22hb_fifo_mode_set() local 1770 ret = lps22hb_read_reg(ctx, LPS22HB_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lps22hb_fifo_mode_set() 1774 fifo_ctrl.f_mode = (uint8_t)val; in lps22hb_fifo_mode_set() [all …]
|
/hal_st-3.6.0/sensor/stmemsc/lis2ds12_STdC/driver/ |
D | lis2ds12_reg.c | 1096 lis2ds12_fifo_ctrl_t fifo_ctrl; in lis2ds12_cs_mode_set() local 1100 (uint8_t *)&fifo_ctrl, 1); in lis2ds12_cs_mode_set() 1104 fifo_ctrl.if_cs_pu_dis = (uint8_t)val; in lis2ds12_cs_mode_set() 1106 (uint8_t *)&fifo_ctrl, 1); in lis2ds12_cs_mode_set() 1123 lis2ds12_fifo_ctrl_t fifo_ctrl; in lis2ds12_cs_mode_get() local 1127 (uint8_t *)&fifo_ctrl, 1); in lis2ds12_cs_mode_get() 1129 switch (fifo_ctrl.if_cs_pu_dis) in lis2ds12_cs_mode_get() 2522 lis2ds12_fifo_ctrl_t fifo_ctrl; in lis2ds12_fifo_xl_module_batch_set() local 2526 (uint8_t *)&fifo_ctrl, 1); in lis2ds12_fifo_xl_module_batch_set() 2530 fifo_ctrl.module_to_fifo = val; in lis2ds12_fifo_xl_module_batch_set() [all …]
|
/hal_st-3.6.0/sensor/stmemsc/lps28dfw_STdC/driver/ |
D | lps28dfw_reg.c | 700 lps28dfw_fifo_ctrl_t fifo_ctrl; in lps28dfw_fifo_mode_set() local 708 bytecpy((uint8_t *)&fifo_ctrl, ®[0]); in lps28dfw_fifo_mode_set() 711 fifo_ctrl.f_mode = (uint8_t)val->operation & 0x03U; in lps28dfw_fifo_mode_set() 712 fifo_ctrl.trig_modes = ((uint8_t)val->operation & 0x04U) >> 2; in lps28dfw_fifo_mode_set() 716 fifo_ctrl.stop_on_wtm = PROPERTY_ENABLE; in lps28dfw_fifo_mode_set() 720 fifo_ctrl.stop_on_wtm = PROPERTY_DISABLE; in lps28dfw_fifo_mode_set() 725 bytecpy(®[0], (uint8_t *)&fifo_ctrl); in lps28dfw_fifo_mode_set() 743 lps28dfw_fifo_ctrl_t fifo_ctrl; in lps28dfw_fifo_mode_get() local 750 bytecpy((uint8_t *)&fifo_ctrl, ®[0]); in lps28dfw_fifo_mode_get() 753 switch ((fifo_ctrl.trig_modes << 2) | fifo_ctrl.f_mode) in lps28dfw_fifo_mode_get()
|
D | lps28dfw_reg.h | 476 lps28dfw_fifo_ctrl_t fifo_ctrl; member
|
/hal_st-3.6.0/sensor/stmemsc/lps22df_STdC/driver/ |
D | lps22df_reg.c | 682 lps22df_fifo_ctrl_t fifo_ctrl; in lps22df_fifo_mode_set() local 690 bytecpy((uint8_t *)&fifo_ctrl, ®[0]); in lps22df_fifo_mode_set() 693 fifo_ctrl.f_mode = (uint8_t)val->operation & 0x03U; in lps22df_fifo_mode_set() 694 fifo_ctrl.trig_modes = ((uint8_t)val->operation & 0x04U) >> 2; in lps22df_fifo_mode_set() 698 fifo_ctrl.stop_on_wtm = PROPERTY_ENABLE; in lps22df_fifo_mode_set() 702 fifo_ctrl.stop_on_wtm = PROPERTY_DISABLE; in lps22df_fifo_mode_set() 707 bytecpy(®[0], (uint8_t *)&fifo_ctrl); in lps22df_fifo_mode_set() 725 lps22df_fifo_ctrl_t fifo_ctrl; in lps22df_fifo_mode_get() local 732 bytecpy((uint8_t *)&fifo_ctrl, ®[0]); in lps22df_fifo_mode_get() 735 switch ((fifo_ctrl.trig_modes << 2) | fifo_ctrl.f_mode) in lps22df_fifo_mode_get()
|
D | lps22df_reg.h | 480 lps22df_fifo_ctrl_t fifo_ctrl; member
|
/hal_st-3.6.0/sensor/stmemsc/l3gd20h_STdC/driver/ |
D | l3gd20h_reg.c | 1935 l3gd20h_fifo_ctrl_t fifo_ctrl; in l3gd20h_fifo_mode_set() local 1937 ret = l3gd20h_read_reg(ctx, L3GD20H_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in l3gd20h_fifo_mode_set() 1941 fifo_ctrl.fm = ((uint8_t)val & 0x07U); in l3gd20h_fifo_mode_set() 1942 ret = l3gd20h_write_reg(ctx, L3GD20H_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in l3gd20h_fifo_mode_set() 1971 l3gd20h_fifo_ctrl_t fifo_ctrl; in l3gd20h_fifo_mode_get() local 1973 ret = l3gd20h_read_reg(ctx, L3GD20H_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in l3gd20h_fifo_mode_get() 1980 switch ((ctrl5.fifo_en << 4) + fifo_ctrl.fm) in l3gd20h_fifo_mode_get() 2023 l3gd20h_fifo_ctrl_t fifo_ctrl; in l3gd20h_fifo_watermark_set() local 2025 ret = l3gd20h_read_reg(ctx, L3GD20H_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in l3gd20h_fifo_watermark_set() 2029 fifo_ctrl.fth = val; in l3gd20h_fifo_watermark_set() [all …]
|
/hal_st-3.6.0/sensor/stmemsc/lis2hh12_STdC/driver/ |
D | lis2hh12_reg.c | 2250 lis2hh12_fifo_ctrl_t fifo_ctrl; in lis2hh12_fifo_watermark_set() local 2259 (uint8_t *)&fifo_ctrl, 1); in lis2hh12_fifo_watermark_set() 2274 fifo_ctrl.fth = val; in lis2hh12_fifo_watermark_set() 2281 (uint8_t *)&fifo_ctrl, 1); in lis2hh12_fifo_watermark_set() 2297 lis2hh12_fifo_ctrl_t fifo_ctrl; in lis2hh12_fifo_watermark_get() local 2301 (uint8_t *)&fifo_ctrl, 1); in lis2hh12_fifo_watermark_get() 2302 *val = (uint8_t)fifo_ctrl.fth; in lis2hh12_fifo_watermark_get() 2318 lis2hh12_fifo_ctrl_t fifo_ctrl; in lis2hh12_fifo_mode_set() local 2333 (uint8_t *)&fifo_ctrl, 1); in lis2hh12_fifo_mode_set() 2338 fifo_ctrl.fmode = ((uint8_t)val & 0x0FU); in lis2hh12_fifo_mode_set() [all …]
|
/hal_st-3.6.0/sensor/stmemsc/lis2du12_STdC/driver/ |
D | lis2du12_reg.c | 740 lis2du12_fifo_ctrl_t fifo_ctrl; in lis2du12_fifo_mode_set() local 747 bytecpy(( uint8_t*)&fifo_ctrl, ®[0]); in lis2du12_fifo_mode_set() 750 fifo_ctrl.f_mode = (uint8_t) val->operation; in lis2du12_fifo_mode_set() 751 fifo_ctrl.fifo_depth = (uint8_t) val->store; in lis2du12_fifo_mode_set() 754 fifo_ctrl.stop_on_fth = PROPERTY_ENABLE; in lis2du12_fifo_mode_set() 757 fifo_ctrl.stop_on_fth = PROPERTY_DISABLE; in lis2du12_fifo_mode_set() 762 bytecpy(®[0], ( uint8_t*)&fifo_ctrl); in lis2du12_fifo_mode_set() 780 lis2du12_fifo_ctrl_t fifo_ctrl; in lis2du12_fifo_mode_get() local 787 bytecpy(( uint8_t*)&fifo_ctrl, ®[0]); in lis2du12_fifo_mode_get() 790 switch (fifo_ctrl.f_mode) in lis2du12_fifo_mode_get() [all …]
|
/hal_st-3.6.0/sensor/stmemsc/lsm9ds1_STdC/driver/ |
D | lsm9ds1_reg.c | 4354 lsm9ds1_fifo_ctrl_t fifo_ctrl; in lsm9ds1_fifo_mode_set() local 4367 ret = lsm9ds1_read_reg(ctx, LSM9DS1_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lsm9ds1_fifo_mode_set() 4372 fifo_ctrl.fmode = ((uint8_t)val & 0x0FU); in lsm9ds1_fifo_mode_set() 4373 ret = lsm9ds1_write_reg(ctx, LSM9DS1_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lsm9ds1_fifo_mode_set() 4391 lsm9ds1_fifo_ctrl_t fifo_ctrl; in lsm9ds1_fifo_mode_get() local 4398 ret = lsm9ds1_read_reg(ctx, LSM9DS1_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lsm9ds1_fifo_mode_get() 4488 lsm9ds1_fifo_ctrl_t fifo_ctrl; in lsm9ds1_fifo_watermark_set() local 4491 ret = lsm9ds1_read_reg(ctx, LSM9DS1_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lsm9ds1_fifo_watermark_set() 4495 fifo_ctrl.fth = (uint8_t)val; in lsm9ds1_fifo_watermark_set() 4496 ret = lsm9ds1_write_reg(ctx, LSM9DS1_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lsm9ds1_fifo_watermark_set() [all …]
|
/hal_st-3.6.0/sensor/stmemsc/lis2dux12_STdC/driver/ |
D | lis2dux12_reg.c | 1723 lis2dux12_fifo_ctrl_t fifo_ctrl; in lis2dux12_fifo_mode_set() local 1729 ret += lis2dux12_read_reg(ctx, LIS2DUX12_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis2dux12_fifo_mode_set() 1739 fifo_ctrl.fifo_mode = ((uint8_t)val.operation & 0x7U); in lis2dux12_fifo_mode_set() 1746 fifo_ctrl.fifo_depth = (uint8_t)val.store; in lis2dux12_fifo_mode_set() 1758 fifo_ctrl.cfg_chg_en = val.cfg_change_in_fifo; in lis2dux12_fifo_mode_set() 1762 fifo_ctrl.stop_on_fth = 1; in lis2dux12_fifo_mode_set() 1768 ret += lis2dux12_write_reg(ctx, LIS2DUX12_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis2dux12_fifo_mode_set() 1786 lis2dux12_fifo_ctrl_t fifo_ctrl; in lis2dux12_fifo_mode_get() local 1792 ret += lis2dux12_read_reg(ctx, LIS2DUX12_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis2dux12_fifo_mode_get() 1803 val->operation = (lis2dux12_operation_t)fifo_ctrl.fifo_mode; in lis2dux12_fifo_mode_get() [all …]
|
/hal_st-3.6.0/sensor/stmemsc/lis2duxs12_STdC/driver/ |
D | lis2duxs12_reg.c | 1752 lis2duxs12_fifo_ctrl_t fifo_ctrl; in lis2duxs12_fifo_mode_set() local 1758 ret += lis2duxs12_read_reg(ctx, LIS2DUXS12_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis2duxs12_fifo_mode_set() 1768 fifo_ctrl.fifo_mode = ((uint8_t)val.operation & 0x7U); in lis2duxs12_fifo_mode_set() 1775 fifo_ctrl.fifo_depth = (uint8_t)val.store; in lis2duxs12_fifo_mode_set() 1787 fifo_ctrl.cfg_chg_en = val.cfg_change_in_fifo; in lis2duxs12_fifo_mode_set() 1791 fifo_ctrl.stop_on_fth = 1; in lis2duxs12_fifo_mode_set() 1797 ret += lis2duxs12_write_reg(ctx, LIS2DUXS12_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis2duxs12_fifo_mode_set() 1815 lis2duxs12_fifo_ctrl_t fifo_ctrl; in lis2duxs12_fifo_mode_get() local 1821 ret += lis2duxs12_read_reg(ctx, LIS2DUXS12_FIFO_CTRL, (uint8_t *)&fifo_ctrl, 1); in lis2duxs12_fifo_mode_get() 1832 val->operation = (lis2duxs12_operation_t)fifo_ctrl.fifo_mode; in lis2duxs12_fifo_mode_get() [all …]
|
/hal_st-3.6.0/sensor/stmemsc/lps25hb_STdC/driver/ |
D | lps25hb_reg.h | 388 lps25hb_fifo_ctrl_t fifo_ctrl; member
|
/hal_st-3.6.0/sensor/stmemsc/lps27hhtw_STdC/driver/ |
D | lps27hhtw_reg.h | 427 lps27hhtw_fifo_ctrl_t fifo_ctrl; member
|