 | C251 User's Guide |  |
|
|
| INTVECTOR Compiler Directive| Abbreviation | IV | | Arguments | An optional offset, in parentheses, for the interrupt vector table. | | Default | INTVECTOR (0) | | µVision | Options — C251 — Interrupt vectors at address. | | Description | The INTVECTOR directive instructs the compiler to generate interrupt vectors for functions which require them. An offset may be entered if the vector table starts at an address other than 0. The range for this offset is 0 .. 65535. Vectors are located starting at absolute address: (n * interval) + offset + 3 where: | n | is the interrupt number. | | interval | is the argument of the INTERVAL directive (default 8). | | offset | is the argument of the INTVECTOR directive (default 0). |
| | See Also | INTERVAL, NOINTVECTOR | | Example |
C251 SAMPLE.C INTVECTOR(0x8000)
#pragma iv(0x8000)
|
|
|