Functions
udma.c File Reference
#include "types.h"
#include <stdbool.h>
#include <stdint.h>
#include "inc/hw_sysctl.h"
#include "inc/hw_udma.h"
#include "debug.h"
#include "interrupt.h"
#include "udma.h"

Functions

void uDMAEnable (void)
 
void uDMADisable (void)
 
uint32_t uDMAErrorStatusGet (void)
 
void uDMAErrorStatusClear (void)
 
void uDMAChannelEnable (uint32_t ui32ChannelNum)
 
void uDMAChannelDisable (uint32_t ui32ChannelNum)
 
bool uDMAChannelIsEnabled (uint32_t ui32ChannelNum)
 
void uDMAControlBaseSet (void *psControlTable)
 
void * uDMAControlBaseGet (void)
 
void * uDMAControlAlternateBaseGet (void)
 
void uDMAChannelRequest (uint32_t ui32ChannelNum)
 
void uDMAChannelAttributeEnable (uint32_t ui32ChannelNum, uint32_t ui32Attr)
 
void uDMAChannelAttributeDisable (uint32_t ui32ChannelNum, uint32_t ui32Attr)
 
uint32_t uDMAChannelAttributeGet (uint32_t ui32ChannelNum)
 
void uDMAChannelControlSet (uint32_t ui32ChannelStructIndex, uint32_t ui32Control)
 
void uDMAChannelTransferSet (uint32_t ui32ChannelStructIndex, uint32_t ui32Mode, void *pvSrcAddr, void *pvDstAddr, uint32_t ui32TransferSize)
 
void uDMAChannelScatterGatherSet (uint32_t ui32ChannelNum, uint32_t ui32TaskCount, void *pvTaskList, uint32_t ui32IsPeriphSG)
 
uint32_t uDMAChannelSizeGet (uint32_t ui32ChannelStructIndex)
 
uint32_t uDMAChannelModeGet (uint32_t ui32ChannelStructIndex)
 
void uDMAIntRegister (uint32_t ui32IntChannel, void(*pfnHandler)(void))
 
void uDMAIntUnregister (uint32_t ui32IntChannel)
 
void uDMAChannelAssign (uint32_t ui32Mapping)
 
Copyright 2017, Texas Instruments Incorporated