55 #ifndef FOXBMS__IMD_H_
56 #define FOXBMS__IMD_H_
68 #define IMD_PERIODIC_CALL_TIME_ms (FTSK_TASK_CYCLIC_100MS_CYCLE_TIME)
71 #define IMD_ERROR_THRESHOLD_INSULATION_RESISTANCE_kOhm (500u)
74 #define IMD_WARNING_THRESHOLD_INSULATION_RESISTANCE_kOhm (750u)
191 #ifdef UNITY_UNIT_TEST
Headers for the configuration for the CAN module.
Task configuration header.
IMD_RETURN_TYPE_e IMD_RequestInsulationMeasurement(void)
Request to activate the actual IMD measurement.
IMD_FSM_STATES_e IMD_ProcessInitializationState(void)
Processes the initialization state.
bool IMD_GetInitializationState(void)
Gets the initialization state.
STD_RETURN_TYPE_e IMD_Trigger(void)
trigger function for the IMD driver state machine.
IMD_FSM_STATES_e IMD_ProcessShutdownState(void)
Processes the shutdown state.
IMD_FSM_STATES_e IMD_ProcessEnableState(void)
Processes the IMD enable state.
IMD_RETURN_TYPE_e IMD_RequestMeasurementStop(void)
Request to deactivate the actual IMD measurement.
@ IMD_FSM_STATE_INITIALIZATION
@ IMD_FSM_STATE_HAS_NEVER_RUN
@ IMD_FSM_STATE_IMD_ENABLE
@ IMD_FSM_STATE_UNINITIALIZED
@ IMD_STATE_SWITCH_ON_REQUEST
@ IMD_STATE_SHUTDOWN_REQUEST
@ IMD_STATE_INITIALIZE_REQUEST
@ IMD_ALREADY_INITIALIZED
IMD_RETURN_TYPE_e IMD_RequestInitialization(void)
Request initialization of IMD state machine.
IMD_FSM_STATES_e IMD_ProcessRunningState(DATA_BLOCK_INSULATION_MONITORING_s *pTableInsulationMonitoring)
Processes the running state.