volatile uint16_t | sysDacModule_Initialize (void) |
DAC Module Base Register Initialization. More... | |
volatile uint16_t | sysDacOutput_Initialize (volatile uint16_t dacInstance) |
volatile uint16_t | sysDacOutput_Enable (volatile uint16_t dacInstance) |
volatile uint16_t | sysDacOutput_Disable (volatile uint16_t dacInstance) |
EPC9143 uses one of the available on-chip Digital-to-Analog Converter (DAC) to generate a stable, tunable reference voltage for the external current sense shunt amplifier devices used to measure the inductor current. This DAC is set to VDD/2 = 1.65 V to set the zero point of the current sense signal to the mid-point of the available range. Thus the triangular current waveform can swing above and below zero while still staying within the valid input voltage range of ADC converter inputs.
uint16_t sysDacModule_Initialize | ( | void | ) |
DAC Module Base Register Initialization.
This function initializes the DAC module base registers for being operated by the auxiliary oscillator at an input clock frequency of 500 MHz.
In this application the DAC is used to provide a constant reference voltage of VDD/2 = 1.65 V to the external current sense shunt amplifier devices. Neither, built-in comparator nor Pulse-Density Modulator (PDM) ramp generator are used.
Remarks:
ADD_REMARKS_HERE
Definition at line 42 of file init_dac.c.
volatile uint16_t sysDacOutput_Disable | ( | volatile uint16_t | dacInstance | ) |
volatile uint16_t sysDacOutput_Enable | ( | volatile uint16_t | dacInstance | ) |
Definition at line 110 of file init_dac.c.
volatile uint16_t sysDacOutput_Initialize | ( | volatile uint16_t | dacInstance | ) |
Definition at line 75 of file init_dac.c.