Nxp Semiconductors UM10237 用户手册

下载
页码 792
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008 
448 of 792
NXP Semiconductors
UM10237
Chapter 17: LPC24XX Universal Asynchronous Receiver/Transmitter
(3)
 
 
4.4 UART1 Interrupt Enable Register (U1IER - 0xE001 0004, when 
DLAB = 0)
The U1IER is used to enable the four UART1 interrupt sources.
 
Table 399: UART1 Divisor Latch LSB Register (U1DLL - address 0xE001 0000 when 
DLAB = 1) bit description
Bit
Symbol
Description
Reset Value
7:0
DLLSB
The UART1 Divisor Latch LSB Register, along with the U1DLM 
register, determines the baud rate of the UART1.
0x01
Table 400: UART1 Divisor Latch MSB Register (U1DLM - address 0xE001 0004 when 
DLAB = 1) bit description
Bit
Symbol
Description
Reset Value
7:0
DLMSB
The UART1 Divisor Latch MSB Register, along with the U1DLL 
register, determines the baud rate of the UART1.
0x00
UART1
baudrate
pclk
16
256
U1DLM
×
U1DLL
+
(
)
×
--------------------------------------------------------------------------------
=
Table 401: UART1 Interrupt Enable Register (U1IER - address 0xE001 0004 when DLAB = 0) 
bit description
Bit
Symbol
Value
Description
Reset 
Value
0
RBR 
Interrupt 
Enable
0
enables the Receive Data Available interrupt for UART1. It 
also controls the Character Receive Time-out interrupt.
0
Disable the RDA interrupts.
1
Enable the RDA interrupts.
1
THRE 
Interrupt 
Enable
enables the THRE interrupt for UART1. The status of this 
interrupt can be read from U1LSR[5].
0
0
Disable the THRE interrupts.
1
Enable the THRE interrupts.
2
RX Line 
Interrupt 
Enable
enables the UART1 RX line status interrupts. The status of 
this interrupt can be read from U1LSR[4:1].
0
0
Disable the RX line status interrupts.
1
Enable the RX line status interrupts.
3
Modem 
Status 
Interrupt 
Enable
enables the modem interrupt. The status of this interrupt 
can be read from U1MSR[3:0].
0
0
Disable the modem interrupt.
1
Enable the modem interrupt.
6:4
-
Reserved, user software should not write ones to reserved 
bits. The value read from a reserved bit is not defined.
NA