#include <stdbool.h>
#include <stdint.h>
#include "../inc/hw_types.h"
#include "../inc/hw_memmap.h"
#include "../inc/hw_adi_4_aux.h"
#include "../inc/hw_aux_anaif.h"
#include "../inc/hw_aux_sysif.h"
#include "../inc/hw_fcfg1.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... | |