ESPHome 2026.9.1
Loading...
Searching...
No Matches
esphome::esp32 Namespace Reference

Data Structures

class  ESP32InternalGPIOPin
 
class  ESP32PreferenceBackend
 
class  ESP32Preferences
 

Functions

bool crash_handler_has_data ()
 Returns true if crash data was found this boot, reading it first if needed.
 
void crash_handler_clear ()
 Clear the magic marker and mark crash data as consumed.
 
void crash_handler_log ()
 Log crash data if a crash was detected on previous boot.
 
ESP32Preferences * get_preferences ()
 
void setup_preferences ()
 

Function Documentation

◆ crash_handler_clear()

void esphome::esp32::crash_handler_clear ( )

Clear the magic marker and mark crash data as consumed.

Call after the data has been delivered to an API client.

Definition at line 207 of file crash_handler.cpp.

◆ crash_handler_has_data()

bool esphome::esp32::crash_handler_has_data ( )

Returns true if crash data was found this boot, reading it first if needed.

Definition at line 202 of file crash_handler.cpp.

◆ crash_handler_log()

void esphome::esp32::crash_handler_log ( )

Log crash data if a crash was detected on previous boot.

Definition at line 432 of file crash_handler.cpp.

◆ get_preferences()

ESP32Preferences * esphome::esp32::get_preferences ( )

Definition at line 311 of file preferences.cpp.

◆ setup_preferences()

void esphome::esp32::setup_preferences ( )

Definition at line 313 of file preferences.cpp.