Hardware UART

Table 17-8. IIR Bit Definitions (Sheet 2 of 2)

 

 

 

Physical Address

 

 

Interrupt Identification Register

 

PXA255 Processor Hardware UART

 

 

 

 

 

0x4160_0008

 

 

 

 

 

 

 

(IIR)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

reserved

 

 

 

 

 

 

 

 

 

 

FIFOES

 

reserved

ABL

TOD

IID

 

nIP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset

?

? ? ? ? ? ? ?

? ? ? ? ? ? ? ? ? ? ? ?

? ? ? ? 0 0 ? 0 0 0 0 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bits

 

 

Name

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

ABL

 

Autobaud Lock (Section 17.4.4):

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 = Autobaud circuitry has not programmed Divisor Latch registers (DLR).

 

 

 

 

 

 

 

 

 

 

 

 

 

1 = Divisor Latch registers (DLR) programmed by auto-baud circuitry.

 

 

 

 

 

 

 

 

3

 

 

TOD

 

Time Out Detected (See Section 17.4.2.1.2, “Character Timeout Interrupt”):

 

 

 

 

 

 

 

 

 

 

0 = No time out interrupt is pending

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 = Time out Interrupt is pending. (FIFO mode only)

 

 

 

 

 

 

 

 

 

 

Interrupt Source Encoded:

 

 

00

– Modem status (CTS, DSR, RI, DCD modem signals changed state)

2:1

IID[1:0]

01

– Transmit FIFO requests data

10

– Received data available

 

 

 

 

11 – Receive error (overrun, parity, framing, break, FIFO error.

 

 

 

See Table 17-17)

0

nIP

Interrupt Pending:

0 = Interrupt is pending. (Active low)

 

 

1 = No interrupt is pending

Table 17-9shows the priority, type, and source of the Interrupt Identification register interrupts. It also gives the reset condition used to deassert the interrupts. Bits (0-3) of the IIR register represent priority encoded interrupts. Bits (4-7) do not.

Table 17-9. Interrupt Identification Register Decode (Sheet 1 of 2)

Interrupt ID bits

 

 

 

Interrupt SET/RESET Function

 

 

 

 

 

 

 

 

 

 

 

3

2

1

 

0

Priority

Type

Source

RESET Control

 

 

 

 

 

 

 

 

 

 

nIP

0

0

0

 

1

-

None

No interrupt is pending.

 

 

 

 

 

 

 

 

 

 

IID[11]

0

1

1

 

0

Highest

Receiver Line

Overrun error, parity error, framing

Reading the Line Status register.

 

Status

error, break interrupt.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Non-FIFO mode – Receive buffer is

Non-FIFO mode – Reading the

 

 

 

 

 

 

Second

Received Data

full.

Receiver Buffer register.

IID[10]

0

1

0

 

0

FIFO mode – Trigger threshold was

FIFO mode – Reading bytes until

 

Highest

Available.

reached.

receiver FIFO drops below trigger

 

 

 

 

 

 

 

 

 

threshold or setting RESETRF bit in

 

 

 

 

 

 

 

 

 

FIFO Control register (FCR).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Second

Character

FIFO mode only: At least 1 character

Reading the receiver FIFO or setting

TOD

1

1

0

 

0

Timeout

is left in the receive buffer indicating

 

 

 

 

 

 

Highest

indication.

trailing bytes.

RESETRF bit in FCR.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Non-FIFO mode: Transmit Holding

Reading the IIR (if the source of the

 

 

 

 

 

 

 

 

register empty

interrupt) or writing into the Transmit

IID[01]

0

0

1

 

0

Third

Transmit FIFO

 

Holding register.

 

Highest

Data Request

FIFO mode: transmit FIFO has half or

Reading the IIR (if the source of the

 

 

 

 

 

 

 

 

less than half data.

interrupt) or writing to the transmitter

 

 

 

 

 

 

 

 

 

FIFO.

 

 

 

 

 

 

 

 

 

 

17-14

Intel® PXA255 Processor Developer’s Manual

Page 586
Image 586
Intel PXA255 manual Interrupt Identification Register Decode Sheet 1, 0x41600008, Priority Type Source Reset Control, Tod