LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gpdma_001.c File Reference
#include "gpdma_001.h"

Go to the source code of this file.

Functions

void IP_GPDMA_Init (IP_GPDMA_001_Type *pGPDMA)
 Initialize the GPDMA.
 
IntStatus IP_GPDMA_IntGetStatus (IP_GPDMA_001_Type *pGPDMA, GPDMA_Status_Type type, uint8_t channel)
 Read the status from different registers according to the type.
 
void IP_GPDMA_ClearIntPending (IP_GPDMA_001_Type *pGPDMA, GPDMA_StateClear_Type type, uint8_t channel)
 Clear the Interrupt Flag from different registers according to the type.
 
void IP_GPDMA_ChannelCmd (IP_GPDMA_001_Type *pGPDMA, uint8_t channelNum, FunctionalState NewState)
 Enable or Disable the GPDMA Channel.
 
Status IP_GPDMA_Setup (IP_GPDMA_001_Type *pGPDMA, GPDMA_Channel_CFG_Type *GPDMAChannelConfig, uint32_t GPDMA_LUTPerBurstSrcConn, uint32_t GPDMA_LUTPerBurstDstConn, uint32_t GPDMA_LUTPerWidSrcConn, uint32_t GPDMA_LUTPerWidDstConn, uint32_t GPDMA_LUTPerAddrSrcConn, uint32_t GPDMA_LUTPerAddrDstConn, uint8_t SrcPeripheral, uint8_t DstPeripheral)
 Set up the DPDMA according to the specification configuration details.