RL78/G13
Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00
Page 31 of 51
May 28, 2015
5.8.7
Setting up External Interrupt Input
Figure 5.8 shows the flowchart for setting up the external interrupt input.
Figure 5.8 External Interrupt Input Setup
R_INTC_Create
return
PMK0 bit
1
PIF bit
0
PPR10 bit
1
PPR00 bit
1
EGN0
01H
Disable INTP0 interrupts
Clear INTP0 interrupt request flag
Set INTP0 interrupt priority level to 3
Select falling edge as INTP0 valid
edge