SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 166
Version 2.0
31:11
Reserved
R
0
10
TXERRIF
TXERR interrupt flag
0: TXERR has not occurred.
1: TXERR has occurred and interrupt is enabled.
R
0
9
ABTOIF
Auto-baud time-out interrupt flag.
0: Auto-baud has not timed-out
1: Auto-baud has timed out and interrupt is enabled.
R
0
8
ABEOIF
End of auto-baud interrupt flag
0: Auto-baud has not finished.
1: Auto-baud has finished successfully and interrupt is enabled.
R
0
7:6
FIFOEN
register.
R
1
5:4
Reserved
R
0
3:1
INTID[2:0]
Interrupt identification which identifies an interrupt corresponding to the
USARTn RX FIFO.
0x3: 1 - Receive Line Status (RLS).
0x2: 2a - Receive Data Available (RDA).
0x6: 2b - Character Time-out Indicator (CTI).
0x1: 3a - THRE Interrupt.
0x0: 4 - Modem status
0x7: 3b
– TEMT Interrupt
Other: Reserved
R
0
0
INTSTATUS
Interrupt status. The pending interrupt can be determined by evaluating
USARTn_II[3:1].
0: At least one interrupt is pending.
1: No interrupt is pending.
R
1
Bits USARTn_II[9:8] are set by the auto-baud function and signal a time-out or end of auto-baud condition. The
auto-baud interrupt conditions are cleared by setting the corresponding Clear bits in the Auto-baud Control Register.
Given the status of USARTn_II[3:0], an interrupt handler routine can determine the cause of the interrupt and how to
clear the active interrupt. The USARTn_II register must be read in order to clear the interrupt prior to exiting the
Interrupt service routine.
Interrupt USARTn_II
[3:0]
Priority
Interrupt Source
Interrupt Reset
RLS
0110
Highest
Overrun error (OE)
,
Parity error (PE),
Framing error (FE)
or Break interrupt (BI)
Read USARTn_LS
register
RDA
0100
2
nd
RX data in FIFO reached trigger level (FCR0=1)
Read USARTn_RB
register or USART FIFO
drops below trigger level
CTI
1100
2
nd
Minimum of one character in the RX FIFO and no
character input or removed during a time period
depending on how many characters are in FIFO and
what the trigger level is set at 3.5 to 4.5 character
times.
Read USARTn_RB
register
THRE
0010
3
rd
THRE
Read USARTn_II register
(if source of interrupt) or
Write THR register
MS
0000
Lowest
CTS, DSR, RI, or DCD.
MSR Read
TEMT
1110
3
rd
TEMT
Read USARTn_II register
(if source of interrupt) or
Write THR register
Содержание SN32F755
Страница 218: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 218 Version 2 0 22 2 LQFP 64 PIN...
Страница 220: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 220 Version 2 0 22 4 QFN 46 PIN...
Страница 221: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 221 Version 2 0 22 5 QFN 33 PIN 5x5...