137 #ifndef ti_drivers_Watchdog__include 138 #define ti_drivers_Watchdog__include 163 #define Watchdog_CMD_RESERVED (32) 177 #define Watchdog_STATUS_RESERVED (-32) 192 #define Watchdog_STATUS_SUCCESS (0) 200 #define Watchdog_STATUS_ERROR (-1) 209 #define Watchdog_STATUS_UNDEFINEDCMD (-2) 218 #define Watchdog_STATUS_UNSUPPORTED (-3) 339 uint32_t milliseconds);
533 uint32_t milliseconds);
Watchdog Parameters.
Definition: Watchdog.h:283
void Watchdog_clear(Watchdog_Handle handle)
Clears the Watchdog.
enum Watchdog_ResetMode_ Watchdog_ResetMode
Watchdog reset mode settings.
Watchdog_Handle(* Watchdog_OpenFxn)(Watchdog_Handle handle, Watchdog_Params *params)
A function pointer to a driver specific implementation of Watchdog_open().
Definition: Watchdog.h:324
void(* Watchdog_Callback)(uintptr_t handle)
Watchdog callback pointer.
Definition: Watchdog.h:273
Definition: Watchdog.h:261
void * object
Definition: Watchdog.h:374
Watchdog_OpenFxn watchdogOpen
Definition: Watchdog.h:351
Watchdog_CloseFxn watchdogClose
Definition: Watchdog.h:348
Watchdog_ResetMode resetMode
Definition: Watchdog.h:286
void(* Watchdog_InitFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_init().
Definition: Watchdog.h:318
Watchdog_DebugMode_
Watchdog debug stall settings.
Definition: Watchdog.h:248
int_fast16_t(* Watchdog_ControlFxn)(Watchdog_Handle handle, uint_fast16_t cmd, void *arg)
A function pointer to a driver specific implementation of Watchdog_control().
Definition: Watchdog.h:310
Watchdog_InitFxn watchdogInit
Definition: Watchdog.h:350
void const * hwAttrs
Definition: Watchdog.h:377
Watchdog Global configuration.
Definition: Watchdog.h:367
void Watchdog_Params_init(Watchdog_Params *params)
Function to initialize the Watchdog_Params structure to its defaults.
Definition: Watchdog.h:250
int_fast16_t Watchdog_control(Watchdog_Handle handle, uint_fast16_t cmd, void *arg)
Function performs implementation specific features on a given Watchdog_Handle.
Watchdog_ResetMode_
Watchdog reset mode settings.
Definition: Watchdog.h:260
void(* Watchdog_CloseFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_close().
Definition: Watchdog.h:304
struct Watchdog_Config_ * Watchdog_Handle
Watchdog Handle.
Definition: Watchdog.h:238
Watchdog_Callback callbackFxn
Definition: Watchdog.h:284
int_fast16_t(* Watchdog_SetReloadFxn)(Watchdog_Handle handle, uint32_t ticks)
A function pointer to a driver specific implementation of Watchdog_setReload().
Definition: Watchdog.h:331
void * custom
Definition: Watchdog.h:290
Definition: Watchdog.h:249
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.
The definition of a Watchdog function table that contains the required set of functions to control a ...
Definition: Watchdog.h:346
void(* Watchdog_ClearFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_clear().
Definition: Watchdog.h:298
uint32_t(* Watchdog_ConvertMsToTicksFxn)(Watchdog_Handle handle, uint32_t milliseconds)
A function pointer to a driver specific implementation of Watchdog_ConvertMsToTicksFxn().
Definition: Watchdog.h:338
uint32_t Watchdog_convertMsToTicks(Watchdog_Handle handle, uint32_t milliseconds)
Converts milliseconds to Watchdog clock ticks.
Watchdog_ConvertMsToTicksFxn watchdogConvertMsToTicks
Definition: Watchdog.h:353
struct Watchdog_Params_ Watchdog_Params
Watchdog Parameters.
Watchdog_ControlFxn watchdogControl
Definition: Watchdog.h:349
Watchdog_SetReloadFxn watchdogSetReload
Definition: Watchdog.h:352
enum Watchdog_DebugMode_ Watchdog_DebugMode
Watchdog debug stall settings.
Watchdog_ClearFxn watchdogClear
Definition: Watchdog.h:347
struct Watchdog_Config_ Watchdog_Config
Watchdog Global configuration.
Definition: Watchdog.h:262
Watchdog_FxnTable const * fxnTablePtr
Definition: Watchdog.h:371
Watchdog_Handle Watchdog_open(uint_least8_t index, Watchdog_Params *params)
Opens a Watchdog.
Watchdog_DebugMode debugStallMode
Definition: Watchdog.h:288
int_fast16_t Watchdog_setReload(Watchdog_Handle handle, uint32_t ticks)
Sets the Watchdog reload value.
struct Watchdog_FxnTable_ Watchdog_FxnTable
The definition of a Watchdog function table that contains the required set of functions to control a ...