20.6.2.2.3 Function system_voltage_reference_enable()

Enable the selected voltage reference.

void system_voltage_reference_enable( const enum system_voltage_reference vref)

Enables the selected voltage reference source, making the voltage reference available on a pin as well as an input source to the analog peripherals.

Table 20-12. Parameters
Data directionParameter nameDescription

[in]

vref

Voltage reference to enable