CHAPTER 18 UART
18.5 UART Interrupt
18.5.1
Receive Interrupt Generation and Flag Set Timing
Interrupts during reception are one generated upon completion of reception (SSR0,
SSR1: RDRF) and one generated upon occurrence of a reception error (SSR0, SSR1:
PE, ORE, FRE).
■ Receive Interrupt Generation and Flag Set Timing
When data is received, it is stored in serial input data register 0, 1 (SIDR0, SIDR1) upon detection of the
stop bit (in operation mode 0 or 1) or of the data's last bit (SIDR0, SIDR1: D7) (in operation mode 2).
When a receiving error occurs, an error flag (SSR0, SSR1: PE, ORE, FRE) is set, a receiving data full flag
(SSR0, SSR1: RDRF) is set. If any of the flags is set to the each operation mode, the serial input data
registers 0, 1 (SIDR0, SIDR1) that have received are invalid.
●
Operation mode 0 (Asynchronous normal mode)
The receiving data full flag (SSR0, SSR1: RDRF) is set on detection of the stop bit. When a reception
occurs, the error flag (SSR0, SSR1: PE, ORE, FRE) is set.
●
Operating mode 1 (asynchronous multiprocessor mode)
The receiving data full flag bit (SSR0, SSR1: RDRF) is set when the stop bit is detected. When a reception
error occurs, the error flag (SSR0, SSR1: ORE, FRE) is set. But parity errors (SSR0, SSR1:PE) cannot be
detected.
●
Operation mode 2 (clock synchronizer normal mode)
When the last bit (SIDR0, SIDR1: D7) of the receiving data is detected, the receiving data full flag bit
(SSR0, SSR1: RDRF) is set. When a reception error occurs, the error flag (SSR0, SSR1:ORE) is set.
Neither a parity error (SSR0, SSR1:PE) nor a framing error (SSR0, SSR1:FRE) can be detected.
Figure 18.5-1 shows the timing of receiving operation and the set of flags.
406
FUJITSU MICROELECTRONICS LIMITED
MB90335 Series
CM44-10137-6E