Searched refs:sPt (Results 1 – 2 of 2) sorted by relevance
66 void RTC_Open(S_RTC_TIME_DATA_T *sPt) in RTC_Open() argument78 if(sPt == 0) in RTC_Open()84 RTC_SetDateAndTime(sPt); in RTC_Open()170 void RTC_GetDateAndTime(S_RTC_TIME_DATA_T *sPt) in RTC_GetDateAndTime() argument174 sPt->u32TimeScale = RTC->CLKFMT & RTC_CLKFMT_24HEN_Msk; /* 12/24-hour */ in RTC_GetDateAndTime()175 sPt->u32DayOfWeek = RTC->WEEKDAY & RTC_WEEKDAY_WEEKDAY_Msk; /* Day of the week */ in RTC_GetDateAndTime()196 sPt->u32Year = u32Tmp + RTC_YEAR2000; in RTC_GetDateAndTime()200 sPt->u32Month = u32Tmp + g_u32loMonth; in RTC_GetDateAndTime()204 sPt->u32Day = u32Tmp + g_u32loDay; in RTC_GetDateAndTime()207 if(sPt->u32TimeScale == RTC_CLOCK_12) in RTC_GetDateAndTime()[all …]
305 void RTC_Open(S_RTC_TIME_DATA_T *sPt);308 void RTC_GetDateAndTime(S_RTC_TIME_DATA_T *sPt);309 void RTC_GetAlarmDateAndTime(S_RTC_TIME_DATA_T *sPt);310 void RTC_SetDateAndTime(S_RTC_TIME_DATA_T *sPt);311 void RTC_SetAlarmDateAndTime(S_RTC_TIME_DATA_T *sPt);