Skip to content

Watchdog Timer

Watchdog Timer Driver.

Functions Overview

Name
cw_driver_return_twdt_disable(int hDev)
ADWDTC driver API minimum API for WDT drivers.
cw_driver_return_twdt_enable(int hDev)
Enable the watchdog timer.
cw_driver_return_twdt_reset(int hDev)
Reset the watchdog timer.
cw_driver_return_twdt_reconfigure(int hDev, unsigned period_ms)

Function Details

function wdt_disable

cpp
cw_driver_return_t wdt_disable(
    int hDev
)

ADWDTC driver API minimum API for WDT drivers.

Disable the watchdog timer

function wdt_enable

cpp
cw_driver_return_t wdt_enable(
    int hDev
)

Enable the watchdog timer.

function wdt_reset

cpp
cw_driver_return_t wdt_reset(
    int hDev
)

Reset the watchdog timer.

function wdt_reconfigure

cpp
cw_driver_return_t wdt_reconfigure(
    int hDev,
    unsigned period_ms
)