General UART Definitions
MOTOROLA
Universal Asynchronous Receiver/Transmitters (UART) Modules
27-7
There is another RTS interrupt that is not programmable, however it asserts the RTS Delta (RTSD) bit
when the RTS pin changes state. The status bit RTSD asserts the UART_MINT_RTS interrupt when the
RTS delta interrupt enable
=
1. This is an asynchronous interrupt. The RTSD bit is cleared by writing 1 to
it. Writing 0 to the RTSD bit has no effect.
27.4.3 DTR—Data Terminal Ready
The data terminal ready signal to the UART2_DTR indicates the general readiness of the data terminal
equipment (DTE). When the connection between the UART and the DTE is established, the DTR signal
must remain active throughout the whole connection time. The DTR signal is only available on UART2. In
general, the DTR and DSR signals establish the connection and the RTS and CTS signals control the data
transfer and the transfer direction (for half-duplex configurations). The DTR signal is like a main
switch—when the DTR signal is inactive the RTS and CTS signals have no effect and the modem does not
respond to control signals. This functionality is not implemented in the hardware and is the result of how
the registers in the UART are programmed.
27.4.4 DTR Edge Triggered Interrupt
The DTR signal can be used to generate an interrupt on a selectable edge. To enable the DTR signal to
generate an interrupt, set the data terminal ready interrupt enable (DTREN) bit in UART Control Register
3 (UCR3_1/UCR3_2). Clear the DTRF bit by writing 1 to it. Writing 0 to the DTRF bit has no effect.
Write to the DTR interrupt edge control (DPEC) field in UCR3_1/UCR3_2 to select the edge that
generates an interrupt. When the DPEC field is set to 00b and DTREN
=
1, the interrupt occurs on the
rising edge (default). When the bits are set to 01b and DTREN
=
1, the interrupt occurs on the falling edge.
When the bits are set to 1Xb and DTREN
=
1, the interrupt occurs on either edge. This is a synchronous
interrupt.
1–>0
1
1
X
1
Either edge
0
0–>1
1
1
X
1
Either edge
0
Table 27-5. DTR Edge Triggered Interrupt Truth Table
DTR
DTREN
DPEC [1]
DPEC [0]
DTRF
Interrupt Occurs On…
UART_MINT_DTR
X
0
X
X
0
Interrupt disabled
1
1–>0
1
0
0
0
Rising edge
1
0–>1
1
0
0
1
Rising edge
0
1–>0
1
0
1
1
Falling edge
0
0–>1
1
0
1
0
Falling edge
1
1–>0
1
1
X
1
Either edge
0
0–>1
1
1
X
1
Either edge
0
Table 27-4. RTS Edge Triggered Interrupt Truth Table (Continued)
RTS
RTSEN
RTEC [1]
RTEC [0]
RTSF
Interrupt Occurs On…
UART_MINT_RTS
Содержание DragonBall MC9328MX1
Страница 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Страница 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Страница 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Страница 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Страница 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Страница 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Страница 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Страница 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Страница 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Страница 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Страница 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Страница 542: ...20 64 MC9328MX1 Reference Manual MOTOROLA Multimedia Card Secure Digital Host Controller Module MMC SD ...
Страница 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Страница 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Страница 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Страница 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Страница 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Страница 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Страница 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Страница 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...