Pular para o conteúdo principal
Knowledgebase
Home
Renesas Brasil - Knowledgebase

How to interrupt processing when interrupt request generates?

Latest Updated:10/10/2006

Question:

Even though interrupt requests can be generated, the interrupt processing is not performed.

Answer:

Please select the interrupt priority level from among 1 to 7 and set the I flag to "1(Interrupt Enable)".

In addition, in the description of the interrupt processing function in C language, you need to declare by "#pragma INTERRUPT interrupt function name" and register the interrupt to be used in the interrupt vector table in the section file(sect30.inc).

Refer to "2.5 Interrupt Processing" in "Programming Guidelines C Language" for detail.

"Programming Guidelines C Language" can be downloaded from the Application Notes.

Suitable Products
R8C/18
R8C/19
R8C/1A
R8C/1B
R8C/20
R8C/21
R8C/22
R8C/23
R8C/24
R8C/25
R8C/26
R8C/27
R8C/28
R8C/29
R8C/2A
R8C/2B
R8C/2C
R8C/2D
R8C/2E
R8C/2F
R8C/2G
R8C/2H
R8C/2J
R8C/2K
R8C/2L
R8C/32C
R8C/33C
R8C/34C
R8C/35C
R8C/36C
R8C/38C
R8C/3GC
R8C/3JC
R8C/32D
R8C/33D
R8C/35D
R8C/3GD
R8C/33T
R8C/38A
R8C/L35C
R8C/L36C
R8C/L38C
R8C/L3AC