mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'fix/adc_channel_num_caps' into 'master'
fix(adc): Corrected the ADC channel number caps for esp32p4 See merge request espressif/esp-idf!33141
This commit is contained in:
commit
d3631b3afa
@ -122,7 +122,7 @@
|
|||||||
#define SOC_ADC_DIG_SUPPORTED_UNIT(UNIT) 1 //Digital controller supported ADC unit
|
#define SOC_ADC_DIG_SUPPORTED_UNIT(UNIT) 1 //Digital controller supported ADC unit
|
||||||
#define SOC_ADC_DMA_SUPPORTED 1
|
#define SOC_ADC_DMA_SUPPORTED 1
|
||||||
#define SOC_ADC_PERIPH_NUM (2)
|
#define SOC_ADC_PERIPH_NUM (2)
|
||||||
#define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 6: 8)
|
#define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 8: 6)
|
||||||
#define SOC_ADC_MAX_CHANNEL_NUM (8)
|
#define SOC_ADC_MAX_CHANNEL_NUM (8)
|
||||||
#define SOC_ADC_ATTEN_NUM (4)
|
#define SOC_ADC_ATTEN_NUM (4)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user