These Watchdog macros are reservations for Watchdog.h
#define Watchdog_CMD_RESERVED 32 |
Common Watchdog_control command code reservation offset. Watchdog driver implementations should offset command codes with Watchdog_CMD_RESERVED growing positively
Example implementation specific command codes:
1 #define WatchdogXYZ_CMD_COMMAND0 Watchdog_CMD_RESERVED + 0
2 #define WatchdogXYZ_CMD_COMMAND1 Watchdog_CMD_RESERVED + 1
#define Watchdog_STATUS_RESERVED -32 |
Common Watchdog_control status code reservation offset. Watchdog driver implementations should offset status codes with Watchdog_STATUS_RESERVED growing negatively.
Example implementation specific status codes:
1 #define WatchdogXYZ_STATUS_ERROR0 Watchdog_STATUS_RESERVED - 0
2 #define WatchdogXYZ_STATUS_ERROR1 Watchdog_STATUS_RESERVED - 1
3 #define WatchdogXYZ_STATUS_ERROR2 Watchdog_STATUS_RESERVED - 2