vref_example
Overview
The vref example shows how to use the vref driver.
In this example, the adc16 module is initialized and used to measure the VREF output voltage. So, it cannot use internal VREF as the reference voltage.
Then, user should configure the VREF output pin as the ADC16’s sample input. When running the project, it will firstly measure the VREF output voltage within the default (factory) trim value. Then, it will measure the VREF output voltage under different trim values.