Lines Matching refs:address
118 int32_t XMC_FLASH_ErasePage(uint32_t *address) in XMC_FLASH_ErasePage() argument
120 return XMC1000_NvmErasePage(address); in XMC_FLASH_ErasePage()
123 int32_t XMC_FLASH_ProgramVerifyPage(uint32_t *address, const uint32_t *data) in XMC_FLASH_ProgramVerifyPage() argument
125 return XMC1000_NvmProgVerify(data, address); in XMC_FLASH_ProgramVerifyPage()
129 void XMC_FLASH_WriteBlocks(uint32_t *address, const uint32_t *data, uint32_t num_blocks, bool verif… in XMC_FLASH_WriteBlocks() argument
135 … ((uint32_t)address & FLASH_BLOCK_ADDR_MASK) == 0U) in XMC_FLASH_WriteBlocks()
154 *address = *data; in XMC_FLASH_WriteBlocks()
156 address++; in XMC_FLASH_WriteBlocks()
169 int32_t XMC_FLASH_ErasePages(uint32_t *address, uint32_t num_pages) in XMC_FLASH_ErasePages() argument
174 … ((uint32_t)address & FLASH_PAGE_ADDR_MASK) == 0U) in XMC_FLASH_ErasePages()
179 status = XMC1000_NvmErasePage(address); in XMC_FLASH_ErasePages()
186 address += XMC_FLASH_WORDS_PER_PAGE; in XMC_FLASH_ErasePages()
194 void XMC_FLASH_VerifyBlocks(uint32_t *address, const uint32_t *data, uint32_t num_blocks) in XMC_FLASH_VerifyBlocks() argument
200 … ((uint32_t)address & FLASH_BLOCK_ADDR_MASK) == 0U) in XMC_FLASH_VerifyBlocks()
212 *address = *data; in XMC_FLASH_VerifyBlocks()
214 address++; in XMC_FLASH_VerifyBlocks()
227 void XMC_FLASH_ReadBlocks(uint32_t *address, uint32_t *data, uint32_t num_blocks) in XMC_FLASH_ReadBlocks() argument
233 … ((uint32_t)address & FLASH_BLOCK_ADDR_MASK) == 0U) in XMC_FLASH_ReadBlocks()
239 *data = *address; in XMC_FLASH_ReadBlocks()
241 address++; in XMC_FLASH_ReadBlocks()
247 int32_t XMC_FLASH_EraseSector(uint32_t *address) in XMC_FLASH_EraseSector() argument
250 … ((uint32_t)address & FLASH_SECTOR_ADDR_MASK) == 0U) in XMC_FLASH_EraseSector()
251 return XMC_FLASH_ErasePages(address, XMC_FLASH_PAGES_PER_SECTOR); in XMC_FLASH_EraseSector()
255 int32_t XMC_FLASH_ProgramPage(uint32_t *address, const uint32_t *data) in XMC_FLASH_ProgramPage() argument
257 return XMC_FLASH_ProgramVerifyPage(address, data); in XMC_FLASH_ProgramPage()