|
foxBMS-UnitTests
1.0.0
The foxBMS Unit Tests API Documentation
|
Go to the documentation of this file.
54 #ifndef FOXBMS__SPS_H_
55 #define FOXBMS__SPS_H_
122 #ifdef UNITY_UNIT_TEST
void SPS_RequestContactorState(SPS_CHANNEL_INDEX channelIndex, SPS_CHANNEL_FUNCTION_e channelFunction)
Request state of a contactor.
enum SPS_CHANNEL_FUNCTION SPS_CHANNEL_FUNCTION_e
void TEST_SPS_SetSpsState(const SPS_STATE_e newState)
Types for the SPS driver.
SPS_STATE_e TEST_SPS_GetSpsState(void)
uint8_t SPS_CHANNEL_INDEX
void SPS_Initialize(void)
Initialize IOs for the SPS driver.
void SPS_RequestGeneralIOState(SPS_CHANNEL_INDEX channelIndex, SPS_CHANNEL_FUNCTION_e channelFunction)
Request state of a general IO.
uint8_t TEST_SPS_GetSpsTimer(void)
void SPS_Ctrl(void)
Control function for the CONT driver state machine.
void TEST_SPS_RequestChannelState(SPS_CHANNEL_INDEX channelIndex, SPS_CHANNEL_FUNCTION_e channelFunction)
enum SPS_CHANNEL_AFFILIATION SPS_CHANNEL_AFFILIATION_e
affiliation type of a sps channel
SPS_CHANNEL_AFFILIATION_e SPS_GetChannelAffiliation(SPS_CHANNEL_INDEX channelIndex)
Returns the channel affiliation.
CONT_ELECTRICAL_STATE_TYPE_e SPS_GetChannelFeedback(SPS_CHANNEL_INDEX channelIndex)
Get feedback value.
Header for the configuration for the driver for the smart power switches.
enum SPS_STATE SPS_STATE_e
void TEST_SPS_SetSpsTimer(const uint8_t newTimer)