MODIFICATION HISTORY:
Ver Who Date Changes ----- ------ -------- --------------------------------------------- 1.00a ecm/jz 01/15/10 First release 1.02a sg 07/15/12 Removed code/APIs related to External Signal Length functionality for CR 658287 Removed APIs XWdtPs_SetExternalSignalLength, XWdtPs_GetExternalSignalLength
#include "xwdtps.h"
Functions | |
int | XWdtPs_CfgInitialize (XWdtPs *InstancePtr, XWdtPs_Config *ConfigPtr, u32 EffectiveAddress) |
void | XWdtPs_Start (XWdtPs *InstancePtr) |
void | XWdtPs_Stop (XWdtPs *InstancePtr) |
void | XWdtPs_EnableOutput (XWdtPs *InstancePtr, u8 Signal) |
void | XWdtPs_DisableOutput (XWdtPs *InstancePtr, u8 Signal) |
u32 | XWdtPs_GetControlValue (XWdtPs *InstancePtr, u8 Control) |
void | XWdtPs_SetControlValue (XWdtPs *InstancePtr, u8 Control, u32 Value) |
|
Initialize a specific watchdog timer instance/driver. This function must be called before other functions of the driver are called.
|
|
Disables the indicated signal/output. Performs a read/modify/write cycle to update the value correctly.
|
|
Enables the indicated signal/output. Performs a read/modify/write cycle to update the value correctly.
|
|
Returns the current control setting for the indicated signal/output. The register referenced is the Counter Control Register (XWDTPS_CCR_OFFSET)
|
|
Updates the current control setting for the indicated signal/output with the provided value. Performs a read/modify/write cycle to update the value correctly. The register referenced is the Counter Control Register (XWDTPS_CCR_OFFSET)
|
|
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.
|