Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER->Interrupt Functions->Runtime Modification of Interrupt Vectors

Functions _setvect() and _getvect() can be used to control the event handlers active at any particular time.

_setvect() is used to set the interrupt vector to point at the event handler.

_getvect() is used to get the address of the current event handler so that you can restore it later.

See also predefined macro _X_VO in Compiler Specific Predefined Macros.