User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 593
UG585 (v1.11) September 27, 2016
Chapter 19: UART Controller
The interrupt registers and bit fields are summarized in Table 19-2.
Interrupt Mask Register
Intrpt_mask_reg0 is a read-only interrupt mask/enable register that is used to mask individual raw
interrupts in the Chnl_int_sts_reg0 register:
If the mask bit = 0, the interrupt is masked.
If the mask bit = 1, the interrupt is enabled.
This mask is controlled by the write-only Intrpt_en_reg0 and Intrpt_dis_reg0 registers. Each
associated enable/disable interrupt bit should be set mutually exclusive (e.g., to enable an interrupt,
write 1 to Intrpt_en_reg0[x] and write 0 to Intrpt_dis_reg0[x]).
Channel Status
These status bits are in the Channel_sts_reg0 register.
TACTIVE: Transmitter state machine active status. If in an active state, the transmitter is
currently shifting out a character.
RACTIVE: Receiver state machine active status. If in an active state, the receiver is has detected
a start bit and is currently shifting in a character.
FDELT: Receiver flow delay trigger continuous status. The FDELT status bit is used to monitor the
RxFIFO level in comparison with the flow delay trigger level.
Non-FIFO Interrupts
These interrupt status bits are in the Chnl_int_sts_reg0 register.
TIMEOUT: Receiver Timeout Error interrupt status. This event is triggered whenever the receiver
timeout counter has expired due to a long idle condition.
PARE: Receiver Parity Error interrupt status. This event is triggered whenever the received parity
bit does not match the expected value.
FRAME: Receiver Framing Error interrupt status. This event is triggered whenever the receiver
fails to detect a valid stop bit. Refer to section 19.2.7 Receiver Data Capture.
Table 19-2: UART Interrupt Status Bits
Interrupt Register Names and Bit Assignments
14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
uart.Intrpt_en_reg0
uart.Intrpt_dis_reg0
uart.Intrpt_mask_reg0
uart.Chnl_int_sts_reg0
x x TOVR TNFUL TTRIG DMSI TIME
OUT
PARE FRAME ROVR TFUL TEMPTY RFUL REMPTY RTRIG
uart.Channel_sts_reg0
TNFUL TTRIG FDELT TACTIVE RACTIVE X X X X X TFUL TEMPTY RFUL REMPTY RTRIG