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) 456 extern int_fast16_t
Watchdog_control(Watchdog_Handle handle, uint_fast16_t cmd,
void *arg);
ADC_Params params
Definition: Driver_Init.h:11
Watchdog_Callback callbackFxn
Definition: Watchdog.h:303
Watchdog_DebugMode debugStallMode
Definition: Watchdog.h:307
void Watchdog_clear(Watchdog_Handle handle)
Clears the Watchdog.
void * custom
Definition: Watchdog.h:309
Watchdog_ControlFxn watchdogControl
Definition: Watchdog.h:364
Watchdog_Handle(* Watchdog_OpenFxn)(Watchdog_Handle handle, Watchdog_Params *params)
A function pointer to a driver specific implementation of Watchdog_open().
Definition: Watchdog.h:341
Watchdog_ConvertMsToTicksFxn watchdogConvertMsToTicks
Definition: Watchdog.h:368
void(* Watchdog_Callback)(uintptr_t handle)
Watchdog callback pointer.
Definition: Watchdog.h:291
Watchdog_ResetMode resetMode
Definition: Watchdog.h:305
void * object
Definition: Watchdog.h:390
Watchdog Parameters.
Definition: Watchdog.h:301
void(* Watchdog_InitFxn)(Watchdog_Handle handle)
A function pointer to a driver specific implementation of Watchdog_init().
Definition: Watchdog.h:335
Definition: Watchdog.h:279
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:329
void const * hwAttrs
Definition: Watchdog.h:393
Watchdog Global configuration.
Definition: Watchdog.h:382
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:323
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:366
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:317
uint32_t(* Watchdog_ConvertMsToTicksFxn)(Watchdog_Handle handle, uint32_t milliseconds)
A function pointer to a driver specific implementation of Watchdog_ConvertMsToTicksFxn().
Definition: Watchdog.h:353
uint32_t Watchdog_convertMsToTicks(Watchdog_Handle handle, uint32_t milliseconds)
Converts milliseconds to Watchdog clock ticks.
Watchdog_ClearFxn watchdogClear
Definition: Watchdog.h:362
Watchdog_SetReloadFxn watchdogSetReload
Definition: Watchdog.h:367
Definition: Watchdog.h:280
The definition of a Watchdog function table that contains the required set of functions to control a ...
Definition: Watchdog.h:360
Watchdog_ResetMode
Watchdog reset mode settings.
Definition: Watchdog.h:277
Definition: Watchdog.h:266
struct Watchdog_Config_ Watchdog_Config
Watchdog Global configuration.
Watchdog_InitFxn watchdogInit
Definition: Watchdog.h:365
Definition: Watchdog.h:267
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:363
int_fast16_t Watchdog_setReload(Watchdog_Handle handle, uint32_t ticks)
Sets the Watchdog reload value.