RL78/F13, F14 CHAPTER 20 EVENT LINK CONTROLLER (ELC) (RL78/F14 Only)
R01UH0368EJ0210 Rev.2.10 1472
Dec 10, 2015
20.3 Operation
The path for using an event signal generated by a peripheral function as an interrupt request to the interrupt control circuit
is independent from the path for using it as an ELC event. Therefore, each event signal can be used as an event signal for
operation of an event-receiving peripheral function, regardless of interrupt control.
In addition, event link operation can be performed without being influenced by the presence or absence of a CPU clock
supply. However, the operating clock of a peripheral function needs to be supplied and be in an operational state.
Figure 20-3 shows the relationship between interrupt handling and ELC. The figure show an example of an interrupt
request status flag and a peripheral function possessing the enable bits that control enabling/disabling of such interrupts.
A peripheral function which receives an event from the ELC will perform the operation corresponding to the event-
receiving peripheral function after reception of an event (see Table 20-3 Correspondence Between Values Set to
ELSELRn (n = 00 to 25) Registers and Operation of Link Destination Peripheral Functions at Reception).
Figure 20-3. Relationship Between Interrupt Handling and ELC
Peripheral function (Event output side)
Peripheral function
(Event receive side)
ELC
Interrupt request
(Event signal)
Interrupt enable
control
Interrupt control
circuit
CPU
Status flag