4.17 VREF - Voltage Reference
4.17.1 Introduction
The MCC Melody Voltage Reference (VREF) PLIB Driver (Peripheral Library) generates APIs to support VREF-specific peripheral functionality on AVR target MCUs.
The Voltage Reference (VREF) peripheral provides control registers for the voltage reference sources used by several peripherals. The user can select the reference voltages for the Analog-to-Digital Converter (ADC), Digital-to-Analog Converter (DAC), and Analog Comparator (AC) modules by writing to the appropriate registers in the VREF peripheral.
4.17.2 Supported Device Families
AVR® Dx | AVR® Ex | ATtiny | ATmega |
4.17.3 Required Header Files
#include "mcc_generated_files/vref/vref.h"
4.17.4 Module Documentation
4.17.4.1 VREF
This file contains the API prototypes for the VREF module.
4.17.4.1.1 Module description
This file contains the API prototypes for the VREF module.
Functions
int8_t VREF_Initialize (void)
Initializes the VREF module.
4.17.4.1.2 Function Documentation
VREF_Initialize()
int8_t VREF_Initialize (void )
Initializes the VREF module.
|
|
4.17.5 File Documentation
4.17.5.1 source/vref.c File Reference
This file contains the API implementation for the VREF module.
#include "../vref.h"
4.17.5.1.1 Functions
int8_t VREF_Initialize (void)
Initializes the VREF module.
4.17.5.1.2 Detailed Description
This file contains the API implementation for the VREF module.
VREF Generated Driver File.
4.17.5.2 source/vref.h File Reference
#include "../system/utils/compiler.h"
4.17.5.2.1 Functions
int8_t VREF_Initialize (void)
Initializes the VREF module.
4.17.5.2.2 Detailed Description
VREF Generated Driver API Header File