Renesas RL78/G1P Hardware User Manual page 592

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
14.4 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.
Figure 14-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 14-3 Correspondence Between Values Set to
ELSELRn (n = 00 to 09) Registers and Operation of Link Destination Peripheral Functions at Reception).
Peripheral function (Event output side)
Interrupt request
(Event signal)
Interrupt enable
control
Note Not available depending on the peripheral function.
Table 14-4 lists the Response of Peripheral Functions That Receive Events.
Table 14-4. Response of Peripheral Functions That Receive Events
Event
Event Link Destination
Receiver
Function
No.
1
A/D converter
2
D/A converter of channel 0 Real time output (channel 0)
3
D/A converter of channel 1 Real time output (channel 1)
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 14-3. Relationship Between Interrupt Handling and ELC
Note
Status flag
Note
Operation after Event Reception
A/D conversion
CHAPTER 14 EVENT LINK CONTROLLER (ELC)
ELC
Interrupt
controller
An event from the ELC is directly used as a hardware trigger
of A/D conversion.
D/A conversion of channel 0 is started after 2 or 3 cycles of
f
after an ELC event is generated.
CLK
D/A conversion of channel 0 is started after 2 or 3 cycles of
f
after an ELC event is generated.
CLK
Peripheral function
(Event receive side)
CPU
Response
573

Advertisement

Table of Contents
loading

Table of Contents