Skip to main content

IAR Embedded Workbench for RL78 5.20

vector

In this section:
Syntax
#pragma vector=vector1[, vector2, vector3, ...]
Parameters

vectorN

The vector number(s) of an interrupt or trap function.

Description

Use this pragma directive to specify the vector(s) of an interrupt or trap function whose declaration follows the pragma directive. Note that several vectors can be defined for each function.

Example
#pragma vector=0x14
__interrupt void my_handler(void);