104 #ifndef ti_drivers_Watchdog__include
105 #define ti_drivers_Watchdog__include
131 #define Watchdog_CMD_RESERVED 32
145 #define Watchdog_STATUS_RESERVED -32
160 #define Watchdog_STATUS_SUCCESS 0
168 #define Watchdog_STATUS_ERROR -1
177 #define Watchdog_STATUS_UNDEFINEDCMD -2
Watchdog_Handle Watchdog_open(unsigned int index, Watchdog_Params *params)
Opens a Watchdog.
Watchdog_Callback callbackFxn
Definition: Watchdog.h:243
Watchdog_DebugMode debugStallMode
Definition: Watchdog.h:247
void Watchdog_clear(Watchdog_Handle handle)
Clears the Watchdog.
Watchdog_ControlFxn watchdogControl
Definition: Watchdog.h:300
Watchdog_Handle(* Watchdog_OpenFxn)(Watchdog_Handle handle, Watchdog_Params *params)
A function pointer to a driver specific implementation of Watchdog_open().
Definition: Watchdog.h:283
struct Watchdog_FxnTable Watchdog_FxnTable
The definition of a Watchdog function table that contains the required set of functions to control a ...
Watchdog_ResetMode resetMode
Definition: Watchdog.h:245
Watchdog Parameters.
Definition: Watchdog.h:242
void Watchdog_setReload(Watchdog_Handle handle, uint32_t value)
Sets the Watchdog reload value.
Watchdog_FxnTable const * fxnTablePtr
Definition: Watchdog.h:321
void(* Watchdog_InitFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_init().
Definition: Watchdog.h:277
Definition: Watchdog.h:220
void const * hwAttrs
Definition: Watchdog.h:327
void Watchdog_Params_init(Watchdog_Params *params)
Function to initialize the Watchdog_Params structure to its defaults.
int Watchdog_control(Watchdog_Handle handle, unsigned int cmd, void *arg)
Function performs implementation specific features on a given Watchdog_Handle.
void(* Watchdog_CloseFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_close().
Definition: Watchdog.h:263
Watchdog_DebugMode
Watchdog debug stall settings.
Definition: Watchdog.h:207
void(* Watchdog_SetReloadFxn)(Watchdog_Handle handle, uint32_t value)
A function pointer to a driver specific implementation of Watchdog_setReload().
Definition: Watchdog.h:290
Watchdog_OpenFxn watchdogOpen
Definition: Watchdog.h:302
void * object
Definition: Watchdog.h:324
void Watchdog_close(Watchdog_Handle handle)
Function to close a Watchdog peripheral specified by the Watchdog handle.It stops (holds) the Watchdo...
void Watchdog_init(void)
Initializes the Watchdog module.
void(* Watchdog_ClearFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_clear().
Definition: Watchdog.h:257
void(* Watchdog_Callback)(uintptr_t)
Watchdog callback pointer.
Definition: Watchdog.h:232
Watchdog Global configuration.
Definition: Watchdog.h:317
Watchdog_ClearFxn watchdogClear
Definition: Watchdog.h:298
struct Watchdog_Config Watchdog_Config
Watchdog Global configuration.
Watchdog_SetReloadFxn watchdogSetReload
Definition: Watchdog.h:303
Definition: Watchdog.h:221
The definition of a Watchdog function table that contains the required set of functions to control a ...
Definition: Watchdog.h:297
Watchdog_ResetMode
Watchdog reset mode settings.
Definition: Watchdog.h:219
Definition: Watchdog.h:208
Watchdog_InitFxn watchdogInit
Definition: Watchdog.h:301
int(* Watchdog_ControlFxn)(Watchdog_Handle handle, unsigned int cmd, void *arg)
A function pointer to a driver specific implementation of Watchdog_control().
Definition: Watchdog.h:269
Definition: Watchdog.h:209
uintptr_t custom
Definition: Watchdog.h:249
struct Watchdog_Params Watchdog_Params
Watchdog Parameters.
Watchdog_CloseFxn watchdogClose
Definition: Watchdog.h:299
struct Watchdog_Config * Watchdog_Handle
Watchdog Handle.
Definition: Watchdog.h:197