/************************************************************************** * * 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 Temperature.h * * @author (last) Sean Nash * @date (last) 09-Nov-2024 * * @author (original) Sean Nash * @date (original) 09-Nov-2024 * ***************************************************************************/ #ifndef __TEMPERATURE_H__ #define __TEMPERATURE_H__ #include "ROCommon.h" #include "TemperatureSensors.h" /** * @defgroup Temperature Temperature * @brief Temperature Monitor unit. monitors the temperature sensors * for the RO sub-system. * * @addtogroup Temperature * @{ */ // ********** public definitions ********** /// Temperature sensors data structure. typedef struct { F32 tempTRO1; ///< TRO1 temperature sensor (P22) F32 tempTRO2; ///< TRO2 temperature sensor (P21) F32 boardTemp; ///< Board temperature sensor } TEMPERATURE_SENSORS_DATA_T; // ********** public function prototypes ********** void initTemperature( void ); void execTemperatureSensors( void ); //SELF_TEST_STATUS_T execTemperatureSensorsSelfTest( void ); BOOL testTemperatureSensorsDataPublishIntervalOverride( MESSAGE_T *message ); /**@}*/ #endif