![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "chip.h"#include "board.h"#include "string.h"Go to the source code of this file.
Macros | |
| #define | UART_RB_SIZE 64 |
Functions | |
| void | UART_IRQHandler (void) |
| UART interrupt handler using ring buffers. | |
| int | main (void) |
| Main UART program body. | |
Variables | |
| STATIC RINGBUFF_T | txring |
| STATIC RINGBUFF_T | rxring |
| static uint8_t | rxbuff [UART_RB_SIZE] |
| static uint8_t | txbuff [UART_RB_SIZE] |
| const char | inst1 [] = "LPC13xx UART example using ring buffers\r\n" |
| const char | inst2 [] = "Press a key to echo it back or ESC to quit\r\n" |