Uart1 Line Status Register (U1Lsr - 0Xe001 0014, Read Only); User Manual - Philips LPC2101 User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 111: Modem status interrupt generation
Enable Modem
CTSen
Status
(U1MCR[7])
Interrupt
(U1IER[3])
1
0
1
1
1
1
1
1
1
1
1
1
The auto-CTS function reduces interrupts to the host system. When flow control is
enabled, a CTS1 state change does not trigger host interrupts because the device
automatically controls its own transmitter. Without auto-CTS, the transmitter sends any
data present in the transmit FIFO and a receiver overrun error can result.
illustrates the auto-CTS functional timing.
UART1 Tx
start
bits0..7
CTS1 pin
Fig 20. Auto-CTS functional timing
While starting transmission of the initial character the CTS1 signal is asserted.
Transmission will stall as soon as the pending transmission has completed. The UART will
continue transmitting a 1 bit as long as CTS1 is deasserted (HIGH). As soon as CTS1
gets deasserted transmission resumes and a start bit is sent followed by the data bits of
the next character.

10.3.11 UART1 Line Status Register (U1LSR - 0xE001 0014, Read Only)

The U1LSR is a read-only register that provides status information on the UART1 TX and
RX blocks.
Table 112: UART1 Line Status Register (U1LSR - address 0xE001 0014, read only) bit description
Bit Symbol
Value Description
0
Receiver Data
Ready
(RDR)
0
1
1
Overrun Error
(OE)
0
1

User manual

CTS Interrupt
Delta CTS
Enable
(U1MSR[0])
(U1IER[7])
x
x
0
x
0
x
1
0
1
1
1
x
stop
start
U1LSR[0] is set when the U1RBR holds an unread character and is cleared when
the UART1 RBR FIFO is empty.
U1RBR is empty.
U1RBR contains valid data.
The overrun error condition is set as soon as it occurs. An U1LSR read clears
U1LSR[1]. U1LSR[1] is set when UART1 RSR has a new character assembled and
the UART1 RBR FIFO is full. In this case, the UART1 RBR FIFO will not be
overwritten and the character in the UART1 RSR will be lost.
Overrun error status is inactive.
Overrun error status is active.
Rev. 01 — 12 January 2006
Delta DCD or
Trailing Edge RI or
Delta DSR
(U1MSR[3] or U1MSR[2] or (U1MSR[1]))
1
0
1
0
x
1
bits0..7
stop
UM10161
Chapter 10: UART1
Modem Status
Interrupt
yes
no
yes
no
yes
yes
Figure 20
start
bits0..7
Reset
value
0
0
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
stop
111

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2103Lpc2102

Table of Contents