50 #ifndef _LAE_WATCHDOG_H 51 #define _LAE_WATCHDOG_H 56 #ifdef LAE_WD_FW_VERSION 57 #define LAE_WD_VERSION LAE_WD_FW_VERSION 59 #define LAE_WD_VERSION 1 701 #endif // _LAE_WATCHDOG_H const int LaeWdArgAOutPinValMin
analog output minimum value
const unsigned long LaeWdTimeoutDft
watchdog timeout default
const byte_t LaeWdSerRspArgcOpBattSoC
rsp argument count
const byte_t LaeWdRspLenSetBattCharge
response length (bytes)
const byte_t LaeWdSerCmdArgcSetAlarms
set cmd argument count
const byte_t LaeWdSerCmdIdReadVolts
serial command id
const byte_t LaeWdCmdLenTest
command length (bytes)
const byte_t LaeWdCmdIdReadVolts
command id
const byte_t LaeWdSerCmdArgcSetBattSoC
set cmd argument count
const byte_t LaeWdRspLenResetRgbLed
response length (bytes)
const byte_t LaeWdCmdLenReadAPin
command length (bytes)
const byte_t LaeWdArgFail
command failure response
const byte_t LaeWdArgRgbLedMin
no channel color
const byte_t LaeWdCmdLenConfigDPin
command length (bytes)
const byte_t LaeWdCmdLenReadVolts
command length (bytes)
const byte_t LaeWdSerMaxRspLen
max rsp line length (bytes)
const byte_t LaeWdArgDPinNumMin
min pin number
const int LaeWdArgAOutPinValMax
analog output maximum value
const char LaeWdSerCmdIdOpEnMotorCtlrs
serial command id
const byte_t LaeWdArgDPinNumMax
max pin number
const byte_t LaeWdSerCmdArgcGetConfig
get cmd argument count
const byte_t LaeWdCmdIdEnableMotorCtlrs
command id
const float LaeWdArgVScale
voltage scaler
const byte_t LaeWdCmdIdSetRgbLed
command id
const unsigned int LaeWdArgAlarmCrit
crit alarm modifier
const byte_t LaeWdArgAOutPinNumMin
analog output min pin number
const byte_t LaeWdCmdIdTest
command id
const byte_t LaeWdCmdLenReadDPin
command length (bytes)
const unsigned int LaeWdArgAlarmEStop
emergency stop
const unsigned long LaeWdTimeoutMax
watchdog timeout maximum
const char LaeWdSerArgSet[]
set operator argument string
const byte_t LaeWdSerRspArgcOpEnAuxPorts
rsp argument count
const byte_t LaeWdCmdLenEnableAuxPort
command length (bytes)
const byte_t LaeWdCmdLenWriteAPin
command length (bytes)
const byte_t LaeWdRspLenPetDog
v1 response length (bytes)
const byte_t LaeWdRspLenEnableAuxPort
response length (bytes)
const unsigned int LaeWdArgBattSoCMax
100% charge
const byte_t LaeWdRspLenEnableMotorCtlrs
response length (bytes)
const byte_t LaeWdCmdLenSetRgbLed
command length (bytes)
const byte_t LaeWdSerRspArgcGetVersion
rsp argument count
const byte_t LaeWdRspLenWriteAPin
response length (bytes)
const byte_t LaeWdRspLenConfigDPin
response length (bytes)
const byte_t LaeWdArgAInPinNumMax
analog input max pin number
const byte_t LaeWdRspLenWriteDPin
response length (bytes)
const char LaeWdSerCmdIdGetVersion
serial command id
const float LaeWdArgVMult
voltage multiplier
const byte_t LaeWdSerCmdArgcResetLed
reset cmd argument count
const char LaeWdSerCmdIdOpEnAuxPorts
serial command id
const byte_t LaeWdArgDPinValHigh
pin is high (Vcc)
const byte_t LaeWdRspLenTest
v1 response length (bytes)
const byte_t LaeWdArgRgbLedMax
full channel color
const byte_t LaeWdCmdIdGetVersion
command id
const char LaeWdSerCmdIdOpLed
serial command id
const byte_t LaeWdArgDPinDirIn
input
const byte_t LaeWdSerMaxCmdArgc
max cmd argument count
const byte_t LaeWdCmdLenReadEnables
command length (bytes)
const byte_t LaeWdCmdLenGetVersion
command length (bytes)
const char LaeWdSerSep
argument separator(s)
const byte_t LaeWdCmdLenSetBattCharge
command length (bytes)
const byte_t LaeWdRspLenGetVersion
response length (bytes)
const byte_t LaeWdCmdLenPetDog
command length (bytes)
const byte_t LaeWdCmdIdSetBattCharge
command id
const byte_t LaeWdCmdLenResetRgbLed
command length (bytes)
const byte_t LaeWdSerCmdArgcGetVersion
cmd argument count
const byte_t LaeWdSerRspArgcPetTheDog
rsp argument count
const byte_t LaeWdSerMaxCmdLen
max command length (bytes)
const byte_t LaeWdSerRspArgcOpLed
rsp argument count
const byte_t LaeWdCmdIdConfigFw
command id
const unsigned int LaeWdArgAlarmBatt
battery low alarm
const byte_t LaeWdSerMaxRspArgLen
max rsp arg length (bytes)
const byte_t LaeWdSerCmdArgcSetConfig
set cmd argument count
const byte_t LaeWdSerCmdArgcGetAlarms
get cmd argument count
const char LaeWdSerCmdIdOpBattSoC
serial command id
const byte_t LaeI2CAddrWd
watchdog I2C address synonym
const char LaeWdSerCmdIdPetTheDog
serial command id
const byte_t LaeWdSerCmdArgcReadVolts
cmd argument count
const unsigned int LaeWdArgAlarmNone
no/clear alarms
const byte_t LaeWdRspLenReadDPin
response length (bytes)
The <b><i>Laelaps</i></b> namespace encapsulates all <b><i>Laelaps</i></b> related constructs...
const byte_t LaeWdSerCmdArgcSetEnAuxPorts
set cmd argument count
const byte_t LaeWdCmdIdConfigDPin
command id
const unsigned int LaeWdArgAlarmBattCrit
batt crit modifier
const byte_t LaeWdSerCmdArgcGetLed
get cmd argument count
const char LaeWdSerCmdIdOpAlarms
serial command id
const byte_t LaeWdCmdLenWriteDPin
command length (bytes)
const byte_t LaeWdSerCmdArgcSetLed
set cmd argument count
const char LaeWdSerEoR
end of response
const char LaeWdSerArgGet[]
get operator argument string
const byte_t LaeWdSerRspArgcOpAlarms
rsp argument count
const char LaeWdSerArgErrRsp[]
response error argument string
const byte_t LaeWdArgAuxPort5V
regulated 5 volt auxilliary port
const char LaeWdSerArgOff[]
off state argument string
const char LaeWdSerArgStet[]
leave as is operator arg string
const byte_t LaeWdSerRspArgcOpConfig
rsp argument count
const byte_t LaeWdCmdIdPetDog
command id
const byte_t LaeWdSerCmdArgcPetTheDog
cmd argument count
const byte_t LaeWdCmdIdWriteDPin
command id
const byte_t LaeI2CAddrArduino
arduino I2C 7-bit address
const byte_t LaeWdArgDPinNumWMax
max write/modify pin number
const byte_t LaeWdSerCmdArgcGetEnAuxPorts
get cmd argument count
const byte_t LaeWdSerRspArgcOpEnMotorCtlrs
rsp argument count
const byte_t LaeWdRspLenSetRgbLed
response length (bytes)
const char LaeWdSerCmdIdOpConfig
serial command id
const byte_t LaeWdCmdLenConfigFw
command length (bytes)
const byte_t LaeWdArgAOutPinNumMax
analog output max pin number
const char LaeWdSerEoC
end of command
const byte_t LaeWdRspLenSetAlarms
response length (bytes)
const byte_t LaeWdCmdIdWriteAPin
command id
const byte_t LaeWdCmdIdSetAlarms
command id
const byte_t LaeWdSerCmdArgcSetEnMotorCtlrs
set cmd argument count
const byte_t LaeWdArgDPinNumWMin
min write/modify pin number
const char LaeWdSerArgOn[]
on state argument string
const char LaeWdSerOpBad
unknown/bad operator
const byte_t LaeWdArgAuxPortBatt
battery auxlliary port
const byte_t LaeWdSerMaxCmdArgLen
max cmd arg length (bytes)
const char LaeWdSerOpReset
reset operator value
const unsigned int LaeWdArgAlarmTemp
temperature alarm
const byte_t LaeWdCmdLenSetAlarms
command length (bytes)
const byte_t LaeWdRspLenPetDog_2
v2 response length (bytes)
const char LaeWdSerCmdIdHelp
serial command id
const byte_t LaeWdCmdIdReadAPin
command id
const byte_t LaeWdCmdIdEnableAuxPort
command id
const byte_t LaeWdArgPass
command success response
const byte_t LaeWdSerMaxRspArgc
max rsp argument count
const byte_t LaeWdCmdIdReadDPin
command id
const byte_t LaeWdSerCmdArgcGetBattSoC
get cmd argument count
const int LaeWdMaxRspLen
maximum response length
const byte_t LaeWdCmdIdReadEnables
command id
const byte_t LaeWdArgDPinDirOut
output
const byte_t LaeWdRspLenConfigFw
v1 response length (bytes)
const byte_t LaeWdSerRspArgcReadVolts
rsp argument count
const byte_t LaeWdCmdIdResetRgbLed
command id
const char LaeWdSerOpGet
get operator value
const unsigned int LaeWdArgAlarmGen
general alarm
const byte_t LaeWdRspLenReadEnables
response length (bytes)
const unsigned int LaeWdArgAlarmMask
alarm valid bits mask
const int LaeWdArgAInPinValMax
analog input maximum value
const byte_t LaeWdSerCmdArgcGetEnMotorCtlrs
get cmd argument count
const int LaeWdMaxCmdLen
maximum command length
const byte_t LaeWdArgAInPinNumMin
analog input min pin number
const unsigned int LaeWdArgBattSoCMin
0% charge
const int LaeWdArgAInPinValMin
analog input minimum value
const byte_t LaeWdCmdLenEnableMotorCtlrs
command length (bytes)
const char LaeWdSerArgReset[]
reset operator argument string
const byte_t LaeWdRspLenReadAPin
response length (bytes)
const byte_t LaeWdRspLenReadVolts
response length (bytes)
const char LaeWdSerOpSet
set operator value
const unsigned long LaeWdTimeoutMin
watchdog timeout minimum
const byte_t LaeWdArgDPinValLow
pin is low (0V)
const unsigned int LaeWdArgAlarmTypeMask
alarm types mask