This PR includes several fixes and minor improvements for ADC:
Enable reading VRef and VTemp
These two structures are supposed to behave like any other normal channel. So, in order to enable reading from channel, both should implement AdcChannel trait.
Enable access to calibration data for internal reference voltage
VREFINT_CAL values are acquired during the manufacturing process and stored in a specific data address
Add new adc example
how to use VREFINT readings and VREFINT_CAL values to calculate absolute voltage values
Hi @dotcypress , @hdhoang and all
This PR includes several fixes and minor improvements for ADC:
Enable reading VRef and VTemp These two structures are supposed to behave like any other normal channel. So, in order to enable reading from channel, both should implement AdcChannel trait.
Enable access to calibration data for internal reference voltage VREFINT_CAL values are acquired during the manufacturing process and stored in a specific data address
Add new adc example how to use VREFINT readings and VREFINT_CAL values to calculate absolute voltage values
Regards, Sergey