Home
last modified time | relevance | path

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

/hal_nuvoton-3.4.0/m48x/StdDriver/src/
Drtc.c448 uint32_t u32RegCALM, u32RegTALM; in RTC_SetAlarmDateAndTime() local
479 u32RegCALM = ((sPt->u32Year - RTC_YEAR2000) / 10ul) << 20; in RTC_SetAlarmDateAndTime()
480 u32RegCALM |= (((sPt->u32Year - RTC_YEAR2000) % 10ul) << 16); in RTC_SetAlarmDateAndTime()
481 u32RegCALM |= ((sPt->u32Month / 10ul) << 12); in RTC_SetAlarmDateAndTime()
482 u32RegCALM |= ((sPt->u32Month % 10ul) << 8); in RTC_SetAlarmDateAndTime()
483 u32RegCALM |= ((sPt->u32Day / 10ul) << 4); in RTC_SetAlarmDateAndTime()
484 u32RegCALM |= (sPt->u32Day % 10ul); in RTC_SetAlarmDateAndTime()
494 RTC->CALM = (uint32_t)u32RegCALM; in RTC_SetAlarmDateAndTime()
594 uint32_t u32RegCALM; in RTC_SetAlarmDate() local
596 u32RegCALM = ((u32Year - RTC_YEAR2000) / 10ul) << 20; in RTC_SetAlarmDate()
[all …]