|
foxBMS-UnitTests
1.0.0
The foxBMS Unit Tests API Documentation
|
Go to the documentation of this file.
57 #ifndef FOXBMS__MXM_1785X_TOOLS_H_
58 #define FOXBMS__MXM_1785X_TOOLS_H_
185 #define MXM_RX_BUFFER_LENGTH 100
253 uint32_t fullScaleReference_mV);
343 const uint16_t moduleNumber,
344 uint8_t *pStringNumber,
345 uint16_t *pModuleNumberInString);
uint8_t mxmVoltageCellCounter
5x statemachine structure
MXM_5X_INSTANCE_s * pInstance5X
enum MXM_CONVERSION_TYPE MXM_CONVERSION_TYPE_e
STD_RETURN_TYPE_e addressSpaceChecker
enum MXM_MODEL_ID MXM_MODEL_ID_e
Type of monitoring device.
STD_RETURN_TYPE_e parseVoltageReadall
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
STD_RETURN_TYPE_e fmeaStatusASCI
enum MXM_DC_BYTE MXM_DC_BYTE_e
Register map of the MAX1785x monitoring IC.
MXM_5X_COMMAND_PAYLOAD_s batteryCmdBuffer
MXM_5X_STATE_REQUEST_STATUS_e
Request status of Battery Management Protocol states.
Header for the configuration for the Maxim monitoring chip.
uint8_t rxBuffer[MXM_RX_BUFFER_LENGTH]
MXM_siliconVersion_e siliconVersion
#define MXM_MAXIMUM_NR_OF_MODULES
Maximum number of modules.
MXM_STATEMACHINE_STATES_e state
#define must_check_return
Allows functions to generate warnings in GCC for unused returns.
STD_RETURN_TYPE_e firstSetBit
uint16_t MXM_REG_BM
Type for register access for monitoring ICs.
Struct for the state-variable of state-machine.
enum MXM_siliconVersion MXM_siliconVersion_e
MXM_STATEMACHINE_OPERATION_STATES_e operationSubstate
MXM_DATA_STORAGE_s localVoltages
Local storage for cell-voltages.
bool firstMeasurementDone
Basic defines for the complete Maxim driver.
MXM_41B_INSTANCE_s * pInstance41B
MXM_5X_STATE_REQUEST_STATUS_e requestStatus5x
MXM_SELFCHECK_s selfCheck
STD_RETURN_TYPE_e resultSelfCheck
Headers for the driver for the MAX17841B ASCI and MAX1785x monitoring chip.
STD_RETURN_TYPE_e extractValueFromRegister
MXM_REGISTRY_ENTRY_s registry[MXM_MAXIMUM_NR_OF_MODULES]