Searched refs:u32RegCALM (Results 1 – 2 of 2) sorted by relevance
415 uint32_t u32RegCALM, u32RegTALM; in RTC_SetAlarmDateAndTime() local442 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()444 u32RegCALM |= ((sPt->u32Month / 10UL) << 12); in RTC_SetAlarmDateAndTime()445 u32RegCALM |= ((sPt->u32Month % 10UL) << 8); in RTC_SetAlarmDateAndTime()446 u32RegCALM |= ((sPt->u32Day / 10UL) << 4); in RTC_SetAlarmDateAndTime()447 u32RegCALM |= (sPt->u32Day % 10UL); in RTC_SetAlarmDateAndTime()456 RTC->CALM = (uint32_t)u32RegCALM; in RTC_SetAlarmDateAndTime()552 uint32_t u32RegCALM; in RTC_SetAlarmDate() local554 u32RegCALM = ((u32Year - (uint32_t)RTC_YEAR2000) / 10UL) << 20; in RTC_SetAlarmDate()[all …]
419 uint32_t u32RegCALM, u32RegTALM; in RTC_SetAlarmDateAndTime() local447 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()449 u32RegCALM |= ((sPt->u32Month / 10UL) << 12); in RTC_SetAlarmDateAndTime()450 u32RegCALM |= ((sPt->u32Month % 10UL) << 8); in RTC_SetAlarmDateAndTime()451 u32RegCALM |= ((sPt->u32Day / 10UL) << 4); in RTC_SetAlarmDateAndTime()452 u32RegCALM |= (sPt->u32Day % 10UL); in RTC_SetAlarmDateAndTime()462 RTC->CALM = (uint32_t)u32RegCALM; in RTC_SetAlarmDateAndTime()562 uint32_t u32RegCALM; in RTC_SetAlarmDate() local564 u32RegCALM = ((u32Year - (uint32_t)RTC_YEAR2000) / 10UL) << 20; in RTC_SetAlarmDate()[all …]