Introduction - If you have any usage issues, please Google them yourself
The regular
channel converted by ADC2 is channel14 (the potentimeter). The converted values of
channel12 and channel14 are stored in ADC_DualConvertedValueTab[] table as 32bit format,
and are separated and strored in ADCTab[].
The injected channel converted by ADC1 is channel11 and stored in
ADC1_InjectedConvertedValueTab[] table. The injected channel converted by ADC2 is
channel8 and is stored in ADC2_InjectedConvertedValueTab[] table.
The example can use the DMA method or the interrupt method for the regular values reading.
To use the DMA please uncomment the following define in main.c file:
#define USE_DMA_Transfer otherwise the example will use the interrupt for regular
channel conversion.