User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 594
UG585 (v1.11) September 27, 2016
Chapter 19: UART Controller
DMSI: indicates a change of logic level on the DCD, DSR, RI or CTS modem flow control signals.
This includes High-to-Low and Low-to-High logic transitions on any of these signals.
FIFO Interrupts
The status bits for the FIFO interrupts listed in Table 19-2 are illustrated in Figure 19-9. These
interrupt status bits are in the Channel Status (uart.Channel_sts_reg0) and Channel Interrupt Status
(uart.Chnl_int_sts_reg0) registers with the exception that the [TOVR] and [ROVR] bits are not part of
the uart.Channel_sts_reg0 register.
The FIFO trigger levels are controlled by these bit fields:
uart.Rcvr_FIFO_trigger_level0[RTRIG], a 6-bit field
uart.Tx_FIFO_trigger_level0[TTRIG], a 6-bit field
19.2.11 Modem Control
The modem control module facilitates the control of communication between a modem and the
UART. It contains the Modem Status register, the Modem Control register, the DMSI bit in interrupt
status register, and FDELT in the channel status register. This event is triggered whenever the DCTS,
DDSR, TERI, or DDCD in the modem status register are being set.
The read-only Modem Status register is used to read the values of the clear to send (CTS), data carrier
detect (DCD), data set ready, (DSR) and ring indicator (RI) modem inputs. It also reports changes in
any of these inputs and indicates whether automatic flow control mode is currently enabled. The bits
in the Modem Status register are cleared by writing a 1 to the particular bit.
The read/write only Modem Control register is used to set the data terminal ready (DTR) and request
to send (RTS) outputs, and to enable the Automatic Flow Control Mode register.
By default, the automatic flow control mode is disabled, meaning that the modem inputs and
outputs work completely under software control. When the automatic flow control mode is enabled
by setting the FCM bit in the Modem Control register, the UART transmission and reception status is
automatically controlled using the modem handshake inputs and outputs.
X-Ref Target - Figure 19-9
Figure 19-9: UART RxFIFO and TxFIFO Interrupt
TxFIFO (64 bytes)
Full Interrupt
[TFUL]
Empty Interrupt
[TEMPTY]
Trigger Interrupt
[TTRIG]
RxFIFO (64 bytes)
Full Interrupt
[RFUL]
Overflow Interrupt
[ROVR]
Trigger Interrupt
[RTRIG]
Nearly Full Interrupt
[TNFUL]
Empty Interrupt
[REMPTY]
UG585_c19_12_102912
Overflow Interrupt
[TOVR]
uart.Rcvr_FIFO_trigger_level0
uart.Tx_FIFO_trigger_level0