Home
last modified time | relevance | path

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

/hal_infineon-3.4.0/XMCLib/drivers/src/
Dxmc4_scu.c460 uint32_t rmacr; in XMC_SCU_WriteToRetentionMemory() local
463rmacr = (uint32_t)((address << SCU_GENERAL_RMACR_ADDR_Pos) & (uint32_t)SCU_GENERAL_RMACR_ADDR_Msk); in XMC_SCU_WriteToRetentionMemory()
466 rmacr |= (uint32_t)(SCU_GENERAL_RMACR_RDWR_Msk); in XMC_SCU_WriteToRetentionMemory()
472 SCU_GENERAL->RMACR = rmacr; in XMC_SCU_WriteToRetentionMemory()
483 uint32_t rmacr; in XMC_SCU_ReadFromRetentionMemory() local
486rmacr = ((uint32_t)(address << SCU_GENERAL_RMACR_ADDR_Pos) & (uint32_t)SCU_GENERAL_RMACR_ADDR_Msk); in XMC_SCU_ReadFromRetentionMemory()
489 rmacr &= ~((uint32_t)(SCU_GENERAL_RMACR_RDWR_Msk)); in XMC_SCU_ReadFromRetentionMemory()
492 SCU_GENERAL->RMACR = rmacr; in XMC_SCU_ReadFromRetentionMemory()