Digital Power Starter Kit 3 Firmware
dsPIC33C Boost Converter Voltage Mode Control Example
+ Collaboration diagram for Digital-to-Analog Converter:
volatile uint16_t sysDacModule_Initialize (void)
 
volatile uint16_t sysDacOutput_Initialize (volatile uint16_t dacInstance, volatile uint16_t initValue)
 
volatile uint16_t sysDacOutput_Enable (volatile uint16_t dacInstance)
 
volatile uint16_t sysDacOutput_Disable (volatile uint16_t dacInstance)
 

Detailed Description

DPSK3 uses one of the available on-chip Digital-to-Analog Converters (DAC) to generate a dynamic, analog output signal, which can be used for enhanced debugging of high-speed processes such as control output monitoring.

Note
The DAC output signal is buffered by utilizing one of the available on-chip operational amplifiers. Please refer to the Operational Amplifier Configuration section for details.

Function Documentation

◆ sysDacModule_Initialize()

volatile uint16_t sysDacModule_Initialize ( void  )

Definition at line 39 of file init_dac.c.

◆ sysDacOutput_Disable()

volatile uint16_t sysDacOutput_Disable ( volatile uint16_t  dacInstance)

Definition at line 129 of file init_dac.c.

◆ sysDacOutput_Enable()

volatile uint16_t sysDacOutput_Enable ( volatile uint16_t  dacInstance)

Definition at line 99 of file init_dac.c.

◆ sysDacOutput_Initialize()

volatile uint16_t sysDacOutput_Initialize ( volatile uint16_t  dacInstance,
volatile uint16_t  initValue 
)

Definition at line 71 of file init_dac.c.