55 #ifndef FOXBMS__SPS_H_
56 #define FOXBMS__SPS_H_
134 #ifdef UNITY_UNIT_TEST
CONT_ELECTRICAL_STATE_TYPE_e SPS_GetChannelPexFeedback(const SPS_CHANNEL_INDEX channelIndex, bool normallyOpen)
Get the feedback state of a channel.
SPS_CHANNEL_AFFILIATION_e SPS_GetChannelAffiliation(SPS_CHANNEL_INDEX channelIndex)
Returns the channel affiliation.
void SPS_Initialize(void)
Initialize IOs for the SPS driver.
void TEST_SPS_RequestChannelState(SPS_CHANNEL_INDEX channelIndex, SPS_CHANNEL_FUNCTION_e channelFunction)
void SPS_Ctrl(void)
Control function for the CONT driver state machine.
uint8_t TEST_SPS_GetSpsTimer(void)
void TEST_SPS_SetSpsTimer(const uint8_t newTimer)
CONT_ELECTRICAL_STATE_TYPE_e SPS_GetChannelCurrentFeedback(const SPS_CHANNEL_INDEX channelIndex)
Get feedback value.
void SPS_RequestContactorState(SPS_CHANNEL_INDEX channelIndex, SPS_CHANNEL_FUNCTION_e channelFunction)
Request state of a contactor.
SPS_STATE_e TEST_SPS_GetSpsState(void)
void TEST_SPS_SetSpsState(const SPS_STATE_e newState)
void SPS_RequestGeneralIoState(SPS_CHANNEL_INDEX channelIndex, SPS_CHANNEL_FUNCTION_e channelFunction)
Request state of a general IO.
Header for the configuration for the driver for the smart power switches.
Types for the SPS driver.
uint8_t SPS_CHANNEL_INDEX
SPS_CHANNEL_AFFILIATION_e
affiliation type of a sps channel