Datasheet

Section 12 Event Link Controller
REJ09B0465-0300 Rev. 3.00 Page 389 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
12.3 Operation
12.3.1 Relation between Interrupt Processing and Event Linking
The modules incorporated in this LSI are provided with the interrupt request status flags and the
bits to enable/disable these interrupt requests. When an interrupt request is generated in a module,
the corresponding interrupt request status flag is set. If the corresponding interrupt request is
enabled then, the interrupt requested is issued to the CPU.
In contrast, the ELC uses interrupt requests (hereinafter referred to as events) generated in
modules as event signals that directly activate other modules. This means that the event signal can
be used whether or not the interrupt signal is enabled. Figure 12.2 shows the relation between the
interrupt processing and ELC.
Interrupt request
(event)
Status flag
Interrupt enable control
Interrupt control
circuit
Port
External pin
ELC
CPU
Module 1
Module n
Module
Figure 12.2 Relation between Interrupt Processing and ELC
12.3.2 Event Linkage
When an event has been set as a trigger in the event-link setting registers (ELSR0 to ELSR32) and
then occurs, that event is linked with the corresponding module (activate the module). Only one
type of event can be connected with one module. When a module is to be activated by the event-
link controller, the operation of the module must be set up in advance. Table 12.4 lists the
operations of modules when an event is input.