API Reference: Libraries

 Top

pitx-sp_wd

NAME

pitx-sp_wd - pITX-SP Watchdog timer driver

ROUTINES

pitxWdtEnable( ) - Enable Watchdog timer
pitxWdtDisable( ) - Disable watchdog
pitxWdtTrigger( ) - Trigger watchdog

DESCRIPTION

This driver provides functions to control CPLD watchdog.

For details see: KTD-S0003-C pITX-SP Software Guide


API Reference: Routines

 Top

pitxWdtEnable( )

NAME

pitxWdtEnable( ) - Enable Watchdog timer

SYNOPSIS

STATUS pitxWdtEnable(UINT32 timeout)

DESCRIPTION

   This routine enables and starts the watchdog timer. The valid input values are :
      1 sec, 5 sec, 10 sec, 1 min, 5 min, 10 min

PARAMETERS

   timeout - time value in msecs

RETURNS

OK or ERROR, if parameter is incorrect

ERRNO

SEE ALSO

pitx


API Reference: Routines

 Top

pitxWdtDisable( )

NAME

pitxWdtDisable( ) - Disable watchdog

SYNOPSIS

void pitxWdtDisable(void)

DESCRIPTION

   This routine deactivates the watchdog timer

PARAMETERS

   NONE

RETURNS

N/A

ERRNO

SEE ALSO

pitx


API Reference: Routines

 Top

pitxWdtTrigger( )

NAME

pitxWdtTrigger( ) - Trigger watchdog

SYNOPSIS

void pitxWdtTrigger(void)

DESCRIPTION

This function triggers the previously activated watchdog timer

RETURNS

N/A

ERRNO

SEE ALSO

pitx