Home
last modified time | relevance | path

Searched refs:state_addr (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-2.7.6/components/wear_levelling/
DWL_Ext_Safe.cpp62 this->state_addr = WL_Flash::chip_size() - 2 * WL_Flash::sector_size(); in config()
90 result = WL_Flash::read(this->state_addr, &state, sizeof(WL_Ext_Safe_State)); in recover()
111 result = WL_Flash::erase_range(this->state_addr, this->flash_sector_size); in recover()
141 result = WL_Flash::erase_sector(this->state_addr / this->flash_sector_size); in erase_sector_fit()
143 result = WL_Flash::write(this->state_addr + 0, &state, sizeof(WL_Ext_Safe_State)); in erase_sector_fit()
157 result = WL_Flash::erase_sector(this->state_addr / this->flash_sector_size); in erase_sector_fit()
/hal_espressif-2.7.6/components/wear_levelling/private_include/
DWL_Ext_Safe.h37 uint32_t state_addr;// sectore where state of transaction will be stored variable