Interrupt Sources; Interrupts In Normal Serial Communication Interface Mode - Renesas H8S/2100 Series Hardware Manual

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

Section 14 Serial Communication Interface (SCI)
14.8

Interrupt Sources

14.8.1

Interrupts in Normal Serial Communication Interface Mode

Table 14.12 shows the interrupt sources in normal serial communication interface mode. A
different interrupt vector is assigned to each interrupt source, and individual interrupt sources can
be enabled or disabled using the enable bits in SCR.
When the TDRE flag in SSR is set to 1, a TXI interrupt request is generated. When the TEND flag
in SSR is set to 1, a TEI interrupt request is generated.
When the RDRF flag in SSR is set to 1, an RXI interrupt request is generated. When the ORER,
PER, or FER flag in SSR is set to 1, an ERI interrupt request is generated.
A TEI interrupt is requested when the TEND flag is set to 1 while the TEIE bit is set to 1. If a TEI
interrupt and a TXI interrupt are requested simultaneously, the TXI interrupt has priority for
acceptance. However, note that if the TDRE and TEND flags are cleared simultaneously by the
TXI interrupt routine, the SCI cannot branch to the TEI interrupt routine later.
Table 14.12 SCI Interrupt Sources
Channel
Name
1
ERI1
RXI1
TXI1
TEI1
Rev. 1.00 May 09, 2008 Page 420 of 954
REJ09B0462-0100
Interrupt Source
Receive error
Receive data full
Transmit data empty
Transmit end
Interrupt Flag
ORER, FER, PER
RDRF
TDRE
TEND
Priority
High
Low

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents