CC35xxDriverLibrary
dma.c File Reference
#include "dma.h"
Include dependency graph for dma.c:

Macros

#define DMA_MAX_TRANSACTION_BYTES   HOST_DMA_CH0TCTL_TRANSB_M
 
#define DMA_BLOCK_SIZE_MIN   1
 
#define DMA_BLOCK_SIZE_MAX   63
 

Functions

void DMAInitChannel (uint32_t channel, DMAPeripheral peripheral)
 Initialize DMA channel by mapping it to a peripheral. More...
 
void DMAConfigureChannel (uint32_t channel, uint8_t blockSize, uint8_t wordSize, uint32_t config)
 Configure job for the specified channel. More...
 
void DMAStartTransaction (uint32_t channel, const uint32_t *srcStartAddr, uint32_t *dstStartAddr, uint16_t transLenByte, bool remainingBytesBurst)
 Start job for the specified channel. More...
 
uint32_t DMAGetChannelStatus (uint32_t channel)
 Returns the status of the specified channel. More...
 
uint32_t DMAGetChannelDirection (uint32_t channel)
 Returns the direction of the specified channel. More...
 

Macro Definition Documentation

§ DMA_MAX_TRANSACTION_BYTES

#define DMA_MAX_TRANSACTION_BYTES   HOST_DMA_CH0TCTL_TRANSB_M

Referenced by DMAStartTransaction().

§ DMA_BLOCK_SIZE_MIN

#define DMA_BLOCK_SIZE_MIN   1

Referenced by DMAConfigureChannel().

§ DMA_BLOCK_SIZE_MAX

#define DMA_BLOCK_SIZE_MAX   63

Referenced by DMAConfigureChannel().