|
PER Firmware
|
Per-chip device-level measurements, register cache, and mismatch flags. More...
#include <adbms6380.h>
Public Attributes | |
| float | cell_voltages [ADBMS6380_CELL_COUNT] |
| float | gpio_voltages [ADBMS6380_GPIO_COUNT] |
| float | cell_temps [ADBMS_CELL_THERMS_PER_CHIP] |
| float | board_temp |
| uint8_t | regb [ADBMS6380_SINGLE_DATA_RAW_SIZE] |
| bool | is_discharging [ADBMS6380_CELL_COUNT] |
| bool | err_rega_mismatch |
| bool | err_regb_mismatch |
Per-chip device-level measurements, register cache, and mismatch flags.
| float adbms6380_chip_t::board_temp |
Latest onboard PCB thermistor temperature for this chip (Celsius).
| float adbms6380_chip_t::cell_temps[ADBMS_CELL_THERMS_PER_CHIP] |
Latest cell thermistor temperatures for this chip (Celsius).
| float adbms6380_chip_t::cell_voltages[ADBMS6380_CELL_COUNT] |
Latest raw cell channel voltage readings for this chip (volts).
| bool adbms6380_chip_t::err_rega_mismatch |
Set if a read-back REGA does not match cached REGA.
| bool adbms6380_chip_t::err_regb_mismatch |
Set if a read-back REGB does not match cached REGB.
| float adbms6380_chip_t::gpio_voltages[ADBMS6380_GPIO_COUNT] |
Latest GPIO/aux voltage readings for this chip (volts).
| bool adbms6380_chip_t::is_discharging[ADBMS6380_CELL_COUNT] |
Per-channel discharge enable flags used for balancing on this chip.
| uint8_t adbms6380_chip_t::regb[ADBMS6380_SINGLE_DATA_RAW_SIZE] |
Cached REGB bytes written to this chip. Used to compare against read-back data.