Functions
DSP Watchdog Timer Functions
DSP Watchdog Timer

Functions

WatchdogTimer_Status WatchdogTimer_Init (WatchdogTimer_InitCfg *wdCfg)
WatchdogTimer_Status WatchdogTimer_ResetTimer (void)
WatchdogTimer_Status WatchdogTimer_MoveToServiceState (void)
WatchdogTimer_Status WatchdogTimer_MoveToActiveState (void)
void WatchdogTimer_ForceTimeout (void)
Bool WatchdogTimer_HasTimeoutOccurred (void)

Function Documentation

void WatchdogTimer_ForceTimeout ( void  )

Description
This function is called to force a timeout of the watchdog timer by writing an invalid value to the watchdog timer control registers

Description
This function is called to check the Watchdog Timer control registers to see if a timeout has occurred. This function should be used to check for a timeout when the Watchdog Timer module has not been hooked up to the BIOS Exception module.

Return values:
TRUE- A Watchdog Timer timeout has occurred.
FALSE- A Watchdog Timer timeout has not occurred.
WatchdogTimer_Status WatchdogTimer_Init ( WatchdogTimer_InitCfg *  wdCfg)

Description
This function is called to configure and start the watchdog timer for a DSP core. The input configuration controls watchdog running conditions, timeout conditions, and timeout actions.

Parameters:
[in]wdCfgWatchdog timer configuration structure. For more information on the configuration parameters please see WatchdogTimer.xdc
Return values:
WatchdogTimer_Status- For more information on status return values please see WatchdogTimer.xdc
WatchdogTimer_Status WatchdogTimer_MoveToActiveState ( void  )

Description
This function is called to move the Watchdog timer from the Service state to the Active state. This will reset the watchdog timer count as long as the watchdog timer resides in the Service state at the time of calling this API. A call to this function must be preceeded by a call to the WatchdogTimer_MoveToServiceState function in order to fully reset the watchdog timer count.

Return values:
NotApplicable
WatchdogTimer_Status WatchdogTimer_MoveToServiceState ( void  )

Description
This function is called to move the Watchdog timer from the Active state to the Service state. This will NOT reset the watchdog timer count. A call to this function must be followed by a call to the WatchdogTimer_MoveToActiveState function in order to fully reset the watchdog timer count.

Return values:
WatchdogTimer_Status- For more information on status return values please see WatchdogTimer.xdc
WatchdogTimer_Status WatchdogTimer_ResetTimer ( void  )

Description
This function is called to perform a full reset of the watchdog timer count. It will move the watchdog timer from the Active state to the Service state then back to the Active state in order to reset the watchdog timer.

Return values:
WatchdogTimer_Status- For more information on status return values please see WatchdogTimer.xdc

Copyright 2014, Texas Instruments Incorporated