Skip to content

File lt_wdt.h

FileList > api > lt_wdt.h

Go to the source code of this file.

  • #include <libretiny.h>

Public Functions

Type Name
void lt_wdt_disable ()
Disable the hardware watchdog.
bool lt_wdt_enable (uint32_t timeout)
Enable the hardware watchdog.
void lt_wdt_feed ()
Feed/reset the hardware watchdog timer.

Public Functions Documentation

function lt_wdt_disable

void lt_wdt_disable () 

function lt_wdt_enable

Enable the hardware watchdog.

bool lt_wdt_enable (
    uint32_t timeout
) 

Parameters:

  • timeout watchdog timeout, milliseconds

Returns:

whether the chip has a hardware watchdog

function lt_wdt_feed

void lt_wdt_feed () 

The documentation for this class was generated from the following file cores/common/base/api/lt_wdt.h