Skip to main content
Knowledgebase
Home
Renesas Singapore - Knowledgebase

Why there's no interrupt generated in INTP0 set as shown below?

Latest Updated: 03/25/2017

Question:

INTP0 is set as shown below but no interrupt is generated.

 
  P0   = 0x00;
  PM0  = 0x02;
  EGP0 = 0x00;  /*Interrupt rising Edge specification*/
  EGN0 = 0x00;  /*Interrupt falling Edge specification*/

Answer:

With this setting, the edge detection would not generate an interrupt at both the rising and falling edges.
To use INTP0, bit 1 of EGO0 or EGNP0 must be set.
Suitable Products
V850 Family