Component InterruptVector allows define user interrupt vector handler. In this example function main contains initialization of the timer TIM using PESL (Processor Expert System Library). Interrupt handler routine "TmrInt" clears overflow flag of the timer and increments variable "i".