CC26xx Driver Library
aux_dac.c File Reference
#include "aux_dac.h"

Functions

void AUXDACSetVref (uint8_t refSource)
 Sets the voltage reference source. More...
 
void AUXDACEnablePreCharge (void)
 Enables DAC precharge. More...
 
void AUXDACDisablePreCharge (void)
 Disables DAC precharge. More...
 
uint32_t AUXDACCalcMax (void)
 Calculates the upper limit voltage the DAC can output. More...
 
uint32_t AUXDACCalcMin (void)
 Calculates the lower limit voltage the DAC can output. More...
 
uint32_t AUXDACCalcCode (uint32_t uVoltOut, uint32_t uVoltOutMin, uint32_t uVoltOutMax)
 Calculates the appropriate DAC code for a specific voltage value. More...
 
void AUXDACSetSampleClock (uint8_t dacClkDiv)
 Configures and sets the DAC sample clock. More...
 
void AUXDACSetCode (uint8_t dacCode)
 Updates the current DAC code. More...
 
void AUXDACEnable (uint8_t dacPinId)
 Enables the DAC. More...
 
void AUXDACDisable (void)
 Disables the DAC. More...