Home
last modified time | relevance | path

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

/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dfmc.c102 int32_t FMC_ConfigXOM(uint32_t u32XomNum, uint32_t u32XomBase, uint8_t u8XomPage) in FMC_ConfigXOM() argument
106 if(u32XomNum >= 4UL) in FMC_ConfigXOM()
113 ret = FMC_GetXOMState(u32XomNum); in FMC_ConfigXOM()
119 FMC_ISP->ISPADDR = FMC_XOM_BASE + (u32XomNum * 0x10u); in FMC_ConfigXOM()
134 FMC_ISP->ISPADDR = FMC_XOM_BASE + (u32XomNum * 0x10u + 0x04u); in FMC_ConfigXOM()
149 FMC_ISP->ISPADDR = FMC_XOM_BASE + (u32XomNum * 0x10u + 0x08u); in FMC_ConfigXOM()
239 int32_t FMC_EraseXOM(uint32_t u32XomNum) in FMC_EraseXOM() argument
244 if(u32XomNum >= 4UL) in FMC_EraseXOM()
251 i32Active = FMC_GetXOMState(u32XomNum); in FMC_EraseXOM()
255 u32Addr = (((uint32_t)(&FMC->XOMR0STS)[u32XomNum]) & 0xFFFFFF00u) >> 8u; in FMC_EraseXOM()
[all …]
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dfmc.c101 int32_t FMC_ConfigXOM(uint32_t u32XomNum, uint32_t u32XomBase, uint8_t u8XomPage) in FMC_ConfigXOM() argument
105 if(u32XomNum >= 4UL) in FMC_ConfigXOM()
112 ret = FMC_GetXOMState(u32XomNum); in FMC_ConfigXOM()
118 FMC->ISPADDR = FMC_XOM_BASE + (u32XomNum * 0x10u); in FMC_ConfigXOM()
133 FMC->ISPADDR = FMC_XOM_BASE + (u32XomNum * 0x10u + 0x04u); in FMC_ConfigXOM()
148 FMC->ISPADDR = FMC_XOM_BASE + (u32XomNum * 0x10u + 0x08u); in FMC_ConfigXOM()
267 int32_t FMC_EraseXOM(uint32_t u32XomNum) in FMC_EraseXOM() argument
272 if(u32XomNum >= 4UL) in FMC_EraseXOM()
279 i32Active = FMC_GetXOMState(u32XomNum); in FMC_EraseXOM()
283 u32Addr = ( ( (uint32_t)(&FMC->XOMR0STS)[u32XomNum] ) & 0xFFFFFF00u ) >> 8u; in FMC_EraseXOM()
[all …]