EasyManua.ls Logo

Renesas RL78/G13 - External Interrupt Input Setup

Renesas RL78/G13
73 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G13 Safety Function (Frequency Detection)
5.8.8 External Interrupt Input Setup
Figure 5.9 shows the flowchart for setting up the external interrupt input.
R_INTC_Create()
return
Disable INTP0 interrupt
PMK0 bit 1
Clear INTP0 interrupt request flag
PIF0 bit 0
Set enable edge of INTP0 to falling edge
EGN0 01H
Set priority level of INTP0 to 1
PPR10 bit
0
PPR00 bit 1
Figure 5.9 External Interrupt Input Setup
R01AN0956EJ0100 Rev. 1.00 Page 37 of 70
Feb. 27, 2012

Table of Contents

Other manuals for Renesas RL78/G13

Related product manuals