SLAAEF9 November 2023 MSPM0C1104 , MSPM0G3507 , MSPM0L1306
Some RL78 MCUs have an event link controller (ELC) that mutually connects (links) events output from each peripheral function. By linking events, RL78 MCUs can coordinate operation between peripheral functions directly without going through the CPU.
Figure 3-7 shows the ELC block diagram. The ELSELRn register (some devices use the ELISELn and ELOSELn registers) links each event signal to an operation of an event-receiving peripheral function (link destination peripheral function) after reception. Different ELSELRn registers represent different event generator and the values set to ELSELRn registers determine the operation of link destination peripheral functions.
Figure 3-8 shows the relationship between interrupt handling and ELC. 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 the signal 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.