Macros
Collaboration diagram for Status Codes:

Macros

#define Watchdog_STATUS_SUCCESS   (0)
 Successful status code returned by Watchdog_control(). More...
 
#define Watchdog_STATUS_ERROR   (-1)
 Generic error status code returned by Watchdog_control(). More...
 
#define Watchdog_STATUS_UNDEFINEDCMD   (-2)
 An error status code returned by Watchdog_control() for undefined command codes. More...
 
#define Watchdog_STATUS_UNSUPPORTED   (-3)
 An error status code returned by Watchdog_setReload() for drivers which do not support the aforementioned API. More...
 

Detailed Description

Watchdog_STATUS_* macros are general status codes returned by Watchdog_control()

WatchdogMSP432_STATUS_* macros are command codes only defined in the WatchdogMSP432.h driver implementation and need to:

Macro Definition Documentation

§ Watchdog_STATUS_SUCCESS

#define Watchdog_STATUS_SUCCESS   (0)

Successful status code returned by Watchdog_control().

Watchdog_control() returns Watchdog_STATUS_SUCCESS if the control code was executed successfully.

§ Watchdog_STATUS_ERROR

#define Watchdog_STATUS_ERROR   (-1)

Generic error status code returned by Watchdog_control().

Watchdog_control() returns Watchdog_STATUS_ERROR if the control code was not executed successfully.

§ Watchdog_STATUS_UNDEFINEDCMD

#define Watchdog_STATUS_UNDEFINEDCMD   (-2)

An error status code returned by Watchdog_control() for undefined command codes.

Watchdog_control() returns Watchdog_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.

§ Watchdog_STATUS_UNSUPPORTED

#define Watchdog_STATUS_UNSUPPORTED   (-3)

An error status code returned by Watchdog_setReload() for drivers which do not support the aforementioned API.

Watchdog_setReload() returns Watchdog_STATUS_UNSUPPORTED if the driver implementation does not support the aforementioned API.

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale