/************************************************************************* * * Copyright Diality, Inc. 2019-2020. All Rights Reserved. * 181 Technology, Ste. 150 * Irvine, CA 92618 * * Project Denali * * @file TaskTimer.c * * @brief Timer task handler. * * @date 19-Sep-2019 * *************************************************************************/ #include "gio.h" #include "WatchdogMgmt.h" #include "Timers.h" #include "TaskTimer.h" /************************************************************************* * @brief taskTimer * The taskTimer function handles the scheduled Timer Task interrupt. * Calls the Timers executive to maintain a 1ms timer counter to * support timer and timeout functions. * @details * Inputs : none * Outputs : Executive for Timers called. *************************************************************************/ void taskTimer( void ) { // increment ms timer count incMSTimerCount(); // check in with watchdog manager checkInWithWatchdogMgmt( TASK_TIMER ); // toggle GPIO to indicate timer task has executed //gioToggleBit( gioPORTB, 0 ); }