Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNHW_RRAMC.c85 nvm_storage_state_t uicr_st; member
131 nhw_nvm_init_storage(&this->uicr_st, &nvmc_args.uicr[inst], in nhw_RRAMC_uicr_init()
134 NRF_UICR_regs_p[inst] = (NRF_UICR_Type *)this->uicr_st.storage; in nhw_RRAMC_uicr_init()
147 nhw_nvm_clear_storage(&this->uicr_st); in nhw_RRAMC_uicr_clean_up()
158 (void)memset(this->uicr_st.storage, 0xFF, this->uicr_st.size); in nhw_RRAMC_erase_uicr()
203 if ((address >= (uint32_t)hw_rramc_st[i].uicr_st.storage) \ in nhw_RRAMC_address_location()
204 && (address < (uint32_t)hw_rramc_st[i].uicr_st.storage + hw_rramc_st[i].uicr_size)) { in nhw_RRAMC_address_location()
205 *storage = &hw_rramc_st[i].uicr_st; in nhw_RRAMC_address_location()
206 *offset = address - (uint32_t)hw_rramc_st[i].uicr_st.storage; in nhw_RRAMC_address_location()
DNHW_NVMC.c96 nvm_storage_state_t uicr_st; member
161 nhw_nvm_init_storage(&this->uicr_st, &nvmc_args.uicr[inst], in nhw_nvmc_uicr_init()
164 NRF_UICR_regs_p[inst] = (NRF_UICR_Type *)this->uicr_st.storage; in nhw_nvmc_uicr_init()
193 nhw_nvm_clear_storage(&this->uicr_st); in nhw_nvmc_uicr_clean_up()
234 (void)memset(this->uicr_st.storage, 0xFF, this->uicr_st.size); in nhw_nvmc_complete_erase_uicr()
460 if ((address >= (uint32_t)hw_nvmc_st[i].uicr_st.storage) \ in nhw_nvmc_address_location()
461 && (address < (uint32_t)hw_nvmc_st[i].uicr_st.storage + hw_nvmc_st[i].uicr_size)) { in nhw_nvmc_address_location()
462 *storage = &hw_nvmc_st[i].uicr_st; in nhw_nvmc_address_location()
463 *offset = address - (uint32_t)hw_nvmc_st[i].uicr_st.storage; in nhw_nvmc_address_location()