Home
last modified time | relevance | path

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/
Desp_adc_cal_common.c28 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/
Desp_adc_cal_common.c31 …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/
Dadc.c158 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()
Dadc_common.c53 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), \
/hal_espressif-3.6.0/components/soc/esp32c3/include/soc/
Dsoc_caps.h51 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 5 : 1) macro
/hal_espressif-3.6.0/components/soc/esp32h2/include/soc/
Dsoc_caps.h41 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 5 : 1) macro
/hal_espressif-3.6.0/components/soc/esp32s3/include/soc/
Dsoc_caps.h53 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) (10) macro
/hal_espressif-3.6.0/components/soc/esp32s2/include/soc/
Dsoc_caps.h65 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) (10) macro
/hal_espressif-3.6.0/components/soc/esp32/include/soc/
Dsoc_caps.h85 #define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 8: 10) macro
/hal_espressif-3.6.0/examples/peripherals/adc/dma_read/main/
Dadc_dma_example_main.c100 if (data->type2.channel >= SOC_ADC_CHANNEL_NUM(unit)) return false; in check_valid_data()
/hal_espressif-3.6.0/components/driver/
Dadc.c680 …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()
Dadc_common.c52 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p…
Dadc_deprecated.c44 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p…