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.h File Reference

lpc17xx_gpdma.h File Reference

: Contains all macro definitions and function prototypes support for GPDMA firmware library on LPC17xx More...

Go to the source code of this file.

Data Structures

struct  GPDMA_Channel_CFG_Type
 GPDMA Channel configuration structure type definition. More...
struct  GPDMA_LLI_Type
 GPDMA Linker List Item structure type definition. More...

Typedefs

typedef void( fnGPDMACbs_Type )(uint32_t channelStatus)
 GPDMA call-back function type definitions.

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.

Detailed Description

: Contains all macro definitions and function prototypes 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.h.