__interrupt void TIMER0_A0_ISR_HOOK(void) { /* USER CODE START (section: TIMER0_A0_ISR_HOOK) */ timer_ISR(); __bis_SR_register_on_exit(LPM3_bits); /* USER CODE END (section: TIMER0_A0_ISR_HOOK) */ }
// Primary ISR: call interrupt handlers for active interrupts void primary_ISR (void) { primaryIsrCount++; // TODO: Determine which interrupt fired and call appropriate ISR timer_ISR(); // Acknowledge master interrupts INTC_IAR = INTC_IPR; }