Hi everyone
I wrote a simple program for timer0 of lpc1768 it works but I do not know after the interrupt what to do and how can I jump to vector address of timer0 , the interrupt state is pending how can I change it to active
Another question Is it necessary to move vector table
Here is my code
#include "lpc17xx.h" int main (void) { LPC_TIM0->CTCR = 0x00; /*timer0 in timer mode*/ LPC_TIM0->PR = 2; LPC_TIM0->TC=0x0; LPC_TIM0->TCR= 0x00000001; LPC_TIM0->MR0=6; LPC_TIM0->MCR=5; }