23.3.3 Voltage Measurement
The VDDIOx supply voltage is available as an internal input channel to the ADC. The voltage is divided by ten to allow the use of any internal ADC reference. To measure VDDIOx/10, the user is recommended to follow these steps:
- Configure the voltage reference for the ADC
- Select VDDIOx/10 as the positive input to the ADC
- Run a single-ended ADC conversion
- Calculate the voltage using the following equation: