#include "FPGA.h" #include "InternalADC.h" #include "SystemCommRO.h" #include "TaskPriority.h" #include "WatchdogMgmt.h" /** * @addtogroup TaskPriority * @{ */ /*********************************************************************//** * @brief * The taskPriority function handles the scheduled Priority Task interrupt. * Calls the executive functions for FPGA, pumps, valves, and buttons. * @details \b Inputs: none * @details \b Outputs: Executive functions running in priority task are called. * @return none *************************************************************************/ void taskPriority( void ) { // 1st pass for FPGA execFPGA( TRUE ); // Verify processor clock speed against FPGA clock // execFPGAClockSpeedTest(); // Monitor internal ADC channels execInternalADC(); // Monitor air trap level sensors // execAirTrapMonitor(); // Monitor blood pump and flow // execBloodFlowMonitor(); // 2nd pass for FPGA execFPGA( FALSE ); // Check in with watchdog manager checkInWithWatchdogMgmt( TASK_PRIORITY ); } /**@}*/