Searched refs:m_sample_buffer (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/drivers/adc/adc_api/src/ |
D | test_adc.c | 31 static ZTEST_BMEM int16_t m_sample_buffer[BUFFER_SIZE]; variable 33 static __aligned(32) int16_t m_sample_buffer[BUFFER_SIZE] __NOCACHE; 90 m_sample_buffer[i] = INVALID_ADC_VALUE; in init_adc() 105 int16_t sample_value = m_sample_buffer[i]; in check_samples() 126 .buffer = m_sample_buffer, in test_task_one_channel() 127 .buffer_size = sizeof(m_sample_buffer), in test_task_one_channel() 153 .buffer = m_sample_buffer, in test_task_multiple_channels() 154 .buffer_size = sizeof(m_sample_buffer), in test_task_multiple_channels() 200 .buffer = m_sample_buffer, in test_task_asynchronous_call() 201 .buffer_size = sizeof(m_sample_buffer), in test_task_asynchronous_call() [all …]
|
/Zephyr-latest/tests/drivers/adc/adc_emul/src/ |
D | main.c | 26 static ZTEST_BMEM int16_t m_sample_buffer[BUFFER_SIZE]; variable 93 output = m_sample_buffer[i]; in check_samples() 117 zassert_equal(INVALID_ADC_VALUE, m_sample_buffer[i], in check_empty_samples() 151 .buffer = m_sample_buffer, in start_adc_read() 152 .buffer_size = sizeof(m_sample_buffer), in start_adc_read() 203 m_sample_buffer[i] = INVALID_ADC_VALUE; in ZTEST_USER() 235 m_sample_buffer[i] = INVALID_ADC_VALUE; in ZTEST_USER() 266 m_sample_buffer[i] = INVALID_ADC_VALUE; in ZTEST_USER() 298 m_sample_buffer[i] = INVALID_ADC_VALUE; in ZTEST_USER() 340 m_sample_buffer[i] = INVALID_ADC_VALUE; in ZTEST_USER() [all …]
|
/Zephyr-latest/tests/drivers/dac/dac_loopback/src/ |
D | test_dac.c | 242 static int16_t m_sample_buffer[1]; in test_task_loopback() local 245 .buffer = m_sample_buffer, in test_task_loopback() 246 .buffer_size = sizeof(m_sample_buffer), in test_task_loopback() 252 zassert_within(m_sample_buffer[0], in test_task_loopback() 255 m_sample_buffer[0]); in test_task_loopback()
|
/Zephyr-latest/tests/drivers/adc/adc_error_cases/src/ |
D | adc_error_cases.c | 14 static uint16_t m_sample_buffer[BUFFER_LEN]; variable 28 .buffer = m_sample_buffer, 29 .buffer_size = BUFFER_LEN * sizeof(m_sample_buffer),
|
/Zephyr-latest/drivers/adc/ |
D | adc_shell.c | 378 int16_t m_sample_buffer[BUFFER_SIZE]; in cmd_adc_read() local 389 .buffer = m_sample_buffer, in cmd_adc_read() 390 .buffer_size = sizeof(m_sample_buffer), in cmd_adc_read() 396 shell_print(sh, "read: %i", m_sample_buffer[0]); in cmd_adc_read()
|