54 #ifndef FOXBMS__INTERLOCK_H_
55 #define FOXBMS__INTERLOCK_H_
161 #ifdef UNITY_UNIT_TEST
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
@ ILCK_STATEMACHINE_UNINITIALIZED
@ ILCK_STATEMACHINE_INITIALIZED
@ ILCK_STATEMACHINE_UNDEFINED
STD_RETURN_TYPE_e ILCK_Init(void)
Checks the configuration of the interlock-module.
@ ILCK_ALREADY_INITIALIZED
void TEST_ILCK_SetStateStruct(ILCK_STATE_s state)
ILCK_RETURN_TYPE_e ILCK_SetStateRequest(ILCK_STATE_REQUEST_e statereq)
sets the current state request of the state variable ilck_state.
void ILCK_Trigger(void)
trigger function for the ILCK driver state machine.
ILCK_ELECTRICAL_STATE_TYPE_e TEST_ILCK_GetInterlockFeedback(void)
@ ILCK_STATE_INITIALIZATION_REQUEST
ILCK_STATEMACH_e ILCK_GetState(void)
gets the current state.
Header for the configuration for the driver for the interlock.
enum ILCK_ELECTRICAL_STATE_TYPE ILCK_ELECTRICAL_STATE_TYPE_e
uint32_t ErrRequestCounter
ILCK_STATE_REQUEST_e statereq
ILCK_STATEMACH_SUB_e lastsubstate
ILCK_STATEMACH_e laststate
ILCK_STATEMACH_SUB_e substate