Table of Contents        Previous topic       Next topic       

C/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.

The working example illustrates the use of these functions.  Click to load the project that contains this example.

See also predefined macro _X_VO in Compiler Specific Predefined Macros.