Download Print this page

Interrupt Sources - Renesas H8S Family Hardware Manual

Advertisement

13.8

Interrupt Sources

13.8.1
Interrupts in Normal Serial Communication Interface Mode
Table 13.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. A TXI interrupt can activate the DTC to
allow data transfer. The TDRE flag is automatically cleared to 0 at data transfer by the DTC.
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. An RXI interrupt can
activate the DTC to allow data transfer. The RDRF flag is automatically cleared to 0 at data
transfer by the DTC.
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 13.12 SCI Interrupt Sources
Channel
Name
3
ERI3
RXI3
TXI3
TEI3
1
ERI1
RXI1
TXI1
TEI1
Interrupt Source
Receive error
Receive data full
Transmit data empty
Transmit end
Receive error
Receive data full
Transmit data empty
Transmit end
Section 13 Serial Communication Interface (SCI)
Interrupt Flag
ORER, FER, PER
RDRF
TDRE
TEND
ORER, FER, PER
RDRF
TDRE
TEND
Rev. 1.00 Mar. 12, 2008 Page 487 of 1178
DTC Activation
Priority
Not possible
High
Possible
Possible
Not possible
Not possible
Possible
Possible
Not possible
Low
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472