Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNHW_NVMC.c105 uint flash_n_pages; member
135 uint flash_n_pages[NHW_NVMC_UICR_TOTAL_INST] = NHW_FLASH_N_PAGES; in nhw_nvmc_uicr_init() local
153 this->flash_n_pages = flash_n_pages[inst]; in nhw_nvmc_uicr_init()
155 this->flash_size = this->flash_n_pages * this->flash_page_size; in nhw_nvmc_uicr_init()
166 this->time_under_erase = (bs_time_t *)bs_calloc(this->flash_n_pages, sizeof(bs_time_t)); in nhw_nvmc_uicr_init()
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()
245 memset(this->time_under_erase, 0, this->flash_n_pages*sizeof(bs_time_t)); in nhw_nvmc_complete_erase_all()
246 memset(this->page_erased, true, this->flash_n_pages*sizeof(bool)); in nhw_nvmc_complete_erase_all()