Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Drtc.c173 sPt->u32Year = u32Tmp + (uint32_t)RTC_YEAR2000; in RTC_GetDateAndTime()
268 sPt->u32Year = u32Tmp + (uint32_t)RTC_YEAR2000; in RTC_GetAlarmDateAndTime()
371 u32RegCAL = ((sPt->u32Year - (uint32_t)RTC_YEAR2000) / 10UL) << 20; in RTC_SetDateAndTime()
372 u32RegCAL |= (((sPt->u32Year - (uint32_t)RTC_YEAR2000) % 10UL) << 16); in RTC_SetDateAndTime()
442 u32RegCALM = ((sPt->u32Year - (uint32_t)RTC_YEAR2000) / 10UL) << 20; in RTC_SetAlarmDateAndTime()
443 u32RegCALM |= (((sPt->u32Year - (uint32_t)RTC_YEAR2000) % 10UL) << 16); in RTC_SetAlarmDateAndTime()
475 void RTC_SetDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day, uint32_t u32DayOfWeek) in RTC_SetDate() argument
479 u32RegCAL = ((u32Year - (uint32_t)RTC_YEAR2000) / 10UL) << 20; in RTC_SetDate()
480 u32RegCAL |= (((u32Year - (uint32_t)RTC_YEAR2000) % 10UL) << 16); in RTC_SetDate()
550 void RTC_SetAlarmDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day) in RTC_SetAlarmDate() argument
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Drtc.c172 sPt->u32Year = u32Tmp + (uint32_t)RTC_YEAR2000; in RTC_GetDateAndTime()
269 sPt->u32Year = u32Tmp + (uint32_t)RTC_YEAR2000; in RTC_GetAlarmDateAndTime()
373 u32RegCAL = ((sPt->u32Year - (uint32_t)RTC_YEAR2000) / 10UL) << 20; in RTC_SetDateAndTime()
374 u32RegCAL |= (((sPt->u32Year - (uint32_t)RTC_YEAR2000) % 10UL) << 16); in RTC_SetDateAndTime()
447 u32RegCALM = ((sPt->u32Year - (uint32_t)RTC_YEAR2000) / 10UL) << 20; in RTC_SetAlarmDateAndTime()
448 u32RegCALM |= (((sPt->u32Year - (uint32_t)RTC_YEAR2000) % 10UL) << 16); in RTC_SetAlarmDateAndTime()
482 void RTC_SetDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day, uint32_t u32DayOfWeek) in RTC_SetDate() argument
486 u32RegCAL = ((u32Year - (uint32_t)RTC_YEAR2000) / 10UL) << 20; in RTC_SetDate()
487 u32RegCAL |= (((u32Year - (uint32_t)RTC_YEAR2000) % 10UL) << 16); in RTC_SetDate()
560 void RTC_SetAlarmDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day) in RTC_SetAlarmDate() argument
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Drtc.h114 uint32_t u32Year; /*!< Year value */ member
325 void RTC_SetDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day, uint32_t u32DayOfWeek);
327 void RTC_SetAlarmDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Drtc.h139 uint32_t u32Year; /*!< Year value */ member
365 void RTC_SetDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day, uint32_t u32DayOfWeek);
367 void RTC_SetAlarmDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day);