Table 16-10. Uartfr Register; Table 16-11. Uartfr Fields; Flag Register (Uartfr) - Sharp LH79524 User Manual

Table of Contents

Advertisement

LH79524/LH79525 User's Guide

16.3.2.3 Flag Register (UARTFR)

UARTFR is the Flag Register. After System Reset, TXFF, RXFF, and BUSY are 0, and
TXFE and RXFE are 1.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
RW
ADDR
BIT NAME
31:8
7
6
RXFF
5
4
RXFE
3
BUSY
2:0

Table 16-10. UARTFR Register

31
30
29
28
27
0
0
0
0
1
RO
RO
RO
RO
RO
15
14
13
12
11
///
0
0
0
0
0
RO
RO
RO
RO
RO
///
Reserved Reading returns 0. Write the reset value.
Transmit FIFO Empty The meaning of this bit depends on the state of the FIFO
Enable bit (UARTLCR_H:FEN). See Section 16.3.2.7.
For UARTLCR_H:FEN = 1 (FIFO enabled)
1 = Transmit FIFO is empty
TXFE
0 = Transmit FIFO not empty
For UARTLCR_H:FEN = 0 (FIFO disabled)
1 = Transmit Holding Register is empty
0 = Transmit Holding Register not empty
Receive FIFO Full The meaning of this bit depends on the state of the FEN bit
in the UARTLCR_H Register (see Section 16.3.2.7).
FIFO disabled = This bit is set when the Receive Holding Register is full.
FIFO enabled = RXFF bit is set when the receive FIFO is full.
Transmit FIFO Full The meaning of this bit depends on the state of the FEN bit
in the UARTLCR_H Register (see Section 16.3.2.7).
TXFF
FIFO disabled = This bit is set when the Transmit Holding Register is full.
FIFO enabled = The TXFF bit is set when the transmit FIFO is full.
Receive FIFO Empty The meaning of this bit depends on the state of the FEN
bit in the UARTLCR_H Register (see Section 16.3.2.7).
FIFO disabled = This bit is set when the Receive Holding Register is empty.
FIFO enabled = The RXFE bit is set when the receive FIFO is empty
UART Busy This bit is set as soon as the transmit FIFO becomes
non-empty, regardless of whether the UART is enabled or not.
1 = UART is busy transmitting data. This bit remains set until the complete byte,
including all Stop bits, has been sent from the shift register.
0 = Not busy
///
Reserved Unpredictable when read; write the reset value.
26
25
24
23
///
0
1
1
0
RO
RO
RO
RO
10
9
8
7
TXFE RXFF TXFF RXFE BUSY
0
0
0
1
RO
RO
RO
RO
UART 0: 0xFFFC0000 + 0x018
UART 1: 0xFFFC1000 + 0x018
UART 2: 0xFFFC2000 + 0x018

Table 16-11. UARTFR Fields

DESCRIPTION
Version 1.0
22
21
20
19
0
0
0
0
RO
RO
RO
RO
6
5
4
3
0
0
1
0
RO
RO
RO
RO
UARTs
18
17
16
0
0
0
RO
RO
RO
2
1
0
///
0
0
0
RO
RO
RO
16-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents