foxBMS  1.0.0
The foxBMS Battery Management System API Documentation
Bitmasks for register access of MAX1785x

Macros

#define MXM_BM_NULL   ((MXM_REG_BM)0x00u)
 Monitoring Register Null byte. More...
 
#define MXM_BM_LSB   ((MXM_REG_BM)MXM_REG_BIT_DEFN(0u, 7u))
 Monitoring Register LSB. More...
 
#define MXM_BM_MSB   ((MXM_REG_BM)MXM_REG_BIT_DEFN(8u, 15u))
 Monitoring Register MSB. More...
 
#define MXM_BM_WHOLE_REG   ((MXM_REG_BM)MXM_REG_BIT_DEFN(0u, 15u))
 All bits of monitoring register. More...
 
#define MXM_REG_VERSION_MOD   ((MXM_REG_BM)MXM_REG_BIT_DEFN(4u, 15u))
 Monitoring Register Version/Model. More...
 
#define MXM_REG_VERSION_VER   ((MXM_REG_BM)MXM_REG_BIT_DEFN(0u, 3u))
 Monitoring Register Version/Silicon Version. More...
 
#define MXM_REG_ADC_14BIT_VALUE   ((MXM_REG_BM)MXM_REG_BIT_DEFN(2u, 15u))
 Monitoring Register 14bit ADC value. More...
 

Detailed Description

Macro Definition Documentation

◆ MXM_BM_LSB

#define MXM_BM_LSB   ((MXM_REG_BM)MXM_REG_BIT_DEFN(0u, 7u))

Monitoring Register LSB.

Definition at line 715 of file mxm_register_map.h.

◆ MXM_BM_MSB

#define MXM_BM_MSB   ((MXM_REG_BM)MXM_REG_BIT_DEFN(8u, 15u))

Monitoring Register MSB.

Definition at line 719 of file mxm_register_map.h.

◆ MXM_BM_NULL

#define MXM_BM_NULL   ((MXM_REG_BM)0x00u)

Monitoring Register Null byte.

Definition at line 711 of file mxm_register_map.h.

◆ MXM_BM_WHOLE_REG

#define MXM_BM_WHOLE_REG   ((MXM_REG_BM)MXM_REG_BIT_DEFN(0u, 15u))

All bits of monitoring register.

Definition at line 723 of file mxm_register_map.h.

◆ MXM_REG_ADC_14BIT_VALUE

#define MXM_REG_ADC_14BIT_VALUE   ((MXM_REG_BM)MXM_REG_BIT_DEFN(2u, 15u))

Monitoring Register 14bit ADC value.

Definition at line 735 of file mxm_register_map.h.

◆ MXM_REG_VERSION_MOD

#define MXM_REG_VERSION_MOD   ((MXM_REG_BM)MXM_REG_BIT_DEFN(4u, 15u))

Monitoring Register Version/Model.

Definition at line 727 of file mxm_register_map.h.

◆ MXM_REG_VERSION_VER

#define MXM_REG_VERSION_VER   ((MXM_REG_BM)MXM_REG_BIT_DEFN(0u, 3u))

Monitoring Register Version/Silicon Version.

Definition at line 731 of file mxm_register_map.h.