Interrupt Requests - NEC V850ES/SA2 UPD703201 Manual

32-bit single-chip microcontrollers
Table of Contents

Advertisement

12.2.4 Interrupt requests

The following three types of interrupt requests are generated from UARTn.
• Reception error interrupt (INTSREn)
• Reception completion interrupt (INTSRn)
• Transmission completion interrupt (INTSTn)
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.
(1) Reception error interrupt (INTSREn)
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 ASISn register. Whether a reception error interrupt (INTSREn) or a
reception completion interrupt (INTSRn) is generated when an error occurs can be specified using the ISRMn
bit of the ASIMn register.
When reception is disabled, no reception error interrupt is generated.
(2) Reception completion interrupt (INTSRn)
When reception is enabled, a reception completion interrupt is generated when data is shifted in to the receive
shift register and transferred to the receive buffer register (RXBn).
A reception completion interrupt request can be specified to be generated in place of a reception error interrupt
using the ISRMn bit of the ASIMn register even when a reception error has occurred.
When reception is disabled, no reception completion interrupt is generated.
(3) Transmission completion interrupt (INTSTn)
A transmission completion interrupt is generated when one frame of transmit data containing 7-bit or 8-bit
characters is shifted out from the transmit shift register.
CHAPTER 12 SERIAL INTERFACE FUNCTION
Table 12-1. Generated Interrupts and Default Priorities
Interrupt
Reception error
Reception completion
Transmission completion
Preliminary User's Manual U15905EJ1V0UD
Priority
1
2
3
309

Advertisement

Table of Contents
loading

Table of Contents