SetIntVector

From chipKIT
Jump to: navigation, search

Synopsis

 isrFunc setIntVector(int vec, isrFunc func)

Description

setIntVector() assigns an interrupt handler function to an interrupt vector. The previous interrupt handler pointer is returned.

Return Value

The previous interrupt handler pointer.

Conforming To

setIntVector() does not conform to any external API, it is unique to the chipKIT system.

Examples

 setIntVector(_TIMER_3_VECTOR, myInterruptFunction);

See Also

attachInterrupt(), detachInterrupt(), clearIntEnable(), clearIntFlag(), clearIntVector(), disableInterrupts(), enableInterrupts(), getIntFlag(), getIntPriority(), getIntVector(), restoreIntEnable(), restoreInterrupts(), setIntEnable(), setIntPriority()