![]() |
Midnight Sun Firmware
|
Consecutive-failure retry counters, one per ADBMS AFE transaction stage. More...
Public Attributes | |
| uint8_t | cell_conv |
| uint8_t | cell_read |
| uint8_t | thermistor_conv |
| uint8_t | thermistor_read |
Consecutive-failure retry counters, one per ADBMS AFE transaction stage.
Each stage tracks its own streak so a comms-loss fault names the exact failing operation and one flaky stage neither masks nor resets another. A counter is cleared as soon as its stage succeeds, and latches BPS_FAULT_COMMS_LOSS_AFE once it hits AFE_NUM_RETRIES in a row.
| uint8_t cell_conv |
adbms_afe_trigger_cell_conv failures
| uint8_t cell_read |
adbms_afe_read_cells failures
| uint8_t thermistor_conv |
adbms_afe_trigger_thermistor_conv failures
| uint8_t thermistor_read |
adbms_afe_read_thermistors failures