CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U14492EJ3V0UD
425
10.2.4 Interrupt requests
The following three types of interrupt requests are generated from UART0.
•
Reception error interrupt (INTSER0)
•
Reception completion interrupt (INTSR0)
•
Transmission completion interrupt (INTST0)
The default priorities among these three types of interrupt requests is, from high to low, reception error interrupt,
reception completion interrupt, and transmission completion interrupt.
Table 10-1. Generated Interrupts and Default Priorities
Interrupt
Priority
Reception error
1
Reception completion
2
Transmission completion
3
(1) Reception error interrupt (INTSER0)
When reception is enabled, a reception error interrupt is generated according to the logical OR of the three
types of reception errors explained for the ASIS0 register. Whether a reception error interrupt (INTSER0) or
a reception completion interrupt (INTSR0) is generated when an error occurs can be specified according to
the ISRM bit of the ASIM0 register.
When reception is disabled, no reception error interrupt is generated.
(2) Reception completion interrupt (INTSR0)
When reception is enabled, a reception completion interrupt is generated when data is shifted in to the
reception shift register and transferred to the reception buffer register 0 (RXB0).
A reception completion interrupt request can be generated in place of a reception error interrupt according to
the ISRM bit of the ASIM0 register even when a reception error has occurred.
When reception is disabled, no reception completion interrupt is generated.
(3) Transmission completion interrupt (INTST0)
A transmission completion interrupt is generated when one frame of transmit data containing 7-bit or 8-bit
characters is shifted out from the transmission shift register.
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...