void TIMER1_IRQHandler(void)
{
RTC_timeMs++; //add the ms counter for RTCC
timeMs_tick++; //for other uses
TIM_ClearIntPending(LPC_TIM1, TIM_MR0_INT);
} |
void TIMER1_IRQHandler(void)
{
printf("timer1\n");
RTC_timeMs++; //add the ms counter for RTCC
timeMs_tick++; //for other uses
TIM_ClearIntPending(LPC_TIM1, TIM_MR0_INT);
} |
SCB->VTOR = (0x10000 & 0x1FFFFF80); |
typedef void (*ISRPtr) (void); __set_MSP(*(uint32_t *)0x1000); ISRPtr application_reset_handler=(ISRPtr)(*(uint32_t *)0x1004); application_reset_handler(); |