|
ESPHome 2026.4.0-dev
|
#include <preferences.h>
Public Member Functions | |
| RP2040Preferences () | |
| void | setup () |
| ESPPreferenceObject | make_preference (size_t length, uint32_t type, bool in_flash) |
| ESPPreferenceObject | make_preference (size_t length, uint32_t type) |
| bool | sync () |
| bool | reset () |
Public Member Functions inherited from esphome::PreferencesMixin< RP2040Preferences > | |
| ESPPreferenceObject | make_preference (uint32_t type, bool in_flash) |
| ESPPreferenceObject | make_preference (uint32_t type) |
Data Fields | |
| uint32_t | current_flash_offset = 0 |
Protected Attributes | |
| uint8_t * | eeprom_sector_ |
Definition at line 8 of file preferences.h.
| esphome::rp2040::RP2040Preferences::RP2040Preferences | ( | ) |
Definition at line 83 of file preferences.cpp.
| ESPPreferenceObject esphome::rp2040::RP2040Preferences::make_preference | ( | size_t | length, |
| uint32_t | type ) |
Definition at line 90 of file preferences.cpp.
|
inline |
Definition at line 13 of file preferences.h.
| bool esphome::rp2040::RP2040Preferences::reset | ( | ) |
Definition at line 124 of file preferences.cpp.
| void esphome::rp2040::RP2040Preferences::setup | ( | ) |
Definition at line 85 of file preferences.cpp.
| bool esphome::rp2040::RP2040Preferences::sync | ( | ) |
Definition at line 103 of file preferences.cpp.
| uint32_t esphome::rp2040::RP2040Preferences::current_flash_offset = 0 |
Definition at line 20 of file preferences.h.
|
protected |
Definition at line 23 of file preferences.h.