153 #ifndef ti_drivers_Watchdog__include 154 #define ti_drivers_Watchdog__include 179 #define Watchdog_CMD_RESERVED (32) 193 #define Watchdog_STATUS_RESERVED (-32) 208 #define Watchdog_STATUS_SUCCESS (0) 216 #define Watchdog_STATUS_ERROR (-1) 225 #define Watchdog_STATUS_UNDEFINEDCMD (-2) 234 #define Watchdog_STATUS_UNSUPPORTED (-3) 355 uint32_t milliseconds);
549 uint32_t milliseconds);
Watchdog_Callback callbackFxn
Definition: Watchdog.h:300
Watchdog_DebugMode debugStallMode
Definition: Watchdog.h:304
void Watchdog_clear(Watchdog_Handle handle)
Clears the Watchdog.
void * custom
Definition: Watchdog.h:306
Watchdog_ControlFxn watchdogControl
Definition: Watchdog.h:365
Watchdog_Handle(* Watchdog_OpenFxn)(Watchdog_Handle handle, Watchdog_Params *params)
A function pointer to a driver specific implementation of Watchdog_open().
Definition: Watchdog.h:340
Watchdog_ConvertMsToTicksFxn watchdogConvertMsToTicks
Definition: Watchdog.h:369
void(* Watchdog_Callback)(uintptr_t handle)
Watchdog callback pointer.
Definition: Watchdog.h:289
Watchdog_ResetMode resetMode
Definition: Watchdog.h:302
void * object
Definition: Watchdog.h:390
Watchdog Parameters.
Definition: Watchdog.h:299
void(* Watchdog_InitFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_init().
Definition: Watchdog.h:334
Definition: Watchdog.h:277
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:326
void const * hwAttrs
Definition: Watchdog.h:393
Watchdog Global configuration.
Definition: Watchdog.h:383
void Watchdog_Params_init(Watchdog_Params *params)
Function to initialize the Watchdog_Params structure to its defaults.
int_fast16_t Watchdog_control(Watchdog_Handle handle, uint_fast16_t 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:320
Watchdog_DebugMode
Watchdog debug stall settings.
Definition: Watchdog.h:264
struct Watchdog_Config_ * Watchdog_Handle
Watchdog Handle.
Definition: Watchdog.h:254
Watchdog_OpenFxn watchdogOpen
Definition: Watchdog.h:367
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:347
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:314
uint32_t(* Watchdog_ConvertMsToTicksFxn)(Watchdog_Handle handle, uint32_t milliseconds)
A function pointer to a driver specific implementation of Watchdog_ConvertMsToTicksFxn().
Definition: Watchdog.h:354
uint32_t Watchdog_convertMsToTicks(Watchdog_Handle handle, uint32_t milliseconds)
Converts milliseconds to Watchdog clock ticks.
Watchdog_ClearFxn watchdogClear
Definition: Watchdog.h:363
Watchdog_SetReloadFxn watchdogSetReload
Definition: Watchdog.h:368
Definition: Watchdog.h:278
The definition of a Watchdog function table that contains the required set of functions to control a ...
Definition: Watchdog.h:362
Watchdog_ResetMode
Watchdog reset mode settings.
Definition: Watchdog.h:276
Definition: Watchdog.h:265
struct Watchdog_Config_ Watchdog_Config
Watchdog Global configuration.
Watchdog_InitFxn watchdogInit
Definition: Watchdog.h:366
Definition: Watchdog.h:266
Watchdog_FxnTable const * fxnTablePtr
Definition: Watchdog.h:387
Watchdog_Handle Watchdog_open(uint_least8_t index, Watchdog_Params *params)
Opens a Watchdog.
Watchdog_CloseFxn watchdogClose
Definition: Watchdog.h:364
int_fast16_t Watchdog_setReload(Watchdog_Handle handle, uint32_t ticks)
Sets the Watchdog reload value.