Skip to main content

IAR Embedded Workbench for RISC-V 3.40

vector

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

vectorN

The vector number(s) of an interrupt function.

Description

Use this pragma directive to specify the vector(s) of an interrupt 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);