
UM10800
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
User manual
Rev. 1.2 — 5 October 2016
398 of 487
27.1 How to read this chapter
The USART ROM driver routines are available on all LPC82x parts.
27.2 Features
•
Send and receive characters in asynchronous or synchronous mode
•
Send and receive multiple characters (line) in asynchronous or synchronous UART
mode
27.3 General description
The UART API handles sending and receiving characters using any of the USART blocks
in asynchronous mode.
Remark:
Because all USARTS share a common fractional divider, the uart_init routine
returns the value for the common divider.
UM10800
Chapter 27: LPC82x ROM API USART driver routines
Rev. 1.2 — 5 October 2016
User manual
Fig 60. USART driver routines pointer structure
Ptr to ROM Driver table
Ptr to Device Table 2
Ptr to Device Table 1
Ptr to Device Table 1
…
Ptr to Device Table n
UART driver routines function table
ROM Driver Table
0x1FFF 1FF8
+0x00
+0x04
+0x08
+0x10
+0x14
+0x24
+0x0C
Ptr to Device Table 3
Ptr to Device Table 4
Ptr to UART driver routines
uart_get_mem_size
uart_isr
...
...