HD6412340 HITACHI [Hitachi Semiconductor], HD6412340 Datasheet - Page 482

no-image

HD6412340

Manufacturer Part Number
HD6412340
Description
H8S/2345 F-ZTAT Hardware Manual
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412340TE20
Manufacturer:
SANYO
Quantity:
20 000
Part Number:
HD6412340TE20
Manufacturer:
HITACHI/日立
Quantity:
20 000
12.4
The SCI has four interrupt sources: the transmit-end interrupt (TEI) request, receive-error interrupt
(ERI) request, receive-data-full interrupt (RXI) request, and transmit-data-empty interrupt (TXI)
request. Table 12.12 shows the interrupt sources and their relative priorities. Individual interrupt
sources can be enabled or disabled with the TIE, RIE, and TEIE bits in the SCR. Each kind of
interrupt request is sent to the interrupt controller independently.
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
perform data transfer. The TDRE flag is cleared to 0 automatically when data transfer is
performed by the DTC. The DTC cannot be activated by a TEI interrupt request.
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 perform data transfer. The RDRF flag is cleared to 0 automatically when data
transfer is performed by the DTC. The DTC cannot be activated by an ERI interrupt request.
Table 12.12 SCI Interrupt Sources
Channel
0
1
Note: * This table shows the initial state immediately after a reset. Relative priorities among
A TEI interrupt is requested when the TEND flag is set to 1 while the TEIE bit is set to 1. The
TEND flag is cleared at the same time as the TDRE flag. Consequently, if a TEI interrupt and a
TXI interrupt are requested simultaneously, the TXI interrupt may be accepted first, with the
result that the TDRE and TEND flags are cleared. Note that the TEI interrupt will not be accepted
in this case.
468
channels can be changed by means of ICR and IPR.
SCI Interrupts
Interrupt
Source
ERI
RXI
TXI
TEI
ERI
RXI
TXI
TEI
Description
Interrupt due to receive error (ORER, FER,
or PER)
Interrupt due to receive data full state (RDRF)
Interrupt due to transmit data empty state
(TDRE)
Interrupt due to transmission end (TEND)
Interrupt due to receive error (ORER, FER,
or PER)
Interrupt due to receive data full state (RDRF)
Interrupt due to transmit data empty state
(TDRE)
Interrupt due to transmission end (TEND)
DTC
Activation
Not possible
Possible
Possible
Not possible
Not possible
Possible
Possible
Not possible
Priority*
High
Low

Related parts for HD6412340