![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "board.h"Go to the source code of this file.
Macros | |
| #define | LPC_UART LPC_UART0 |
| #define | UARTx_IRQn UART0_IRQn |
| #define | UARTx_IRQHandler UART0_IRQHandler |
| #define | DMA_TIMEOUT 0xA000000 |
Functions | |
| static void | App_DMA_Init (void) |
| static void | App_DMA_DeInit (void) |
| static void | App_DMA_Test (void) |
| static void | Print_Menu_Interrupt (LPC_USART_T *UARTx) |
| static void | App_Interrupt_Init (void) |
| static void | App_Interrupt_DeInit (void) |
| static void | App_Interrupt_Test (void) |
| static void | Print_Menu_Polling (void) |
| void | DMA_IRQHandler (void) |
| GPDMA interrupt handler sub-routine. | |
| void | UARTx_IRQHandler (void) |
| UART interrupt handler sub-routine. | |
| int | main (void) |
| Main UART program body. | |
Variables | |
| static uint8_t | uartABComplete [] = "UART Auto-Baurate synchronized! \n\r" |
| static uint8_t | uartPolling_menu1 [] = "Hello NXP Semiconductors \n\r" |
| static uint8_t | uartPolling_menu2 [] = "UART polling mode demo \n\r" |
| static uint8_t | uartPolling_menu3 [] = "\n\rUART demo terminated!" |
| static uint8_t | uartPolling_menu4 [] |
| static uint8_t | uartPolling_menu5 [] = "\n\rPolling mode is running now! Please press \'c\' and choose another mode \n\r" |
| static uint8_t | uart_interrupt_menu [] |
| static uint8_t | uart_interrupt_menu1 [] = "UART interrupt menu 1 \n\r" |
| static uint8_t | uart_interrupt_menu2 [] = "UART interrupt menu 2 \n\r" |
| static uint8_t | uart_interrupt_menu3 [] = "UART interrupt menu 3 \n\r" |
| static uint8_t | uart_interrupt_menu4 [] = "UART interrupt menu 4 \n\r" |
| static uint8_t | dmaChannelNumTx |
| static uint8_t | dmaChannelNumRx |
| static uint8_t | uartDMA_menu [] |
| static volatile uint32_t | channelTC |
| static volatile uint32_t | channelTCErr |
| static FunctionalState | isDMATx = ENABLE |