Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Drtc.c1109 uint32_t u32Offset; in RTC_SetGPIOMode() local
1113 u32Offset = u32PFPin - 4; in RTC_SetGPIOMode()
1117 RTC->GPIOCTL0 = (RTC->GPIOCTL0 & ~(0x3FUL << (u32Offset * 8))) | in RTC_SetGPIOMode()
1118 (u32Mode << (u32Offset * 8)) | in RTC_SetGPIOMode()
1119 (u32OutputLevel << ((u32Offset * 8) + 2)) | in RTC_SetGPIOMode()
1120 (u32DigitalCtl << ((u32Offset * 8) + 3)) | in RTC_SetGPIOMode()
1121 (u32PullCtl << ((u32Offset * 8) + 4)); in RTC_SetGPIOMode()
1126 u32Offset = u32PFPin - 8; in RTC_SetGPIOMode()
1130 RTC->GPIOCTL1 = (RTC->GPIOCTL1 & ~(0x3FUL << (u32Offset * 8))) | in RTC_SetGPIOMode()
1131 (u32Mode << (u32Offset * 8)) | in RTC_SetGPIOMode()
[all …]