General analog exercises




Voltage reference configuration

Write a function that configures the ADC voltage reference. The input parameters are: reference selection (internal of VDD), output level. The function must set the internal reference buffer accordingly.