Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/spi_flash/sim/
DSpiFlash.cpp58 this->erase_states = (bool*) calloc(this->sectors, sizeof(bool)); in init()
59 memset(this->erase_states, 0xFF, this->sectors * sizeof(bool)); in init()
89 free(this->erase_states); in deinit()
139 if (this->erase_states[sector]) { in erase_sector()
150 this->erase_states[sector] = true; in erase_sector()
182 this->erase_states[i] = false; in write()
DSpiFlash.h71 bool* erase_states; variable