MODIFICATION HISTORY:
Ver Who Date Changes ----- ---- -------- ----------------------------------------------- 1.00a ecm 08/16/01 First release 1.00b jhl 02/21/02 Repartitioned the driver for smaller files 1.00b rpm 04/26/02 Made LookupConfig public 1.10b mta 03/23/07 Updated to new coding style 2.00a ktn 10/22/09 Updated to use the HAL processor APIs/macros.
#include "xil_types.h"
#include "xil_assert.h"
#include "xparameters.h"
#include "xil_io.h"
#include "xwdttb.h"
Functions | |
int | XWdtTb_Initialize (XWdtTb *InstancePtr, u16 DeviceId) |
void | XWdtTb_Start (XWdtTb *InstancePtr) |
int | XWdtTb_Stop (XWdtTb *InstancePtr) |
int | XWdtTb_IsWdtExpired (XWdtTb *InstancePtr) |
void | XWdtTb_RestartWdt (XWdtTb *InstancePtr) |
u32 | XWdtTb_GetTbValue (XWdtTb *InstancePtr) |
Variables | |
XWdtTb_Config | XWdtTb_ConfigTable [] |
|
Returns the current contents of the timebase.
|
|
Initialize a specific watchdog timer/timebase instance/driver. This function must be called before other functions of the driver are called.
|
|
Check if the watchdog timer has expired. This function is used for polled mode and it is also used to check if the last reset was caused by the watchdog timer.
|
|
Restart the watchdog timer. An application needs to call this function periodically to keep the timer from asserting the reset output.
|
|
Start the watchdog timer of the device.
|
|
Disable the watchdog timer. It is the caller's responsibility to disconnect the interrupt handler of the watchdog timer from the interrupt source, typically an interrupt controller, and disable the interrupt in the interrupt controller.
|
|
This table contains configuration information for each watchdog timer device in the system. |