ESPHome
2025.5.0
Loading...
Searching...
No Matches
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
Definition
watchdog.h:10
esphome::watchdog::WatchdogManager::~WatchdogManager
~WatchdogManager()
Definition
watchdog.cpp:31
esphome::watchdog::WatchdogManager::WatchdogManager
WatchdogManager(uint32_t timeout_ms)
Definition
watchdog.cpp:23
defines.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0