DAQ: Add high-side overvoltage alert limit

Also rename the functions which set the alert limits to set_xx_limit
instead of set_xx_alert.
This commit is contained in:
Martin Jäger
2020-11-05 20:37:03 +01:00
parent c6709f8f00
commit 42759947f8
7 changed files with 86 additions and 26 deletions
+6
View File
@@ -89,6 +89,12 @@ enum ErrorFlag {
*/
ERR_DCDC_HS_MOSFET_SHORT = 1U << 14,
/** Short-circuit in HS MOSFET
*
* Set in Dcdc::control() and never cleared
*/
ERR_DCDC_HS_OVERVOLTAGE = 1U << 15,
/** Mask to catch all error flags (up to 32 errors)
*/
ERR_ANY_ERROR = UINT32_MAX,