|
foxBMS
1.0.1
The foxBMS Battery Management System API Documentation
|
Go to the documentation of this file.
165 return contactorSetInformation;
237 uint8_t prechargeContactorNumber = 0u;
244 for (uint8_t stringPrechargeNumber = 0u; stringPrechargeNumber <
BS_NR_OF_STRINGS; stringPrechargeNumber++) {
246 if (stringPrechargeNumber == stringNumber) {
249 prechargeContactorNumber++;
263 uint8_t prechargeContactorNumber = 0u;
270 for (uint8_t stringPrechargeNumber = 0u; stringPrechargeNumber <
BS_NR_OF_STRINGS; stringPrechargeNumber++) {
272 if (stringPrechargeNumber == stringNumber) {
275 prechargeContactorNumber++;
296 #ifdef UNITY_UNIT_TEST
297 extern void TEST_CONT_InitializationCheckOfContactorRegistry() {
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
@ BS_STRING_WITH_PRECHARGE
uint8_t SPS_CHANNEL_INDEX
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
void SPS_RequestContactorState(SPS_CHANNEL_INDEX channelIndex, SPS_CHANNEL_FUNCTION_e channelFunction)
Request state of a contactor.
Headers for the driver for the MCU module.
#define BS_NR_OF_CONTACTORS
Headers for the driver for the smart power switches.
SPS_CHANNEL_AFFILIATION_e SPS_GetChannelAffiliation(SPS_CHANNEL_INDEX channelIndex)
Returns the channel affiliation.
#define FAS_TRAP
Define that evaluates to essential boolean false thus tripping an assert.
CONT_ELECTRICAL_STATE_TYPE_e SPS_GetChannelFeedback(SPS_CHANNEL_INDEX channelIndex)
Get feedback value.
BS_STRING_PRECHARGE_PRESENT_e bs_stringsWithPrecharge[BS_NR_OF_STRINGS]