138 #ifndef ti_drivers_Watchdog__include 139 #define ti_drivers_Watchdog__include 164 #define Watchdog_CMD_RESERVED (32) 178 #define Watchdog_STATUS_RESERVED (-32) 193 #define Watchdog_STATUS_SUCCESS (0) 201 #define Watchdog_STATUS_ERROR (-1) 210 #define Watchdog_STATUS_UNDEFINEDCMD (-2) 219 #define Watchdog_STATUS_UNSUPPORTED (-3) 340 uint32_t milliseconds);
534 uint32_t milliseconds);
Watchdog Parameters.
Definition: Watchdog.h:284
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:325
void(* Watchdog_Callback)(uintptr_t handle)
Watchdog callback pointer.
Definition: Watchdog.h:274
Definition: Watchdog.h:262
void * object
Definition: Watchdog.h:375
Watchdog_OpenFxn watchdogOpen
Definition: Watchdog.h:352
Watchdog_CloseFxn watchdogClose
Definition: Watchdog.h:349
Watchdog_ResetMode resetMode
Definition: Watchdog.h:287
void(* Watchdog_InitFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_init().
Definition: Watchdog.h:319
Watchdog_DebugMode_
Watchdog debug stall settings.
Definition: Watchdog.h:249
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:311
Watchdog_InitFxn watchdogInit
Definition: Watchdog.h:351
void const * hwAttrs
Definition: Watchdog.h:378
Watchdog Global configuration.
Definition: Watchdog.h:368
void Watchdog_Params_init(Watchdog_Params *params)
Function to initialize the Watchdog_Params structure to its defaults.
Definition: Watchdog.h:251
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:261
void(* Watchdog_CloseFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_close().
Definition: Watchdog.h:305
struct Watchdog_Config_ * Watchdog_Handle
Watchdog Handle.
Definition: Watchdog.h:239
Watchdog_Callback callbackFxn
Definition: Watchdog.h:285
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:332
void * custom
Definition: Watchdog.h:291
Definition: Watchdog.h:250
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:347
void(* Watchdog_ClearFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_clear().
Definition: Watchdog.h:299
uint32_t(* Watchdog_ConvertMsToTicksFxn)(Watchdog_Handle handle, uint32_t milliseconds)
A function pointer to a driver specific implementation of Watchdog_ConvertMsToTicksFxn().
Definition: Watchdog.h:339
uint32_t Watchdog_convertMsToTicks(Watchdog_Handle handle, uint32_t milliseconds)
Converts milliseconds to Watchdog clock ticks.
Watchdog_ConvertMsToTicksFxn watchdogConvertMsToTicks
Definition: Watchdog.h:354
struct Watchdog_Params_ Watchdog_Params
Watchdog Parameters.
Watchdog_ControlFxn watchdogControl
Definition: Watchdog.h:350
Watchdog_SetReloadFxn watchdogSetReload
Definition: Watchdog.h:353
enum Watchdog_DebugMode_ Watchdog_DebugMode
Watchdog debug stall settings.
Watchdog_ClearFxn watchdogClear
Definition: Watchdog.h:348
struct Watchdog_Config_ Watchdog_Config
Watchdog Global configuration.
Definition: Watchdog.h:263
Watchdog_FxnTable const * fxnTablePtr
Definition: Watchdog.h:372
Watchdog_Handle Watchdog_open(uint_least8_t index, Watchdog_Params *params)
Opens a Watchdog.
Watchdog_DebugMode debugStallMode
Definition: Watchdog.h:289
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 ...