watchdog_if.h

    WATCHDOG

    Description:

    Declares standard watchdog APIs.

    Since:

    1.0

    Description

    (int16_t wdtId)

    struct DevHandle  

    Opens a watchdog.

    (struct DevHandle handle)

    void 

    Closes a watchdog.

    (struct DevHandle handle, int32_t status)

    int32_t 

    Obtains the watchdog status.

    (struct DevHandle handle)

    Starts a watchdog.

    (struct DevHandle handle)

    int32_t 

    Stops a watchdog.

    (struct DevHandle handle, uint32_t seconds)

    int32_t 

    Sets the watchdog timeout duration.

    (struct DevHandle handle, uint32_t seconds)

    int32_t 

    Obtains the watchdog timeout duration.

    (struct DevHandle handle)

    Feeds a watchdog, that is, resets a watchdog timer.