/************************************************************************* * * Copyright (c) 2019-2019 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file TaskTimer.c * * @date 19-Sep-2019 * @author S. Nash * * @brief Timer task handler. * *************************************************************************/ #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 ); }