-
Enable
- Enables the bean - starts the watchdog timer counting.
ANSIC prototype: byte Enable(void)
- Return value:byte - Error code, possible codes:
ERR_OK - OK
ERR_SPEED - This device does not work in the active speed mode
-
Disable
- Disables the bean - stops the watchdog timer counting.
ANSIC prototype: byte Disable(void)
- Return value:byte - Error code, possible codes:
ERR_OK - OK
ERR_SPEED - This device does not work in the active speed mode
-
Clear
- Clears the watchdog timer (it makes the timer restart from zero).
ANSIC prototype: byte Clear(void)
- Return value:byte - Error code, possible codes:
ERR_OK - OK
ERR_SPEED - This device does not work in the active speed mode
ERR_DISABLED - The Bean is disabled
Note: Some methods can be implemented as macros.