Synopsis

#pragma vector=expr

Description

The vector pragma sets the interrupt service routine vector for the following function definition, if that function is an interrupt function.

Example
#pragma vector=14*2
void isr(void) __interrupt
{
  // Interrupt service routine code
}

This form of providing an interrupt vector makes CrossWorks C compatible with IAR's C compiler and the vast range of example code written for that compiler.