We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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; }
at this time I am studying the User Manual of LPC1768
Excellent.