English
Language : 

SH7040 Datasheet, PDF (570/923 Pages) Renesas Technology Corp – Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
14.4 SCI Interrupt Sources and the DMAC/DTC
The SCI has four interrupt sources: transmit-end (TEI), receive-error (ERI), receive-data-full
(RxI), and transmit-data-empty (TxI). Table 14.12 lists the interrupt sources and indicates their
priority. These interrupts can be enabled and disabled by the TIE, RIE, and TEIE bits in the serial
control register (SCR). Each interrupt request is sent separately to the interrupt controller.
TxI is requested when the TDRE bit in the SSR is set to 1. TxI can start the direct memory access
controller (DMAC) or the data transfer controller (DTC) to transfer data. TDRE is automatically
cleared to 0 when the DMAC or the DTC writes data in the transmit data register (TDR).
RxI is requested when the RDRF bit in the SSR is set to 1. RxI can start the DMAC or the DTC to
transfer data. RDRF is automatically cleared to 0 when the DMAC or the DTC reads the receive
data register (RDR).
ERI is requested when the ORER, PER, or FER bit in the SSR is set to 1. ERI cannot start the
DMAC or the DTC.
TEI is requested when the TEND bit in the SSR is set to 1. TEI cannot start the DMAC or the
DTC. Where the TxI interrupt indicates that transmit data writing is enabled, the TEI interrupt
indicates that the transmit operation is complete.
Table 14.12 SCI Interrupt Sources
Interrupt Source
ERI
RxI
TxI
TEI
Description
Receive error (ORER, PER, or FER)
Receive data full (RDRF)
Transmit data empty (TDRE)
Transmit end (TEND)
DMAC/DTC Activation
No
Yes
Yes
No
Priority
High
Low
532