Uart1 Interrupt Enable Register (U1Ier - 0Xe001 0004, When Dlab = 0); User Manual - Philips LPC2101 User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 104: Baudrates available when using 20 MHz peripheral clock (PCLK = 20 MHz)
Desired
baudrate
7200
9600
19200
38400
56000
57600
112000
115200
224000
448000
[1]
[2]
[3]
10.3.6 UART1 Interrupt Enable Register (U1IER - 0xE001 0004, when
DLAB = 0)
The U1IER is used to enable UART1 interrupt sources.
Table 105: UART1 Interrupt Enable Register (U1IER - address 0xE001 0004, when DLAB = 0)
Bit
0
1
2
3

User manual

MULVAL = 0 DIVADDVAL = 0
U1DLM:U1DLL
[2]
[1]
hex
dec
00AE
174
0082
130
0041
65
0021
33
0021
22
0016
22
000B
11
000B
11
0006
6
0003
3
Values in the row represent decimal equivalent of a 16 bit long content (DLM:DLL).
Values in the row represent hex equivalent of a 16 bit long content (DLM:DLL).
Refers to the percent error between desired and actual baudrate.
bit description
Symbol
Value
RBR
Interrupt
Enable
0
1
THRE
Interrupt
Enable
0
1
RX Line
Interrupt
Enable
0
1
Modem
Status
Interrupt
0
Enable
1
Rev. 01 — 12 January 2006
Optimal MULVAL & DIVADDVAL
[3]
% error
U1DLM:U1DLL
[1]
dec
0.2240
124
0.1600
93
0.1600
31
1.3760
12
1.4400
13
1.3760
19
1.4400
6
1.3760
4
7.5200
3
7.5200
2
Description
U1IER[0] enables the Receive Data Available
interrupt for UART1. It also controls the Character
Receive Time-out interrupt.
Disable the RDA interrupts.
Enable the RDA interrupts.
U1IER[1] enables the THRE interrupt for UART1.
The status of this interrupt can be read from
U1LSR[5].
Disable the THRE interrupts.
Enable the THRE interrupts.
U1IER[2] enables the UART1 RX line status
interrupts. The status of this interrupt can be read
from U1LSR[4:1].
Disable the RX line status interrupts.
Enable the RX line status interrupts.
U1IER[3] enables the modem interrupt. The status
of this interrupt can be read from U1MSR[3:0].
Disable the modem interrupt.
Enable the modem interrupt.
UM10161
Chapter 10: UART1
Fractional
% error
pre-scaler value
MULDIV
MULDIV + DIVADDVAL
5/(5+2)
0.0064
5/(5+2)
0.0064
10/(10+11)
0.0064
7/(7+12)
0.0594
7/(7+5)
0.0160
7/(7+1)
0.0594
7/(7+6)
0.1600
7/(7+12)
0.0594
7/(7+6)
0.1600
5/(5+2)
0.3520
Reset value
0
0
0
0
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
[3]
104

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2103Lpc2102

Table of Contents