Modules | Macros
Watchdog_control command and status codes
Collaboration diagram for Watchdog_control command and status codes:

Modules

 Status Codes
 
 Command Codes
 

Macros

#define Watchdog_CMD_RESERVED   (32)
 
#define Watchdog_STATUS_RESERVED   (-32)
 

Detailed Description

These Watchdog macros are reservations for Watchdog.h

Macro Definition Documentation

§ Watchdog_CMD_RESERVED

#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:

#define WatchdogXYZ_CMD_COMMAND0 Watchdog_CMD_RESERVED + 0
#define WatchdogXYZ_CMD_COMMAND1 Watchdog_CMD_RESERVED + 1

§ Watchdog_STATUS_RESERVED

#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:

#define WatchdogXYZ_STATUS_ERROR0 Watchdog_STATUS_RESERVED - 0
#define WatchdogXYZ_STATUS_ERROR1 Watchdog_STATUS_RESERVED - 1
#define WatchdogXYZ_STATUS_ERROR2 Watchdog_STATUS_RESERVED - 2
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale