PER Firmware
Loading...
Searching...
No Matches
adbms6380_chip_t Struct Reference

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
 

Detailed Description

Per-chip device-level measurements, register cache, and mismatch flags.

Member Data Documentation

◆ board_temp

float adbms6380_chip_t::board_temp

Latest onboard PCB thermistor temperature for this chip (Celsius).

◆ cell_temps

float adbms6380_chip_t::cell_temps[ADBMS_CELL_THERMS_PER_CHIP]

Latest cell thermistor temperatures for this chip (Celsius).

◆ cell_voltages

float adbms6380_chip_t::cell_voltages[ADBMS6380_CELL_COUNT]

Latest raw cell channel voltage readings for this chip (volts).

◆ err_rega_mismatch

bool adbms6380_chip_t::err_rega_mismatch

Set if a read-back REGA does not match cached REGA.

◆ err_regb_mismatch

bool adbms6380_chip_t::err_regb_mismatch

Set if a read-back REGB does not match cached REGB.

◆ gpio_voltages

float adbms6380_chip_t::gpio_voltages[ADBMS6380_GPIO_COUNT]

Latest GPIO/aux voltage readings for this chip (volts).

◆ is_discharging

bool adbms6380_chip_t::is_discharging[ADBMS6380_CELL_COUNT]

Per-channel discharge enable flags used for balancing on this chip.

◆ regb

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.


The documentation for this struct was generated from the following file: