Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Drtc.c341 uint32_t u32RegCAL, u32RegTIME; in RTC_SetDateAndTime() local
378 u32RegTIME = ((sPt->u32Hour / 10UL) << 20); in RTC_SetDateAndTime()
379 u32RegTIME |= ((sPt->u32Hour % 10UL) << 16); in RTC_SetDateAndTime()
380 u32RegTIME |= ((sPt->u32Minute / 10UL) << 12); in RTC_SetDateAndTime()
381 u32RegTIME |= ((sPt->u32Minute % 10UL) << 8); in RTC_SetDateAndTime()
382 u32RegTIME |= ((sPt->u32Second / 10UL) << 4); in RTC_SetDateAndTime()
383 u32RegTIME |= (sPt->u32Second % 10UL); in RTC_SetDateAndTime()
389 RTC->TIME = (uint32_t)u32RegTIME; in RTC_SetDateAndTime()
509 uint32_t u32RegTIME; in RTC_SetTime() local
517 u32RegTIME = ((u32Hour / 10UL) << 20); in RTC_SetTime()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Drtc.c342 uint32_t u32RegCAL, u32RegTIME; in RTC_SetDateAndTime() local
380 u32RegTIME = ((sPt->u32Hour / 10UL) << 20); in RTC_SetDateAndTime()
381 u32RegTIME |= ((sPt->u32Hour % 10UL) << 16); in RTC_SetDateAndTime()
382 u32RegTIME |= ((sPt->u32Minute / 10UL) << 12); in RTC_SetDateAndTime()
383 u32RegTIME |= ((sPt->u32Minute % 10UL) << 8); in RTC_SetDateAndTime()
384 u32RegTIME |= ((sPt->u32Second / 10UL) << 4); in RTC_SetDateAndTime()
385 u32RegTIME |= (sPt->u32Second % 10UL); in RTC_SetDateAndTime()
393 RTC->TIME = (uint32_t)u32RegTIME; in RTC_SetDateAndTime()
517 uint32_t u32RegTIME; in RTC_SetTime() local
525 u32RegTIME = ((u32Hour / 10UL) << 20); in RTC_SetTime()
[all …]