Interrupt Flag Set Timing for Data Recepion in Mode 1
When the last stop bit is detected after data reception/transfer is completed, the ORE, FRE, and
RDRF flags are set to issue an interrupt request to the CPU. Since the length of data items that
can be received is eight bits, the data at the last bit, bit 9, indicates an address or that data is
invalid. If ORE or FRE is active, the SIDR data is invalid.
Data
ORE, FRE
RDRF
Reception interrupt
Interrupt Flag Set Timing for Data Reception in Mode 2
When the last data item (D7) is detected after data reception/transfer is completed, the ORE
and RDRF flags are set to issue an interrupt request to the CPU. If ORE is active, the SIDR
data is invalid.
Data
ORE
RDRF
Reception interrupt
Figure 10.9-2 ORE, FRE, and RDRF Set Timing (Mode 1)
D7
Figure 10.9-3 ORE and RDRF Set Timing (Mode 2)
D5
10.9 UART Interrupt Occurrence and Flag Setting Timing
Address/
Stop
data
D6
D7
261