Lines Matching refs:u32Hour
211 sPt->u32Hour = u32Tmp; /* AM: 1~12. PM: 21~32. */ in RTC_GetDateAndTime()
213 if(sPt->u32Hour >= 21ul) in RTC_GetDateAndTime()
216 sPt->u32Hour -= 20ul; in RTC_GetDateAndTime()
235 sPt->u32Hour = u32Tmp; in RTC_GetDateAndTime()
308 sPt->u32Hour = u32Tmp; /* AM: 1~12. PM: 21~32. */ in RTC_GetAlarmDateAndTime()
310 if(sPt->u32Hour >= 21ul) in RTC_GetAlarmDateAndTime()
313 sPt->u32Hour -= 20ul; in RTC_GetAlarmDateAndTime()
333 sPt->u32Hour = u32Tmp; in RTC_GetAlarmDateAndTime()
387 sPt->u32Hour += 20ul; in RTC_SetDateAndTime()
409 u32RegTIME = ((sPt->u32Hour / 10ul) << 20); in RTC_SetDateAndTime()
410 u32RegTIME |= ((sPt->u32Hour % 10ul) << 16); in RTC_SetDateAndTime()
468 sPt->u32Hour += 20ul; in RTC_SetAlarmDateAndTime()
486 u32RegTALM = ((sPt->u32Hour / 10ul) << 20); in RTC_SetAlarmDateAndTime()
487 u32RegTALM |= ((sPt->u32Hour % 10ul) << 16); in RTC_SetAlarmDateAndTime()
547 void RTC_SetTime(uint32_t u32Hour, uint32_t u32Minute, uint32_t u32Second, uint32_t u32TimeMode, ui… in RTC_SetTime() argument
554 u32Hour += 20ul; in RTC_SetTime()
557 u32RegTIME = ((u32Hour / 10ul) << 20); in RTC_SetTime()
558 u32RegTIME |= ((u32Hour % 10ul) << 16); in RTC_SetTime()
622 void RTC_SetAlarmTime(uint32_t u32Hour, uint32_t u32Minute, uint32_t u32Second, uint32_t u32TimeMod… in RTC_SetAlarmTime() argument
629 u32Hour += 20ul; in RTC_SetAlarmTime()
632 u32RegTALM = ((u32Hour / 10ul) << 20); in RTC_SetAlarmTime()
633 u32RegTALM |= ((u32Hour % 10ul) << 16); in RTC_SetAlarmTime()