Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 37) sorted by relevance

12

/hal_st-3.7.0/sensor/stmemsc/_resources/FIFO_Utility_Tool/
Dst_fifo.c198 for (uint8_t i = 0; i < 3u; i++) in st_fifo_init() local
200 last_data_xl[i] = 0; in st_fifo_init()
201 last_data_gy[i] = 0; in st_fifo_init()
223 for (uint16_t i = 0; i < stream_size; i++) in st_fifo_decode() local
226 uint8_t tag = (fifo_raw_slot[i].fifo_data_out[0] & TAG_SENSOR_MASK) >> TAG_SENSOR_SHIFT; in st_fifo_decode()
227 … uint8_t tag_counter = (fifo_raw_slot[i].fifo_data_out[0] & TAG_COUNTER_MASK) >> TAG_COUNTER_SHIFT; in st_fifo_decode()
229 if (fifo_ver == 0u && has_even_parity(fifo_raw_slot[i].fifo_data_out[0]) == 0u) in st_fifo_decode()
259 uint8_t bdr_acc_cfg = (fifo_raw_slot[i].fifo_data_out[6] & BDR_XL_MASK) >> BDR_XL_SHIFT; in st_fifo_decode()
260 uint8_t bdr_gyr_cfg = (fifo_raw_slot[i].fifo_data_out[6] & BDR_GY_MASK) >> BDR_GY_SHIFT; in st_fifo_decode()
261 … uint8_t bdr_vsens_cfg = (fifo_raw_slot[i].fifo_data_out[4] & BDR_VSENS_MASK) >> BDR_VSENS_SHIFT; in st_fifo_decode()
[all …]
Dmain.c51 int i = 0; in main() local
62 raw_slot[i].fifo_data_out[j] = data_in[j]; in main()
64 i++; in main()
82 for (int i = 0; i < out_slot_size; i++) { in main() local
83 …t%d\r\n", out_slot[i].timestamp, out_slot[i].sensor_tag, out_slot[i].sensor_data.data[0], out_slot… in main()
/hal_st-3.7.0/audio/microphone/
DOpenPDMFilter.c120 uint8_t c, i; in filter_table() local
127 for (i = 0; i < decimation; i += 8) { in filter_table()
129 F += ((c >> 7) ) * coef_p[i ] + in filter_table()
130 ((c >> 6) & 0x01) * coef_p[i + 1] + in filter_table()
131 ((c >> 5) & 0x01) * coef_p[i + 2] + in filter_table()
132 ((c >> 4) & 0x01) * coef_p[i + 3] + in filter_table()
133 ((c >> 3) & 0x01) * coef_p[i + 4] + in filter_table()
134 ((c >> 2) & 0x01) * coef_p[i + 5] + in filter_table()
135 ((c >> 1) & 0x01) * coef_p[i + 6] + in filter_table()
136 ((c ) & 0x01) * coef_p[i + 7]; in filter_table()
[all …]
/hal_st-3.7.0/sensor/stmemsc/lis2du12_STdC/driver/
Dlis2du12_reg.c614 uint8_t i; in lis2du12_data_get() local
621 for (i = 0U; i < 3U; i++) { in lis2du12_data_get()
622 data->xl.raw[i] = (int16_t)buff[j+1U]; in lis2du12_data_get()
623 data->xl.raw[i] = (data->xl.raw[i] * 256) + (int16_t) buff[j]; in lis2du12_data_get()
627 data->xl.mg[i] =lis2du12_from_fs2g_to_mg(data->xl.raw[i]); in lis2du12_data_get()
630 data->xl.mg[i] =lis2du12_from_fs4g_to_mg(data->xl.raw[i]); in lis2du12_data_get()
633 data->xl.mg[i] =lis2du12_from_fs8g_to_mg(data->xl.raw[i]); in lis2du12_data_get()
636 data->xl.mg[i] =lis2du12_from_fs16g_to_mg(data->xl.raw[i]); in lis2du12_data_get()
639 data->xl.mg[i] = 0.0f; in lis2du12_data_get()
884 int8_t i; in lis2du12_fifo_data_get() local
[all …]
/hal_st-3.7.0/sensor/vl53l1x/api/core/src/
Dvl53l1_core.c529 uint16_t i = 0; in VL53L1_i2c_encode_uint16_t() local
534 for (i = 0; i < count ; i++) { in VL53L1_i2c_encode_uint16_t()
535 pbuffer[count-i-1] = (uint8_t)(data & 0x00FF); in VL53L1_i2c_encode_uint16_t()
569 uint16_t i = 0; in VL53L1_i2c_encode_int16_t() local
574 for (i = 0; i < count ; i++) { in VL53L1_i2c_encode_int16_t()
575 pbuffer[count-i-1] = (uint8_t)(data & 0x00FF); in VL53L1_i2c_encode_int16_t()
613 uint16_t i = 0; in VL53L1_i2c_encode_uint32_t() local
618 for (i = 0; i < count ; i++) { in VL53L1_i2c_encode_uint32_t()
619 pbuffer[count-i-1] = (uint8_t)(data & 0x00FF); in VL53L1_i2c_encode_uint32_t()
685 uint16_t i = 0; in VL53L1_i2c_encode_int32_t() local
[all …]
Dvl53l1_api_debug.c1050 uint8_t i = 0; in VL53L1_print_offset_range_results() local
1087 for (i = 0 ; i < pdata->active_results ; i++) { in VL53L1_print_offset_range_results()
1088 sprintf(ppre_text, "%sdata[%u].", pprefix, i); in VL53L1_print_offset_range_results()
1090 &(pdata->data[i]), in VL53L1_print_offset_range_results()
1273 uint8_t i = 0; in VL53L1_print_cal_peak_rate_map() local
1311 i = 0; in VL53L1_print_cal_peak_rate_map()
1315 sprintf(ppre_text, "%speak_rate_mcps[%u]", pprefix, i); in VL53L1_print_cal_peak_rate_map()
1318 (int32_t)pdata->peak_rate_mcps[i], in VL53L1_print_cal_peak_rate_map()
1329 i++; in VL53L1_print_cal_peak_rate_map()
/hal_st-3.7.0/sensor/stmemsc/ilps28qsw_STdC/driver/
Dilps28qsw_reg.c912 uint8_t i; in ilps28qsw_fifo_data_get() local
915 for (i = 0U; i < samp; i++) in ilps28qsw_fifo_data_get()
918 data[i].raw = (int32_t)fifo_data[2]; in ilps28qsw_fifo_data_get()
919 data[i].raw = (data[i].raw * 256) + (int32_t)fifo_data[1]; in ilps28qsw_fifo_data_get()
920 data[i].raw = (data[i].raw * 256) + (int32_t)fifo_data[0]; in ilps28qsw_fifo_data_get()
921 data[i].raw = (data[i].raw * 256); in ilps28qsw_fifo_data_get()
931 data[i].hpa = ilps28qsw_from_fs1260_to_hPa(data[i].raw); in ilps28qsw_fifo_data_get()
934 data[i].hpa = ilps28qsw_from_fs4000_to_hPa(data[i].raw); in ilps28qsw_fifo_data_get()
937 data[i].hpa = 0.0f; in ilps28qsw_fifo_data_get()
940 data[i].lsb = 0; in ilps28qsw_fifo_data_get()
[all …]
/hal_st-3.7.0/sensor/stmemsc/ilps22qs_STdC/driver/
Dilps22qs_reg.c939 uint8_t i; in ilps22qs_fifo_data_get() local
942 for (i = 0U; i < samp; i++) in ilps22qs_fifo_data_get()
945 data[i].raw = (int32_t)fifo_data[2]; in ilps22qs_fifo_data_get()
946 data[i].raw = (data[i].raw * 256) + (int32_t)fifo_data[1]; in ilps22qs_fifo_data_get()
947 data[i].raw = (data[i].raw * 256) + (int32_t)fifo_data[0]; in ilps22qs_fifo_data_get()
948 data[i].raw = (data[i].raw * 256); in ilps22qs_fifo_data_get()
958 data[i].hpa = ilps22qs_from_fs1260_to_hPa(data[i].raw); in ilps22qs_fifo_data_get()
961 data[i].hpa = ilps22qs_from_fs4000_to_hPa(data[i].raw); in ilps22qs_fifo_data_get()
964 data[i].hpa = 0.0f; in ilps22qs_fifo_data_get()
967 data[i].lsb = 0; in ilps22qs_fifo_data_get()
[all …]
/hal_st-3.7.0/sensor/stmemsc/lis2dux12_STdC/driver/
Dlis2dux12_reg.c629 uint8_t i; in lis2dux12_xl_data_get() local
636 for (i = 0U; i < 3U; i++) { in lis2dux12_xl_data_get()
637 data->raw[i] = (int16_t)buff[j+1U]; in lis2dux12_xl_data_get()
638 data->raw[i] = (data->raw[i] * 256) + (int16_t) buff[j]; in lis2dux12_xl_data_get()
642 data->mg[i] =lis2dux12_from_fs2g_to_mg(data->raw[i]); in lis2dux12_xl_data_get()
645 data->mg[i] =lis2dux12_from_fs4g_to_mg(data->raw[i]); in lis2dux12_xl_data_get()
648 data->mg[i] =lis2dux12_from_fs8g_to_mg(data->raw[i]); in lis2dux12_xl_data_get()
651 data->mg[i] =lis2dux12_from_fs16g_to_mg(data->raw[i]); in lis2dux12_xl_data_get()
654 data->mg[i] = 0.0f; in lis2dux12_xl_data_get()
915 uint8_t i ; in lis2dux12_ln_pg_write() local
[all …]
/hal_st-3.7.0/sensor/stmemsc/lis3dsh_STdC/driver/
Dlis3dsh_reg.c758 uint8_t i; in lis3dsh_data_get() local
772 for (i = 0U; i < 3U; i++) in lis3dsh_data_get()
774 data->xl.raw[i] = (int16_t)buff[j + 1U]; in lis3dsh_data_get()
775 data->xl.raw[i] = (data->xl.raw[i] * 256) + (int16_t) buff[j]; in lis3dsh_data_get()
781 data->xl.mg[i] = lis3dsh_from_fs2_to_mg(data->xl.raw[i]); in lis3dsh_data_get()
785 data->xl.mg[i] = lis3dsh_from_fs4_to_mg(data->xl.raw[i]); in lis3dsh_data_get()
789 data->xl.mg[i] = lis3dsh_from_fs6_to_mg(data->xl.raw[i]); in lis3dsh_data_get()
793 data->xl.mg[i] = lis3dsh_from_fs8_to_mg(data->xl.raw[i]); in lis3dsh_data_get()
797 data->xl.mg[i] = lis3dsh_from_fs16_to_mg(data->xl.raw[i]); in lis3dsh_data_get()
801 data->xl.mg[i] = 0.0f; in lis3dsh_data_get()
/hal_st-3.7.0/sensor/stmemsc/lis2duxs12_STdC/driver/
Dlis2duxs12_reg.c634 uint8_t i; in lis2duxs12_xl_data_get() local
641 for (i = 0U; i < 3U; i++) { in lis2duxs12_xl_data_get()
642 data->raw[i] = (int16_t)buff[j+1U]; in lis2duxs12_xl_data_get()
643 data->raw[i] = (data->raw[i] * 256) + (int16_t) buff[j]; in lis2duxs12_xl_data_get()
647 data->mg[i] =lis2duxs12_from_fs2g_to_mg(data->raw[i]); in lis2duxs12_xl_data_get()
650 data->mg[i] =lis2duxs12_from_fs4g_to_mg(data->raw[i]); in lis2duxs12_xl_data_get()
653 data->mg[i] =lis2duxs12_from_fs8g_to_mg(data->raw[i]); in lis2duxs12_xl_data_get()
656 data->mg[i] =lis2duxs12_from_fs16g_to_mg(data->raw[i]); in lis2duxs12_xl_data_get()
659 data->mg[i] = 0.0f; in lis2duxs12_xl_data_get()
944 uint8_t i ; in lis2duxs12_ln_pg_write() local
[all …]
/hal_st-3.7.0/sensor/stmemsc/ism330dhcx_STdC/driver/
Dism330dhcx_reg.c2118 uint8_t i ; in ism330dhcx_ln_pg_write() local
2157 for (i = 0; i < len; i++) in ism330dhcx_ln_pg_write()
2161 ret = ism330dhcx_write_reg(ctx, ISM330DHCX_PAGE_VALUE, &buf[i], 1); in ism330dhcx_ln_pg_write()
8967 uint8_t i; in ism330dhcx_mag_offset_set() local
8974 i = 0x00U; in ism330dhcx_mag_offset_set()
8976 &buff[i]); in ism330dhcx_mag_offset_set()
8980 i++; in ism330dhcx_mag_offset_set()
8982 &buff[i]); in ism330dhcx_mag_offset_set()
8987 i++; in ism330dhcx_mag_offset_set()
8989 &buff[i]); in ism330dhcx_mag_offset_set()
[all …]
/hal_st-3.7.0/sensor/stmemsc/asm330lhhx_STdC/driver/
Dasm330lhhx_reg.c1827 uint8_t i ; in asm330lhhx_ln_pg_write() local
1859 for (i = 0; i < len; i++) in asm330lhhx_ln_pg_write()
1863 ret = asm330lhhx_write_reg(ctx, ASM330LHHX_PAGE_VALUE, &buf[i], 1); in asm330lhhx_ln_pg_write()
5954 uint8_t i; in asm330lhhx_mag_offset_set() local
5963 i = 0x00U; in asm330lhhx_mag_offset_set()
5964 ret = asm330lhhx_ln_pg_write_byte(ctx, ASM330LHHX_MAG_OFFX_L, &buff[i]); in asm330lhhx_mag_offset_set()
5967 i++; in asm330lhhx_mag_offset_set()
5968 ret = asm330lhhx_ln_pg_write_byte(ctx, ASM330LHHX_MAG_OFFX_H, &buff[i]); in asm330lhhx_mag_offset_set()
5972 i++; in asm330lhhx_mag_offset_set()
5973 ret = asm330lhhx_ln_pg_write_byte(ctx, ASM330LHHX_MAG_OFFY_L, &buff[i]); in asm330lhhx_mag_offset_set()
[all …]
/hal_st-3.7.0/sensor/stmemsc/lsm6dsr_STdC/driver/
Dlsm6dsr_reg.c1835 uint8_t i ; in lsm6dsr_ln_pg_write() local
1871 for (i = 0; i < len; i++) in lsm6dsr_ln_pg_write()
1875 ret = lsm6dsr_write_reg(ctx, LSM6DSR_PAGE_VALUE, &buf[i], 1); in lsm6dsr_ln_pg_write()
9022 uint8_t i; in lsm6dsr_mag_offset_set() local
9029 i = 0x00U; in lsm6dsr_mag_offset_set()
9030 ret = lsm6dsr_ln_pg_write_byte(ctx, LSM6DSR_MAG_OFFX_L, &buff[i]); in lsm6dsr_mag_offset_set()
9034 i++; in lsm6dsr_mag_offset_set()
9035 ret = lsm6dsr_ln_pg_write_byte(ctx, LSM6DSR_MAG_OFFX_H, &buff[i]); in lsm6dsr_mag_offset_set()
9040 i++; in lsm6dsr_mag_offset_set()
9041 ret = lsm6dsr_ln_pg_write_byte(ctx, LSM6DSR_MAG_OFFY_L, &buff[i]); in lsm6dsr_mag_offset_set()
[all …]
/hal_st-3.7.0/sensor/stmemsc/lps28dfw_STdC/driver/
Dlps28dfw_reg.c820 uint8_t i; in lps28dfw_fifo_data_get() local
823 for (i = 0U; i < samp; i++) in lps28dfw_fifo_data_get()
826 data[i].raw = (int32_t)fifo_data[2]; in lps28dfw_fifo_data_get()
827 data[i].raw = (data[i].raw * 256) + (int32_t)fifo_data[1]; in lps28dfw_fifo_data_get()
828 data[i].raw = (data[i].raw * 256) + (int32_t)fifo_data[0]; in lps28dfw_fifo_data_get()
829 data[i].raw = (data[i].raw * 256); in lps28dfw_fifo_data_get()
834 data[i].hpa = lps28dfw_from_fs1260_to_hPa(data[i].raw); in lps28dfw_fifo_data_get()
837 data[i].hpa = lps28dfw_from_fs4000_to_hPa(data[i].raw); in lps28dfw_fifo_data_get()
840 data[i].hpa = 0.0f; in lps28dfw_fifo_data_get()
/hal_st-3.7.0/sensor/stmemsc/lsm6dsrx_STdC/driver/
Dlsm6dsrx_reg.c2056 uint8_t i ; in lsm6dsrx_ln_pg_write() local
2092 for (i = 0; i < len; i++) in lsm6dsrx_ln_pg_write()
2096 ret = lsm6dsrx_write_reg(ctx, LSM6DSRX_PAGE_VALUE, &buf[i], 1); in lsm6dsrx_ln_pg_write()
9138 uint8_t i; in lsm6dsrx_mag_offset_set() local
9145 i = 0x00U; in lsm6dsrx_mag_offset_set()
9146 ret = lsm6dsrx_ln_pg_write_byte(ctx, LSM6DSRX_MAG_OFFX_L, &buff[i]); in lsm6dsrx_mag_offset_set()
9150 i++; in lsm6dsrx_mag_offset_set()
9151 ret = lsm6dsrx_ln_pg_write_byte(ctx, LSM6DSRX_MAG_OFFX_H, &buff[i]); in lsm6dsrx_mag_offset_set()
9156 i++; in lsm6dsrx_mag_offset_set()
9157 ret = lsm6dsrx_ln_pg_write_byte(ctx, LSM6DSRX_MAG_OFFY_L, &buff[i]); in lsm6dsrx_mag_offset_set()
[all …]
/hal_st-3.7.0/sensor/stmemsc/ais25ba_STdC/driver/
Dais25ba_reg.c360 uint8_t i; in ais25ba_data_get() local
372 for (i = 0U; i < 3U; i++) in ais25ba_data_get()
374 data->xl.raw[i] = (int16_t) tdm_stream[i + offset]; in ais25ba_data_get()
375 data->xl.mg[i] = ais25ba_from_raw_to_mg(data->xl.raw[i]); in ais25ba_data_get()
/hal_st-3.7.0/sensor/stmemsc/lis25ba_STdC/driver/
Dlis25ba_reg.c367 uint8_t i; in lis25ba_data_get() local
379 for (i = 0U; i < 3U; i++) in lis25ba_data_get()
381 data->xl.raw[i] = (int16_t) tdm_stream[i + offset]; in lis25ba_data_get()
382 data->xl.mg[i] = lis25ba_from_raw_to_mg(data->xl.raw[i]); in lis25ba_data_get()
/hal_st-3.7.0/sensor/stmemsc/lsm6dsox_STdC/driver/
Dlsm6dsox_reg.c2246 uint8_t i ; in lsm6dsox_ln_pg_write() local
2284 for (i = 0; ((i < len) && (ret == 0)); i++) in lsm6dsox_ln_pg_write()
2286 ret = lsm6dsox_write_reg(ctx, LSM6DSOX_PAGE_VALUE, &buf[i], 1); in lsm6dsox_ln_pg_write()
8754 uint8_t i; in lsm6dsox_mag_offset_set() local
8761 i = 0x00U; in lsm6dsox_mag_offset_set()
8763 &buff[i]); in lsm6dsox_mag_offset_set()
8767 i++; in lsm6dsox_mag_offset_set()
8769 &buff[i]); in lsm6dsox_mag_offset_set()
8774 i++; in lsm6dsox_mag_offset_set()
8776 &buff[i]); in lsm6dsox_mag_offset_set()
[all …]
/hal_st-3.7.0/sensor/stmemsc/lps22df_STdC/driver/
Dlps22df_reg.c798 uint8_t i; in lps22df_fifo_data_get() local
801 for (i = 0U; i < samp; i++) in lps22df_fifo_data_get()
804 data[i].raw = (int32_t)fifo_data[2]; in lps22df_fifo_data_get()
805 data[i].raw = (data[i].raw * 256) + (int32_t)fifo_data[1]; in lps22df_fifo_data_get()
806 data[i].raw = (data[i].raw * 256) + (int32_t)fifo_data[0]; in lps22df_fifo_data_get()
807 data[i].raw = (data[i].raw * 256); in lps22df_fifo_data_get()
808 data[i].hpa = lps22df_from_lsb_to_hPa(data[i].raw); in lps22df_fifo_data_get()
/hal_st-3.7.0/sensor/stmemsc/lsm6dso_STdC/driver/
Dlsm6dso_reg.c1662 uint8_t i ; in lsm6dso_ln_pg_write() local
1689 for (i = 0; ((i < len) && (ret == 0)); i++) in lsm6dso_ln_pg_write()
1691 ret = lsm6dso_write_reg(ctx, LSM6DSO_PAGE_VALUE, &buf[i], 1); in lsm6dso_ln_pg_write()
1749 uint8_t i ; in lsm6dso_ln_pg_read() local
1770 for (i = 0; ((i < len) && (ret == 0)); i++) in lsm6dso_ln_pg_read()
1778 ret += lsm6dso_read_reg(ctx, LSM6DSO_PAGE_VALUE, &buf[i], 1); in lsm6dso_ln_pg_read()
11429 uint8_t i; in lsm6dso_data_get() local
11450 for (i = 0U; i < 3U; i++) in lsm6dso_data_get()
11452 data->ui.gy.raw[i] = (int16_t)buff[j + 1U]; in lsm6dso_data_get()
11453 data->ui.gy.raw[i] = (data->ui.gy.raw[i] * 256) + (int16_t) buff[j]; in lsm6dso_data_get()
[all …]
/hal_st-3.7.0/sensor/stmemsc/lsm6dso32x_STdC/driver/
Dlsm6dso32x_reg.c2041 uint8_t i ; in lsm6dso32x_ln_pg_write() local
2082 for (i = 0; ((i < len) && (ret == 0)); i++) in lsm6dso32x_ln_pg_write()
2084 ret = lsm6dso32x_write_reg(ctx, LSM6DSO32X_PAGE_VALUE, &buf[i], 1); in lsm6dso32x_ln_pg_write()
7488 uint8_t i; in lsm6dso32x_mag_offset_set() local
7495 i = 0x00U; in lsm6dso32x_mag_offset_set()
7497 &buff[i]); in lsm6dso32x_mag_offset_set()
7501 i++; in lsm6dso32x_mag_offset_set()
7503 &buff[i]); in lsm6dso32x_mag_offset_set()
7508 i++; in lsm6dso32x_mag_offset_set()
7510 &buff[i]); in lsm6dso32x_mag_offset_set()
[all …]
/hal_st-3.7.0/sensor/vl53l0x/api/core/src/
Dvl53l0x_api.c371 int i; in VL53L0X_DataInit() local
439 for (i = 0; i < VL53L0X_CHECKENABLE_NUMBER_OF_CHECKS; i++) { in VL53L0X_DataInit()
441 Status |= VL53L0X_SetLimitCheckEnable(Dev, i, 1); in VL53L0X_DataInit()
789 int i; in VL53L0X_SetDeviceParameters() local
808 for (i = 0; i < VL53L0X_CHECKENABLE_NUMBER_OF_CHECKS; i++) { in VL53L0X_SetDeviceParameters()
810 Status |= VL53L0X_SetLimitCheckEnable(Dev, i, in VL53L0X_SetDeviceParameters()
811 pDeviceParameters->LimitChecksEnable[i]); in VL53L0X_SetDeviceParameters()
816 Status |= VL53L0X_SetLimitCheckValue(Dev, i, in VL53L0X_SetDeviceParameters()
817 pDeviceParameters->LimitChecksValue[i]); in VL53L0X_SetDeviceParameters()
840 int i; in VL53L0X_GetDeviceParameters() local
[all …]
Dvl53l0x_api_core.c233 int i; in VL53L0X_get_info_from_device() local
418 for (i = 0; i < VL53L0X_REF_SPAD_BUFFER_SIZE; i++) { in VL53L0X_get_info_from_device()
419 Dev->Data.SpadData.RefGoodSpadMap[i] = in VL53L0X_get_info_from_device()
420 NvmRefGoodSpadMap[i]; in VL53L0X_get_info_from_device()
1355 int i; in VL53L0X_load_tuning_settings() local
1419 for (i = 0; i < NumberOfWrites; i++) { in VL53L0X_load_tuning_settings()
1420 localBuffer[i] = *(pTuningSettingBuffer + in VL53L0X_load_tuning_settings()
/hal_st-3.7.0/sensor/stmemsc/sths34pf80_STdC/driver/
Dsths34pf80_reg.c1524 uint8_t i; in sths34pf80_func_cfg_write() local
1541 for (i = 0; i < len; i++) in sths34pf80_func_cfg_write()
1544 ret += sths34pf80_write_reg(ctx, STHS34PF80_FUNC_CFG_DATA, &data[i], 1); in sths34pf80_func_cfg_write()
1577 uint8_t i; in sths34pf80_func_cfg_read() local
1591 for (i = 0; i < len; i++) in sths34pf80_func_cfg_read()
1594 reg_addr = addr + i; in sths34pf80_func_cfg_read()
1598 ret += sths34pf80_read_reg(ctx, STHS34PF80_FUNC_CFG_DATA, &data[i], 1); in sths34pf80_func_cfg_read()

12