Home
last modified time | relevance | path

Searched refs:CHANNEL_COUNT (Results 1 – 2 of 2) sorted by relevance

/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/simple_blocking/
Dmain.c98 #define CHANNEL_COUNT NRFX_ARRAY_SIZE(m_multiple_channels) macro
110 static uint8_t m_out_pins[CHANNEL_COUNT] = {LOOPBACK_PIN_1B, LOOPBACK_PIN_2B, LOOPBACK_PIN_3B};
114 static uint8_t samples_buffer[CHANNEL_COUNT];
116 static uint16_t samples_buffer[CHANNEL_COUNT];
151 for (i = 0; i < CHANNEL_COUNT; i++) in main()
210 status = nrfx_saadc_channels_config(m_multiple_channels, CHANNEL_COUNT); in main()
220 status = nrfx_saadc_buffer_set(samples_buffer, CHANNEL_COUNT); in main()
229 for (i = 0; i < CHANNEL_COUNT; i++) in main()
244 for (i = 0; i < CHANNEL_COUNT; i++) in main()
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/simple_non_blocking/
Dmain.c98 #define CHANNEL_COUNT NRFX_ARRAY_SIZE(m_multiple_channels) macro
110 static uint8_t m_out_pins[CHANNEL_COUNT] = {LOOPBACK_PIN_1B, LOOPBACK_PIN_2B, LOOPBACK_PIN_3B};
114 static uint8_t m_samples_buffer[CHANNEL_COUNT];
116 static uint16_t m_samples_buffer[CHANNEL_COUNT];
193 for (i = 0; i < CHANNEL_COUNT; i++) in main()
245 status = nrfx_saadc_channels_config(m_multiple_channels, CHANNEL_COUNT); in main()
255 status = nrfx_saadc_buffer_set(m_samples_buffer, CHANNEL_COUNT); in main()
264 for (i = 0; i < CHANNEL_COUNT; i++) in main()