Midnight Sun Firmware
Loading...
Searching...
No Matches
CellFaultDebounce

Consecutive out-of-range read counters used to debounce cell-sense faults. More...

Public Attributes

uint8_t thermistor_overtemp [ADBMS_AFE_MAX_CELL_THERMISTORS]
 
uint8_t thermistor_broken [ADBMS_AFE_MAX_CELL_THERMISTORS]
 
uint8_t overvoltage
 
uint8_t undervoltage
 

Detailed Description

Consecutive out-of-range read counters used to debounce cell-sense faults.

A counter grows while its condition holds and clears on the first in-range read; the fault only latches once the streak reaches its debounce threshold.

Member Data Documentation

◆ overvoltage

uint8_t overvoltage

pack over-voltage streak

◆ thermistor_broken

uint8_t thermistor_broken[ADBMS_AFE_MAX_CELL_THERMISTORS]

per-thermistor implausible-read streak

◆ thermistor_overtemp

uint8_t thermistor_overtemp[ADBMS_AFE_MAX_CELL_THERMISTORS]

per-thermistor over-temp streak

◆ undervoltage

uint8_t undervoltage

pack under-voltage streak


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