#include "chip.h"
#include <stdint.h>
#include <assert.h>
Go to the source code of this file.
Functions | |
uint32_t | Dac_ConfigureDma (DacDma *pDacd, Dacc *pDacHw, uint8_t DacId, sXdmad *pXdmad) |
Initializes the DacDma structure and the corresponding DAC & DMA . hardware select value. The driver will uses DMA channel 0 for RX . The DMA channels are freed automatically when no DMA command processing. | |
uint32_t | Dac_SendData (DacDma *pDacd, DacCmd *pCommand) |
Starts a DAC transfer. This is a non blocking function. It will return as soon as the transfer is started. |
Implementation of Digital-to-Analog Converter Controller (DACC).
Definition in file dac_dma.c.
Initializes the DacDma structure and the corresponding DAC & DMA . hardware select value. The driver will uses DMA channel 0 for RX . The DMA channels are freed automatically when no DMA command processing.
pDacd | Pointer to a DacDma instance. | |
pDacHw | Associated Dac peripheral. | |
DacId | Dac peripheral identifier. | |
pDmad | Pointer to a Dmad instance. |
Starts a DAC transfer. This is a non blocking function. It will return as soon as the transfer is started.
pDacd | Pointer to a DacDma instance. | |
pCommand | Pointer to the Dac command to execute. |
Definition at line 208 of file dac_dma.c.