ESPHome
2024.10.2
esphome
esphome
components
watchdog
watchdog.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/defines.h
"
4
5
#include <cstdint>
6
7
namespace
esphome
{
8
namespace
watchdog {
9
10
class
WatchdogManager
{
11
public
:
12
WatchdogManager
(uint32_t timeout_ms);
13
~WatchdogManager
();
14
15
private
:
16
uint32_t get_timeout_();
17
void
set_timeout_(uint32_t timeout_ms);
18
19
uint32_t saved_timeout_ms_{0};
20
uint32_t timeout_ms_{0};
21
};
22
23
}
// namespace watchdog
24
}
// namespace esphome
esphome::watchdog::WatchdogManager::WatchdogManager
WatchdogManager(uint32_t timeout_ms)
Definition:
watchdog.cpp:22
esphome::watchdog::WatchdogManager::~WatchdogManager
~WatchdogManager()
Definition:
watchdog.cpp:30
esphome::watchdog::WatchdogManager
Definition:
watchdog.h:10
defines.h
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
Generated by
1.8.13