Home
last modified time | relevance | path

Searched refs:CHAN_COUNT (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/adc/
Dadc_cc32xx.c25 #define CHAN_COUNT 4 macro
44 uint8_t offset[CHAN_COUNT];
53 static const int s_chPin[CHAN_COUNT] = {
60 static const int s_channel[CHAN_COUNT] = {
88 for (int i = 0; i < CHAN_COUNT; ++i) { in adc_context_start_sampling()
117 for (int i = 0; i < CHAN_COUNT; ++i) { in adc_cc32xx_init()
138 if (ch >= CHAN_COUNT) { in adc_cc32xx_channel_setup()
139 LOG_ERR("Channel %d is not supported, max %d", ch, CHAN_COUNT); in adc_cc32xx_channel_setup()
189 for (int i = 0; i < CHAN_COUNT; ++i) { in cc32xx_read()
/Zephyr-latest/drivers/timer/
Dnrf_rtc_timer.c24 #define CHAN_COUNT (EXT_CHAN_COUNT + 1) macro
31 BUILD_ASSERT(CHAN_COUNT <= CHAN_COUNT_MAX, "Not enough compare channels");
63 static struct z_nrf_rtc_timer_chan_data cc_data[CHAN_COUNT];
134 __ASSERT_NO_MSG(chan >= 0 && chan < CHAN_COUNT); in z_nrf_rtc_timer_compare_evt_address_get()
141 __ASSERT_NO_MSG(chan >= 0 && chan < CHAN_COUNT); in z_nrf_rtc_timer_capture_task_address_get()
168 __ASSERT_NO_MSG(chan > 0 && chan < CHAN_COUNT); in z_nrf_rtc_timer_compare_int_lock()
186 __ASSERT_NO_MSG(chan > 0 && chan < CHAN_COUNT); in z_nrf_rtc_timer_compare_int_unlock()
193 __ASSERT_NO_MSG(chan >= 0 && chan < CHAN_COUNT); in z_nrf_rtc_timer_compare_read()
395 __ASSERT_NO_MSG(chan > 0 && chan < CHAN_COUNT); in z_nrf_rtc_timer_set()
404 __ASSERT_NO_MSG(chan > 0 && chan < CHAN_COUNT); in z_nrf_rtc_timer_exact_set()
[all …]
Dnrf_grtc_timer.c30 #define CHAN_COUNT NRFX_GRTC_CONFIG_NUM_OF_CC_CHANNELS macro
31 #define EXT_CHAN_COUNT (CHAN_COUNT - 1)