NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

lpc17xx_gpdma.c File Reference

lpc17xx_gpdma.c File Reference

: Contains all functions support for GPDMA firmware library on LPC17xx More...

Go to the source code of this file.

Functions

void GPDMA_Init (void)
 Initialize GPDMA controller.
Status GPDMA_Setup (GPDMA_Channel_CFG_Type *GPDMAChannelConfig, fnGPDMACbs_Type *pfnGPDMACbs)
 Setup GPDMA channel peripheral according to the specified parameters in the GPDMAChannelConfig.
void GPDMA_ChannelCmd (uint8_t channelNum, FunctionalState NewState)
 Enable/Disable DMA channel.
void GPDMA_IntHandler (void)
 Standard GPDMA interrupt handler, this function will check all interrupt status of GPDMA channels, then execute the call back function id they're already installed.

Variables

volatile const void * GPDMA_LUTPerAddr []
 Lookup Table of Connection Type matched with Peripheral Data (FIFO) register base address.
const LPC_GPDMACH_TypeDef * pGPDMACh [8]
 Lookup Table of GPDMA Channel Number matched with GPDMA channel pointer.
const uint8_t GPDMA_LUTPerBurst []
 Optimized Peripheral Source and Destination burst size.
const uint8_t GPDMA_LUTPerWid []
 Optimized Peripheral Source and Destination transfer width.
static fnGPDMACbs_Type_apfnGPDMACbs [8]
 Interrupt Call-back function pointer data for each GPDMA channel.

Detailed Description

: Contains all functions support for GPDMA firmware library on LPC17xx

Version:
: 1.0
Date:
: 20. Apr. 2009
Author:
: HieuNguyen

Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.

Definition in file lpc17xx_gpdma.c.