Hi,my hardware is using PB,PB,PB for AD function,I found PB,PB,PB are mapped ADC0_X, ADC0_X, ADC0_X, and how to config AD module?
Please pay attention to following document, section 2.8 Analog-to-digital converter:
The principle is the same, it differs in the used channels thus you will have to modify the code according to your needs.
I read the app notes ,and my ad module code is reference AN4830. I found adc0_x result register multiplied four is OK.
Retrieving data ...