53 #ifndef ti_drivers_dma_UDMAMSP432__include 54 #define ti_drivers_dma_UDMAMSP432__include 59 #include <ti/drivers/dpl/HwiP.h> 199 extern void UDMAMSP432_close(UDMAMSP432_Handle handle, uint32_t channelNum, uint8_t intNum);
230 extern UDMAMSP432_Handle
UDMAMSP432_open(uint32_t channelNum, uint8_t intNum, uint32_t priority,
231 void (*hwiFxn)(uintptr_t), uintptr_t arg);
uint32_t structSelect
Definition: UDMAMSP432.h:156
UDMAMSP432_Config * UDMAMSP432_Handle
A handle that is returned from a UDMAMSP432_open() call.
Definition: UDMAMSP432.h:135
UDMAMSP432 Transfer configuration.
Definition: UDMAMSP432.h:154
bool unused
Definition: UDMAMSP432.h:143
uint32_t dmaChannel
Definition: UDMAMSP432.h:174
void * dmaAlternateDestination
Definition: UDMAMSP432.h:179
uint32_t transferMode
Definition: UDMAMSP432.h:158
uint32_t ctlOptions
Definition: UDMAMSP432.h:175
uint8_t intNum
Definition: UDMAMSP432.h:114
void * dmaTransferDestination
Definition: UDMAMSP432.h:160
void * dmaPrimaryDestination
Definition: UDMAMSP432.h:178
void UDMAMSP432_close(UDMAMSP432_Handle handle, uint32_t channelNum, uint8_t intNum)
Function to close the DMA driver.
UDMAMSP432 Ping Pong Transfer configuration.
Definition: UDMAMSP432.h:173
void * object
Definition: UDMAMSP432.h:128
uint32_t transferSize
Definition: UDMAMSP432.h:161
bool UDMAMSP432_setupTransfer(UDMAMSP432_Transfer *transfer)
Function to set up a DMA channel for data transfer.
UDMAMSP432_Handle UDMAMSP432_open(uint32_t channelNum, uint8_t intNum, uint32_t priority, void(*hwiFxn)(uintptr_t), uintptr_t arg)
Function to initialize the MSP432 DMA peripheral and corresponding interrupt.
bool UDMAMSP432_setupPingPongTransfer(UDMAMSP432_PingPongTransfer *transfer)
Function to set up a DMA channel for ping pong data transfer.
void const * hwAttrs
Definition: UDMAMSP432.h:129
uint32_t transferSize
Definition: UDMAMSP432.h:180
uint32_t dmaChannel
Definition: UDMAMSP432.h:155
uint8_t intPriority
Definition: UDMAMSP432.h:115
UDMAMSP432 Global configuration.
Definition: UDMAMSP432.h:127
void * controlBaseAddr
Definition: UDMAMSP432.h:112
UDMAMSP432_ErrorFxn dmaErrorFxn
Definition: UDMAMSP432.h:113
void * dmaTransferSource
Definition: UDMAMSP432.h:177
void(* UDMAMSP432_ErrorFxn)(uintptr_t arg)
UDMA error function pointer.
Definition: UDMAMSP432.h:68
uint32_t transferMode
Definition: UDMAMSP432.h:176
UDMAMSP432 object.
Definition: UDMAMSP432.h:142
UDMAMSP432 Hardware attributes.
Definition: UDMAMSP432.h:111
void * dmaTransferSource
Definition: UDMAMSP432.h:159
void UDMAMSP432_init()
Function to initialize the MSP432 DMA driver.
uint32_t ctlOptions
Definition: UDMAMSP432.h:157
void UDMAMSP432_PingPongToggleBuffer(UDMAMSP432_PingPongTransfer *transfer)
Function to toggle between two buffers during ping pong mode.