ESPHome  2024.11.0
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 
11  public:
12  WatchdogManager(uint32_t timeout_ms);
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
WatchdogManager(uint32_t timeout_ms)
Definition: watchdog.cpp:22
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7