/************************************************************************** * * Copyright (c) 2019-2020 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 PersistentAlarm.h * * @author (last) Quang Nguyen * @date (last) 12-Aug-2020 * * @author (original) Quang Nguyen * @date (original) 12-Aug-2020 * ***************************************************************************/ #ifndef __PERSISTENTALARM_H__ #define __PERSISTENTALARM_H__ #include "DGCommon.h" /** * @defgroup PersistentAlarm PersistentAlarm * @brief Persistent Alarm monitor module. * Check for persistent error and throw appropriate alarm. * * @addtogroup PersistentAlarm * @{ */ // ********** public function prototypes ********** void initPersistentAlarm( ALARM_ID_T alarm, ALARM_DATA_TYPES_T alarmType, F32 persistentClearCount, F32 persistentTriggerCount ); void checkPersistentAlarm( ALARM_ID_T const alarm, BOOL const isOutOfRange, F32 const data ); /**@}*/ #endif