SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 129
Version 1.9
0x2: 2a - Receive Data Available (RDA).
0x6: 2b - Character Time-out Indicator (CTI).
0x1: 3a - THRE Interrupt.
0x7: 3b
– TEMT Interrupt
Other: Reserved
0
INTSTATUS
Interrupt status. The pending interrupt can be determined by evaluating
UARTn_II[3:1].
0: At least one interrupt is pending.
1: No interrupt is pending.
R
1
Bits UARTn_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 UARTn_II[3:0], an interrupt handler routine can determine the cause of the interrupt and how to
clear the active interrupt. The UARTn_II register must be read in order to clear the interrupt prior to exiting the Interrupt
service routine.
Interrupt
UARTn_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 UARTn_LS register
RDA
0100
2
nd
RX data in FIFO reached trigger level (FCR0=1)
Read UARTn_RB register
or UART 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 UARTn_RB register
THRE
0010
3
rd
THRE
Read UARTn_II register
(if source of interrupt) or
Write THR register
TEMT
1110
3
rd
TEMT
Read UARTn_II register
(if source of interrupt) or
Write THR register
Содержание SN32F107
Страница 34: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 34 Version 1 9 0 Reserved R 0...
Страница 180: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 180 Version 1 9 20 2 LQFP 64 PIN...
Страница 181: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 181 Version 1 9 20 3 LQFP 80 PIN...