Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 373 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 394 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 Tue Jul 12 2022 17:06:02 by
1.7.2