Searched refs:u32Year (Results 1 – 2 of 2) sorted by relevance
/hal_nuvoton-3.4.0/m48x/StdDriver/src/ |
D | rtc.c | 196 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() 514 void RTC_SetDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day, uint32_t u32DayOfWeek) in RTC_SetDate() argument 518 u32RegCAL = ((u32Year - RTC_YEAR2000) / 10ul) << 20; in RTC_SetDate() 519 u32RegCAL |= (((u32Year - RTC_YEAR2000) % 10ul) << 16); in RTC_SetDate() 592 void RTC_SetAlarmDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day) in RTC_SetAlarmDate() argument [all …]
|
/hal_nuvoton-3.4.0/m48x/StdDriver/inc/ |
D | rtc.h | 117 uint32_t u32Year; /*!< Year value */ member 312 void RTC_SetDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day, uint32_t u32DayOfWeek); 314 void RTC_SetAlarmDate(uint32_t u32Year, uint32_t u32Month, uint32_t u32Day);
|