Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
Watchdog Class Reference

Class that implements the watchdog timer. More...

#include <cs_Watchdog.h>

Static Public Member Functions

static void init ()
 Init the watchdog timer. More...
 
static void start ()
 Start the watchdog timer. More...
 
static void kick ()
 Restart the watchdog timer. More...
 

Static Private Attributes

static nrfx_wdt_channel_id _channelId
 

Detailed Description

Class that implements the watchdog timer.

  • Once started, keep kicking it to prevent a timeout.
  • Reboot on timeout.
  • When rebooted by timeout, RESETREAS will have the DOG bit set.

Member Function Documentation

◆ init()

static void Watchdog::init ( )
static

Init the watchdog timer.

◆ kick()

static void Watchdog::kick ( )
static

Restart the watchdog timer.

◆ start()

static void Watchdog::start ( )
static

Start the watchdog timer.

Member Data Documentation

◆ _channelId

nrfx_wdt_channel_id Watchdog::_channelId
staticprivate

The documentation for this class was generated from the following file: