56 #ifndef FOXBMS__MXM_REGISTRY_H_
57 #define FOXBMS__MXM_REGISTRY_H_
106 uint8_t rxBufferLength,
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
Basic defines for the complete Maxim driver.
Header for the configuration for the Maxim monitoring chip.
enum MXM_REG_NAME MXM_REG_NAME_e
MAX1785x register names.
void MXM_MonRegistryParseIdIntoDevices(MXM_MONITORING_INSTANCE_s *pState, uint8_t rxBufferLength, MXM_REG_NAME_e type)
Parse ID (1 or 2) into the registry.
void MXM_MonRegistryInit(MXM_MONITORING_INSTANCE_s *pState)
Initialize monitoring registry.
STD_RETURN_TYPE_e MXM_MonRegistryConnectDevices(MXM_MONITORING_INSTANCE_s *pState, uint8_t numberOfDevices)
Mark devices as connected in the registry and set the address.
uint8_t MXM_MonRegistryGetHighestConnected5XDevice(const MXM_MONITORING_INSTANCE_s *const kpkState)
Parse number of highest connected device from monitoring- register.
void MXM_MonRegistryParseVersionIntoDevices(MXM_MONITORING_INSTANCE_s *pState, uint8_t rxBufferLength)
Parse Version into the registry.