88 uint64_t messageData = 0u;
95 float_t offset = 0.0f;
96 float_t factor = 0.004f;
97 signalData = (signalData + offset) * factor;
98 uint64_t data = (int64_t)signalData;
106 signalData = (signalData + offset) * factor;
107 data = (int64_t)signalData;
118 signalData = (signalData + offset) * factor;
119 data = (int64_t)signalData;
127 signalData = (signalData + offset) * factor;
128 data = (int64_t)signalData;
140 #ifdef UNITY_UNIT_TEST
Configuration of the battery cell (e.g., minimum and maximum cell voltage)
#define BC_VOLTAGE_MIN_MSL_mV
Minimum cell voltage limit.
#define BC_VOLTAGE_MAX_MSL_mV
Maximum cell voltage limit.
#define BS_NR_OF_CELL_BLOCKS_PER_STRING
uint32_t CANTX_LimitValues(CAN_MESSAGE_PROPERTIES_s message, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for limit values
#define CAN_FOXBMS_MESSAGES_DEFAULT_DLC
Header for the driver for the CAN module.
#define CANTX_LIMIT_VALUES_ID_TYPE
#define CANTX_LIMIT_VALUES_ID
void CAN_TxSetMessageDataWithSignalData(uint64_t *pMessage, uint64_t bitStart, uint8_t bitLength, uint64_t canSignal, CAN_ENDIANNESS_e endianness)
Puts CAN signal data in a 64-bit variable. This function is used to compose a 64-bit CAN message....
void CAN_TxSetCanDataWithMessageData(uint64_t message, uint8_t *pCanData, CAN_ENDIANNESS_e endianness)
Copy CAN data from a 64-bit variable to 8 bytes. This function is used to copy a 64-bit CAN message t...
Headers for the helper functions for the CAN module.
#define DATA_READ_DATA(...)
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
#define NULL_PTR
Null pointer.
CAN_IDENTIFIER_TYPE_e idType
CAN_ENDIANNESS_e endianness
DATA_BLOCK_SOF_s * pTableSof
float_t recommendedContinuousPackChargeCurrent_mA
float_t recommendedContinuousPackDischargeCurrent_mA