XMC Peripheral Library for XMC4000 Family: xmc_dac.h File Reference

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
xmc_dac.h File Reference
#include <xmc_common.h>
Include dependency graph for xmc_dac.h:

Data Structures

struct  XMC_DAC_CH_CONFIG_t
 
struct  XMC_DAC_t
 

Macros

#define XMC_DAC0   ((XMC_DAC_t *)DAC_BASE)
 
#define XMC_DAC_NO_CHANNELS   (2U)
 
#define XMC_DAC_PATTERN_RECTANGLE   {31U, 31U, 31U, 31U, 31U, 31U, 31U, 31U, 31U}
 
#define XMC_DAC_PATTERN_SINE   {0U, 6U, 12U, 17U, 22U, 26U, 29U, 30U, 31U}
 
#define XMC_DAC_PATTERN_TRIANGLE   {0U, 4U, 8U, 12U, 16U, 19U, 23U, 27U, 31U}
 
#define XMC_DAC_SAMPLES_PER_PERIOD   (32U)
 

Enumerations

Functions

void XMC_DAC_CH_DisableEvent (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_DisableOutput (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_DisableOutputNegation (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_DisablePatternSignOutput (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_EnableEvent (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_EnableOutput (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_EnableOutputNegation (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_EnablePatternSignOutput (XMC_DAC_t *const dac, const uint8_t channel)
 
XMC_DAC_CH_OUTPUT_SCALE_t XMC_DAC_CH_GetOutputScale (XMC_DAC_t *const dac, const uint8_t channel)
 
uint16_t XMC_DAC_CH_GetRampStart (XMC_DAC_t *const dac, const uint8_t channel)
 
uint16_t XMC_DAC_CH_GetRampStop (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_Init (XMC_DAC_t *const dac, const uint8_t channel, const XMC_DAC_CH_CONFIG_t *const config)
 
bool XMC_DAC_CH_IsFifoEmpty (const XMC_DAC_t *const dac, const uint8_t channel)
 
bool XMC_DAC_CH_IsFifoFull (const XMC_DAC_t *const dac, const uint8_t channel)
 
bool XMC_DAC_CH_IsOutputEnabled (const XMC_DAC_t *const dac, const uint8_t channel)
 
XMC_DAC_CH_STATUS_t XMC_DAC_CH_SetFrequency (XMC_DAC_t *const dac, const uint8_t channel, const uint32_t frequency)
 
void XMC_DAC_CH_SetMode (XMC_DAC_t *const dac, const uint8_t channel, const XMC_DAC_CH_MODE_t mode)
 
void XMC_DAC_CH_SetOutputOffset (XMC_DAC_t *const dac, const uint8_t channel, const uint8_t offset)
 
void XMC_DAC_CH_SetOutputScale (XMC_DAC_t *const dac, const uint8_t channel, const XMC_DAC_CH_OUTPUT_SCALE_t scale)
 
void XMC_DAC_CH_SetPattern (XMC_DAC_t *const dac, const uint8_t channel, const uint8_t *const pattern)
 
XMC_DAC_CH_STATUS_t XMC_DAC_CH_SetPatternFrequency (XMC_DAC_t *const dac, const uint8_t channel, const uint32_t frequency)
 
XMC_DAC_CH_STATUS_t XMC_DAC_CH_SetRampFrequency (XMC_DAC_t *const dac, const uint8_t channel, const uint32_t frequency)
 
void XMC_DAC_CH_SetRampStart (XMC_DAC_t *const dac, const uint8_t channel, const uint16_t start)
 
void XMC_DAC_CH_SetRampStop (XMC_DAC_t *const dac, const uint8_t channel, const uint16_t stop)
 
void XMC_DAC_CH_SetSignedDataType (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_SetTrigger (XMC_DAC_t *const dac, const uint8_t channel, const XMC_DAC_CH_TRIGGER_t trigger)
 
void XMC_DAC_CH_SetUnsignedDataType (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_SoftwareTrigger (XMC_DAC_t *const dac, const uint8_t channel)
 
XMC_DAC_CH_STATUS_t XMC_DAC_CH_StartDataMode (XMC_DAC_t *const dac, const uint8_t channel, const XMC_DAC_CH_TRIGGER_t trigger, const uint32_t frequency)
 
XMC_DAC_CH_STATUS_t XMC_DAC_CH_StartNoiseMode (XMC_DAC_t *const dac, const uint8_t channel, const XMC_DAC_CH_TRIGGER_t trigger, const uint32_t frequency)
 
XMC_DAC_CH_STATUS_t XMC_DAC_CH_StartPatternMode (XMC_DAC_t *const dac, const uint8_t channel, const uint8_t *const pattern, const XMC_DAC_CH_PATTERN_SIGN_OUTPUT_t sign_output, const XMC_DAC_CH_TRIGGER_t trigger, const uint32_t frequency)
 
XMC_DAC_CH_STATUS_t XMC_DAC_CH_StartRampMode (XMC_DAC_t *const dac, const uint8_t channel, const uint16_t start, const uint16_t stop, const XMC_DAC_CH_TRIGGER_t trigger, const uint32_t frequency)
 
XMC_DAC_CH_STATUS_t XMC_DAC_CH_StartSingleValueMode (XMC_DAC_t *const dac, const uint8_t channel)
 
void XMC_DAC_CH_Write (XMC_DAC_t *const dac, const uint8_t channel, const uint16_t data)
 
void XMC_DAC_Disable (XMC_DAC_t *const dac)
 
void XMC_DAC_DisableSimultaneousDataMode (XMC_DAC_t *const dac)
 
void XMC_DAC_Enable (XMC_DAC_t *const dac)
 
void XMC_DAC_EnableSimultaneousDataMode (XMC_DAC_t *const dac)
 
bool XMC_DAC_IsEnabled (const XMC_DAC_t *const dac)
 
void XMC_DAC_SimultaneousWrite (XMC_DAC_t *const dac, const uint16_t data0, const uint16_t data1)
 

Detailed Description

Date
2015-08-31
Generated on Mon Aug 7 2017 11:33:56 for XMC Peripheral Library for XMC4000 Family by   doxygen 1.8.11