Home
last modified time | relevance | path

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

/hal_nuvoton-3.4.0/m48x/StdDriver/src/
Drtc.c196 sPt->u32Year = u32Tmp + RTC_YEAR2000; in RTC_GetDateAndTime()
293 sPt->u32Year = u32Tmp + RTC_YEAR2000; in RTC_GetAlarmDateAndTime()
402 u32RegCAL = ((sPt->u32Year - RTC_YEAR2000) / 10ul) << 20; in RTC_SetDateAndTime()
403 u32RegCAL |= (((sPt->u32Year - RTC_YEAR2000) % 10ul) << 16); in RTC_SetDateAndTime()
479 u32RegCALM = ((sPt->u32Year - RTC_YEAR2000) / 10ul) << 20; in RTC_SetAlarmDateAndTime()
480 u32RegCALM |= (((sPt->u32Year - RTC_YEAR2000) % 10ul) << 16); in RTC_SetAlarmDateAndTime()
518 u32RegCAL = ((u32Year - RTC_YEAR2000) / 10ul) << 20; in RTC_SetDate()
519 u32RegCAL |= (((u32Year - RTC_YEAR2000) % 10ul) << 16); in RTC_SetDate()
596 u32RegCALM = ((u32Year - RTC_YEAR2000) / 10ul) << 20; in RTC_SetAlarmDate()
597 u32RegCALM |= (((u32Year - RTC_YEAR2000) % 10ul) << 16); in RTC_SetAlarmDate()
/hal_nuvoton-3.4.0/m48x/StdDriver/inc/
Drtc.h70 #define RTC_YEAR2000 2000UL /*!< RTC Reference for compute year data \hideini… macro