bringup and order sensors

This commit is contained in:
Thaddeus Hughes
2026-04-22 18:31:31 -05:00
parent a775999c87
commit 3774cde506
55 changed files with 184854 additions and 38 deletions

View File

@@ -34,6 +34,11 @@ float get_battery_V();
// Always false on V4.
bool get_hw_overcurrent_fault(void);
// Raw, unfiltered ADC reads — used by POST. Return 0 on error.
int get_bat_raw_mv(void);
int get_isens_raw_mv(void); // V5 only — returns 0 on V4
int get_voc_raw_mv(void); // V5 only — returns 0 on V4
void disable_autozero(bridge_t bridge);
bool get_bridge_overcurrent(bridge_t bridge, float threshold);
bool get_bridge_spike(bridge_t bridge, float threshold);