| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
uart.c File Reference
`#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"