Reception Interrupt Generation And Flag Set Timing - Fujitsu F2MCTM-16LX Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

20.5.1

Reception Interrupt Generation and Flag Set Timing

The following are the reception interrupt causes: completion of reception (SSR: RDRF)
and occurrence of a reception error (SSR: PE, ORE, or FRE).
Reception Interrupt Generation and Flag Set Timing
The received data is stored in the RDR register if the first stop bit is detected in mode 0, 1, 2 (if SSM = 1),
3, or the last data bit was read in mode 2 (if SSM = 0).
Each flag is set if the received data is completed (RDRF = 1) and the reception error (PE, ORE, FRE) of the
Serial Status Register (SSR) was set to "1". In this case, if the reception interrupt is enabled (SSR: RIE=1),
reception interrupt occurs.
Note:
If a reception error has occurred, the Reception Data Register (RDR) contains invalid data in each
mode.
Figure 20.5-1 shows the reception operation and flag set timing.
Receive data
(mode 0/3)
Receive data
(mode 1)
Receive data
(mode 2)
*1
PE
RDRF
ORE
(RDRF = "1")
*1: The PE flag will always remain "0" in mode 1 or 3.
*2: ORE only occurs, if next data is transferred before the reception data is read (RDRF=1).
ST: Start Bit SP: Stop Bit A/D: Mode 1 (multiprocessor) address/data selection bit
Note:
The example in Figure 20.5-1 does not show all possible reception options for mode 0. Here it is: "7p1"
and "8N1" (p = "E" [even] or "O" [odd]).
Figure 20.5-1 Reception Operation and Flag Set Timing
ST
D0
ST
D0
D0
, FRE
*2
...
D1
D2
D5
D6
...
D1
D2
D6
D7
...
D1
D2
D4
D5
CHAPTER 20 LIN-UART
D7/P
SP
ST
A/D
SP
ST
D6
D7
D0
Reception interrupt occurs
409

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents