54 #ifndef FOXBMS__SYS_MON_H_
55 #define FOXBMS__SYS_MON_H_
148 #ifdef UNITY_UNIT_TEST
Header for the driver for the FRAM module.
struct that stores for each task the last violation of timing
bool recordedViolationEngine
bool recordedViolation10ms
bool recordedViolation100ms
bool recordedViolation1ms
bool recordedViolation100msAlgo
bool recordedViolationAny
void SYSM_GetRecordedTimingViolations(SYSM_TIMING_VIOLATION_RESPONSE_s *pAnswer)
Returns the timing violation flags determined from fram state.
void SYSM_ClearAllTimingViolations(void)
Clears all timing violations (both current and recorded)
void SYSM_CheckNotifications(void)
overall system monitoring
void SYSM_Notify(SYSM_TASK_ID_e taskId, SYSM_NOTIFY_TYPE_e state, uint32_t timestamp)
Sets needed bits to indicate that a task is running.
void SYSM_UpdateFramData(void)
Commits the stored changes to FRAM if necessary.
STD_RETURN_TYPE_e SYSM_Init(void)
initialization function for system monitoring
void SYSM_CopyFramStruct(const FRAM_SYS_MON_RECORD_s *const kpkFrom, FRAM_SYS_MON_RECORD_s *pTo)
Copy from the from entry to the to entry.
configuration of the system monitoring module