Enum pl_adc_num
The enum pl_adc_num contains a list of the constants that refer to available analog-to-digital (ADC) channels, which are mapped to GPIO lines (this mapping can't be altered). For example, ADC channel 0 corresponds to GPIO line 4.
The enum pl_adc_num consists of the following constants:
PL_ADC_NUM_0 |
ADC channel 0 (mapped to GPIO line 4). |
PL_ADC_NUM_1 |
ADC channel 1 (mapped to GPIO line 5). |
PL_ADC_NUM_2 |
ADC channel 2 (mapped to GPIO line 6). |