Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNHW_NVMC.c100 bool *page_erased; //[flash_n_pages]; member
167 this->page_erased = (bool *)bs_malloc(this->flash_n_pages * sizeof(bool)); in nhw_nvmc_uicr_init()
168 memset(this->page_erased, true, this->flash_n_pages * sizeof(bool)); in nhw_nvmc_uicr_init()
174 this->page_erased[i/page_size] = false; in nhw_nvmc_uicr_init()
198 free(this->page_erased); in nhw_nvmc_uicr_clean_up()
199 this->page_erased = NULL; in nhw_nvmc_uicr_clean_up()
216 this->page_erased[erase_page] = true; in nhw_nvmc_complete_erase()
246 memset(this->page_erased, true, this->flash_n_pages*sizeof(bool)); in nhw_nvmc_complete_erase_all()
427 if (this->page_erased[this->erase_page] == false) { in nhw_nvmc_erase_page_partial()
521 this->page_erased[offset/this->flash_page_size] = false; in nhw_nmvc_write_word()