//***************************************************************************** // //! The interrupt handler for the first timer interrupt. //! //! \param None //! //! \return none // //***************************************************************************** void TimerBaseIntHandler(void) { // // Clear the timer interrupt. // Timer_IF_InterruptClear(g_ulBase); g_ulTimerInts ++; GPIO_IF_LedToggle(MCU_GREEN_LED_GPIO); }
//***************************************************************************** // //! The interrupt handler for the second timer interrupt. //! //! \param None //! //! \return none // //***************************************************************************** void TimerRefIntHandler(void) { // // Clear the timer interrupt. // Timer_IF_InterruptClear(g_ulRefBase); g_ulRefTimerInts ++; GPIO_IF_LedToggle(MCU_RED_LED_GPIO); }
//***************************************************************************** // //! The interrupt handler for the first timer interrupt. //! //! \param None //! //! \return none // //***************************************************************************** void TimerBaseIntHandler(void) { // // Clear the timer interrupt. // Timer_IF_InterruptClear(g_ulBase); g_ulTimerInts ++; g_ulSeconds ++; Timer_IF_Stop(g_ulBase,TIMERA0_BASE); Timer_IF_Start(g_ulBase, TIMER_A, 1000); }