Searched refs:ADC_CHANNEL_CHECK (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.4.0/components/driver/ |
D | adc_common.c | 52 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p… macro 197 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc1_pad_get_io_num() 211 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc2_pad_get_io_num() 276 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc_common_gpio_init() 284 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc_common_gpio_init() 354 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc1_config_channel_atten() 430 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc1_get_raw() 501 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc2_config_channel_atten()
|
D | adc_deprecated.c | 44 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p… macro 186 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc_i2s_mode_init() 190 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc_i2s_mode_init() 608 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc_gpio_init() 616 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc_gpio_init()
|
/hal_espressif-3.4.0/zephyr/esp_shared/components/driver/ |
D | adc_common.c | 53 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), \ macro 206 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc1_pad_get_io_num() 220 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc2_pad_get_io_num() 284 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc_common_gpio_init() 292 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc_common_gpio_init() 362 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc1_config_channel_atten() 438 ADC_CHANNEL_CHECK(ADC_NUM_1, channel); in adc1_get_raw() 509 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc2_config_channel_atten()
|