170 for (uint8_t contactorIndex = 0u; contactorIndex <
BS_NR_OF_CONTACTORS; contactorIndex++) {
189 for (uint8_t contactorIndex = 0u; contactorIndex <
BS_NR_OF_CONTACTORS; contactorIndex++) {
225 for (uint8_t contactorIndex = 0u; contactorIndex <
BS_NR_OF_CONTACTORS; contactorIndex++) {
241 for (uint8_t contactorIndex = 0u; contactorIndex <
BS_NR_OF_CONTACTORS; contactorIndex++) {
256 #ifdef UNITY_UNIT_TEST
BS_STRING_PRECHARGE_PRESENT_e bs_stringsWithPrecharge[BS_NR_OF_STRINGS]
#define BS_NR_OF_STRINGS
Number of parallel strings in the battery pack.
@ BS_STRING_WITH_PRECHARGE
#define BS_NR_OF_CONTACTORS
DIAG_RETURNTYPE_e DIAG_Handler(DIAG_ID_e diagId, DIAG_EVENT_e event, DIAG_IMPACT_LEVEL_e impact, uint32_t data)
DIAG_Handler provides generic error handling, based on diagnosis group.
@ DIAG_ID_STRING_PLUS_CONTACTOR_FEEDBACK
@ DIAG_ID_STRING_MINUS_CONTACTOR_FEEDBACK
@ DIAG_ID_PRECHARGE_CONTACTOR_FEEDBACK
Assert macro implementation.
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
#define FAS_TRAP
Define that evaluates to essential boolean false thus tripping an assert.
Definition of foxBMS standard types.
Headers for the driver for the MCU module.
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.
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.
Headers for the driver for the smart power switches.
#define SPS_NR_OF_AVAILABLE_SPS_CHANNELS
SPS_CHANNEL_AFFILIATION_e
affiliation type of a sps channel