/************************************************************************** * * Copyright (c) 2024-2024 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 TaskBG.c * * @author (last) Vinayakam Mani * @date (last) 26-Aug-2024 * * @author (original) Vinayakam Mani * @date (original) 05-Aug-2024 * ***************************************************************************/ #include "gio.h" //#include "NVDataMgmt.h" #include "TaskTimer.h" #include "WatchdogMgmt.h" /** * @addtogroup TaskBG * @{ */ /*********************************************************************//** * @brief * The taskBackground function handles the idle background task loop. * @details \b Inputs: none * @details \b Outputs: Executes the watchdog manangement service * return none * @note This task runs when other task ( Timer, priority and general) * completed their execution and frees CPU for background task execution. *************************************************************************/ void taskBackground( void ) { #ifndef _VECTORCAST_ // can't have infinite loop in unit test tool while ( 1 ) #endif { // manage the watchdog execWatchdogMgmt(); // Manage Non-volatile data manager //execNVDataMgmt(); } } /**@}*/