Searched refs:SOC_ADC_CHANNEL_NUM (Results 1 – 13 of 13) sorted by relevance
/hal_espressif-3.6.0/zephyr/esp_shared/components/esp_adc_cal/ |
D | esp_adc_cal_common.c | 28 if (channel >= SOC_ADC_CHANNEL_NUM(0)) { in esp_adc_cal_get_voltage() 33 if (channel >= SOC_ADC_CHANNEL_NUM(1)) { in esp_adc_cal_get_voltage()
|
/hal_espressif-3.6.0/components/esp_adc_cal/ |
D | esp_adc_cal_common.c | 31 …ESP_RETURN_ON_FALSE(channel < SOC_ADC_CHANNEL_NUM(0), ESP_ERR_INVALID_ARG, TAG, "Invalid channel"); in esp_adc_cal_get_voltage() 34 …ESP_RETURN_ON_FALSE(channel < SOC_ADC_CHANNEL_NUM(1), ESP_ERR_INVALID_ARG, TAG, "Invalid channel"); in esp_adc_cal_get_voltage()
|
/hal_espressif-3.6.0/zephyr/esp_shared/components/driver/ |
D | adc.c | 158 if (channel >= SOC_ADC_CHANNEL_NUM(ADC_NUM_1)) { in adc1_config_channel_atten() 202 if (channel >= SOC_ADC_CHANNEL_NUM(ADC_NUM_2)) { in adc2_config_channel_atten()
|
D | adc_common.c | 53 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), \
|
/hal_espressif-3.6.0/components/soc/esp32c3/include/soc/ |
D | soc_caps.h | 51 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 5 : 1) macro
|
/hal_espressif-3.6.0/components/soc/esp32h2/include/soc/ |
D | soc_caps.h | 41 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 5 : 1) macro
|
/hal_espressif-3.6.0/components/soc/esp32s3/include/soc/ |
D | soc_caps.h | 53 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) (10) macro
|
/hal_espressif-3.6.0/components/soc/esp32s2/include/soc/ |
D | soc_caps.h | 65 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) (10) macro
|
/hal_espressif-3.6.0/components/soc/esp32/include/soc/ |
D | soc_caps.h | 85 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 8: 10) macro
|
/hal_espressif-3.6.0/examples/peripherals/adc/dma_read/main/ |
D | adc_dma_example_main.c | 100 if (data->type2.channel >= SOC_ADC_CHANNEL_NUM(unit)) return false; in check_valid_data()
|
/hal_espressif-3.6.0/components/driver/ |
D | adc.c | 680 …ESP_RETURN_ON_FALSE(channel < SOC_ADC_CHANNEL_NUM(ADC_NUM_1), ESP_ERR_INVALID_ARG, ADC_TAG, "ADC1 … in adc1_config_channel_atten() 720 …ESP_RETURN_ON_FALSE(channel < SOC_ADC_CHANNEL_NUM(ADC_NUM_2), ESP_ERR_INVALID_ARG, ADC_TAG, "ADC2 … in adc2_config_channel_atten()
|
D | adc_common.c | 52 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p…
|
D | adc_deprecated.c | 44 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p…
|