AP513 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 20 -
http://www.acromag.com
- 20 -
www.acromag.com
in INT1 bits [10:8]. However, since the UART interrupts have a higher
priority, all UART channel 0 interrupts must first be cleared before any of
the global interrupts can be reported in INT1 bits [10:8].
All bits start up zero. A special interrupt condition is generated by the
XR17V354 upon awakening from sleep after all four channels were put to
sleep mode earlier. This wake-up interrupt is cleared by a read to the INT0
register.
Table 3.5 UART Channel Interrupt
Source Encoding
Priority BIT[N+2] BIT[N+1] BIT[N]
Interrupt Source(s)
X
0
0
0
None or wake-up indicator
(wake up indicator is
reported in channel 0 only)
1
0
0
1
RXRDY and RX Line Status
(logic OR of LSR[4:1])
2
0
1
0
RXRDY Time-out
3
0
1
1
TXRDY or THR empty
4
1
0
0
MSR, RTS/CTS delta or
Xoff/Xon detected or special
char. detected
5
1
0
1
Reserved
6
1
1
0
MPIO pin(s). Reported in
channel 0 only.
7
1
1
1
Timer/Counter. Reported in
channel 0 only.
3.2.1.1 Interrupt Clearing
•
Wake-up Indicator is cleared by reading the INT0 register.
•
RXRDY and RXRDY Time-out is cleared by reading data in the Rx
FIFO.
•
Rx Line Status Interrupt clears after reading the LSR register that is
in the UART channel register set.
•
TXRDY interrupt clears after reading the ISR register that is in the
UART channel register set.
•
Modem Status Register interrupt clears after reading the MSR
register that is in the UART channel register set.
•
RTS/CTS delta interrupt clears after reading the MSR register that in
the UART channel register set.
•
Xoff/Xon delta and special character detect interrupt clears after
reading the ISR that is in the UART channel register set.
•
TIMER Time-out interrupt clears after reading the TIMERCNTL
register that is in the Device Configuration register set.
•
MPIO interrupt clears after reading the MPIOLVL register that is in
the Device Configuration register set.