Skip to main content
Renesas Singapore - Knowledgebase

Specifying the same interrupt function with the difference interrupt source (RL78 CC-RL)

Latest Updated:12/05/2016


Using the RL78 CC-RL compiler, how to specify different interrupt sources that will use the same interrupt function?


Multiple interrupt requests to one function cannot be specified on the source file. Instead, have all interrupt function sources point to an interrupt vector using the -vectn option of the CC-RL linker.
The interrupt vector address : 0x04,0x06,0x0a
The interrupt function (C language) : dummy_int
In case for the above, please set the function as follows.
Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family