What was the reason why the interrupt processing was not performed?
Last Updated:12/26/2017
Question:
What was the reason why the interrupt processing was not performed even though interrupt requests could be generated?
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 |