Home
last modified time | relevance | path

Searched refs:sample_buffer (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/samples/boards/google/twinkie_v2/pda/src/
Dmeas.c25 int32_t sample_buffer = 0; in meas_vbus_v() local
29 .buffer = &sample_buffer, in meas_vbus_v()
31 .buffer_size = sizeof(sample_buffer), in meas_vbus_v()
41 *v = sample_buffer; in meas_vbus_v()
58 int32_t sample_buffer = 0; in meas_vbus_c() local
62 .buffer = &sample_buffer, in meas_vbus_c()
64 .buffer_size = sizeof(sample_buffer), in meas_vbus_c()
74 *c = sample_buffer; in meas_vbus_c()
/Zephyr-latest/tests/drivers/adc/adc_accuracy_test/src/
Dref_volt.c18 int32_t sample_buffer = 0; in test_ref_to_adc() local
21 .buffer = &sample_buffer, in test_ref_to_adc()
22 .buffer_size = sizeof(sample_buffer), in test_ref_to_adc()
33 ret = adc_raw_to_millivolts_dt(adc_channel, &sample_buffer); in test_ref_to_adc()
36 zassert_within(sample_buffer, REF_V, EXP_ACC, in test_ref_to_adc()
38 sample_buffer, REF_V); in test_ref_to_adc()
Ddac_source.c41 int32_t sample_buffer = 0; in test_dac_to_adc() local
44 .buffer = &sample_buffer, in test_dac_to_adc()
45 .buffer_size = sizeof(sample_buffer), in test_dac_to_adc()
63 zassert_within(sample_buffer, in test_dac_to_adc()
66 sample_buffer); in test_dac_to_adc()
/Zephyr-latest/drivers/sensor/st/stm32_vbat/
Dstm32_vbat.c29 int16_t sample_buffer; member
64 data->raw = data->sample_buffer; in stm32_vbat_sample_fetch()
119 .buffer = &data->sample_buffer, in stm32_vbat_init()
120 .buffer_size = sizeof(data->sample_buffer), in stm32_vbat_init()
/Zephyr-latest/drivers/sensor/st/stm32_vref/
Dstm32_vref.c28 int16_t sample_buffer; member
67 data->raw = data->sample_buffer; in stm32_vref_sample_fetch()
143 .buffer = &data->sample_buffer, in stm32_vref_init()
144 .buffer_size = sizeof(data->sample_buffer), in stm32_vref_init()
/Zephyr-latest/drivers/sensor/st/stm32_temp/
Dstm32_temp.c46 int16_t sample_buffer; member
233 data->raw = data->sample_buffer; in stm32_temp_sample_fetch()
276 .buffer = &data->sample_buffer, in stm32_temp_init()
277 .buffer_size = sizeof(data->sample_buffer), in stm32_temp_init()
/Zephyr-latest/drivers/adc/
Dadc_renesas_ra.c128 int16_t *sample_buffer = (int16_t *)data->buf; in adc_ra_isr() local
134 fsp_err = R_ADC_Read(&data->adc, channel_id, &sample_buffer[data->buf_id]); in adc_ra_isr()