ESPHome 2026.3.0
Loading...
Searching...
No Matches
crash_handler.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef USE_RP2040
4
6
7#ifdef USE_RP2040_CRASH_HANDLER
8
9namespace esphome::rp2040 {
10
13
16
19
20} // namespace esphome::rp2040
21
22#endif // USE_RP2040_CRASH_HANDLER
23#endif // USE_RP2040
void crash_handler_log()
Log crash data if a crash was detected on previous boot.
bool crash_handler_has_data()
Returns true if crash data was found this boot.
void crash_handler_read_and_clear()
Read crash data from watchdog scratch registers and clear them.