Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_Watchdog.h
Go to the documentation of this file.
1/*
2 * Author: Crownstone Team
3 * Copyright: Crownstone (https://crownstone.rocks)
4 * Date: Apr 14, 2020
5 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)
6 */
7
8#pragma once
9
10#include <ble/cs_Nordic.h>
11
19class Watchdog {
20public:
24 static void init();
25
29 static void start();
30
34 static void kick();
35
36private:
37 static nrfx_wdt_channel_id _channelId;
38};
Class that implements the watchdog timer.
Definition: cs_Watchdog.h:19
static void kick()
Restart the watchdog timer.
static void init()
Init the watchdog timer.
static nrfx_wdt_channel_id _channelId
Definition: cs_Watchdog.h:37
static void start()
Start the watchdog timer.