Datasheet

Table Of Contents
Section 13 Serial Communication Interface
REJ09B0140-0900 Rev. 9.00 Page 461 of 846
Sep 16, 2010
H8S/2215 Group
13.9 Interrupts
13.9.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 DMAC or
the DTC to perform data transfer. The TDRE flag is cleared to 0 automatically when data is
transferred by the DMAC or 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
request can activate the DMAC or the DTC to transfer data. The RDRF flag is cleared to 0
automatically when data is transferred by the DMAC or the DTC
*
.
A TEI interrupt is requested when the TEND flag is set to 1 and 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, if the TDRE and TEND flags are cleared simultaneously by the TXI
interrupt routine, the SCI cannot branch to the TEI interrupt routine later.
Note: * The Flags are automatically cleared by the DTC when the DTC's DISEL bit is cleared
to 0 and the transfer counter value is not 0.