TI-RTOS Drivers  tidrivers_cc13xx_cc26xx_2_20_00_08
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

#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
Copyright 2016, Texas Instruments Incorporated