GPDMA_Public_Functions
[GPDMA]
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. |
Function Documentation
void GPDMA_ChannelCmd | ( | uint8_t | channelNum, | |
FunctionalState | NewState | |||
) |
Enable/Disable DMA channel.
- Parameters:
-
[in] channelNum GPDMA channel, should be in range from 0 to 7 [in] NewState New State of this command, should be: - ENABLE.
- DISABLE.
- Returns:
- None
Definition at line 374 of file lpc17xx_gpdma.c.
void GPDMA_Init | ( | void | ) |
Initialize GPDMA controller.
- Parameters:
-
None
- Returns:
- None
Definition at line 205 of file lpc17xx_gpdma.c.
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.
- Parameters:
-
[in] None
- Returns:
- None
Definition at line 395 of file lpc17xx_gpdma.c.
Status GPDMA_Setup | ( | GPDMA_Channel_CFG_Type * | GPDMAChannelConfig, | |
fnGPDMACbs_Type * | pfnGPDMACbs | |||
) |
Setup GPDMA channel peripheral according to the specified parameters in the GPDMAChannelConfig.
- Parameters:
-
[in] GPDMAChannelConfig Pointer to a GPDMA_CH_CFG_Type structure that contains the configuration information for the specified GPDMA channel peripheral. [in] pfnGPDMACbs Pointer to a GPDMA interrupt call-back function
- Returns:
- ERROR if selected channel is enabled before or SUCCESS if channel is configured successfully
Definition at line 235 of file lpc17xx_gpdma.c.
Generated on Mon Feb 8 10:01:44 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9