Searched refs:sPt (Results 1 – 4 of 4) sorted by relevance
59 void RTC_Open(S_RTC_TIME_DATA_T *sPt) in RTC_Open() argument69 if(sPt != 0) in RTC_Open()75 RTC_SetDateAndTime(sPt); in RTC_Open()147 void RTC_GetDateAndTime(S_RTC_TIME_DATA_T *sPt) in RTC_GetDateAndTime() argument151 sPt->u32TimeScale = RTC->CLKFMT & RTC_CLKFMT_24HEN_Msk; /* 12/24-hour */ in RTC_GetDateAndTime()152 sPt->u32DayOfWeek = RTC->WEEKDAY & RTC_WEEKDAY_WEEKDAY_Msk; /* Day of the week */ in RTC_GetDateAndTime()173 sPt->u32Year = u32Tmp + (uint32_t)RTC_YEAR2000; in RTC_GetDateAndTime()177 sPt->u32Month = u32Tmp + g_u32loMonth; in RTC_GetDateAndTime()181 sPt->u32Day = u32Tmp + g_u32loDay; in RTC_GetDateAndTime()184 if(sPt->u32TimeScale == (uint32_t)RTC_CLOCK_12) in RTC_GetDateAndTime()[all …]
64 void RTC_Open(S_RTC_TIME_DATA_T *sPt) in RTC_Open() argument74 if(sPt != 0) in RTC_Open()77 RTC_SetDateAndTime(sPt); in RTC_Open()146 void RTC_GetDateAndTime(S_RTC_TIME_DATA_T *sPt) in RTC_GetDateAndTime() argument150 sPt->u32TimeScale = RTC->CLKFMT & RTC_CLKFMT_24HEN_Msk; /* 12/24-hour */ in RTC_GetDateAndTime()151 sPt->u32DayOfWeek = RTC->WEEKDAY & RTC_WEEKDAY_WEEKDAY_Msk; /* Day of the week */ in RTC_GetDateAndTime()172 sPt->u32Year = u32Tmp + (uint32_t)RTC_YEAR2000; in RTC_GetDateAndTime()176 sPt->u32Month = u32Tmp + g_u32loMonth; in RTC_GetDateAndTime()180 sPt->u32Day = u32Tmp + g_u32loDay; in RTC_GetDateAndTime()183 if(sPt->u32TimeScale == (uint32_t)RTC_CLOCK_12) in RTC_GetDateAndTime()[all …]
318 void RTC_Open(S_RTC_TIME_DATA_T *sPt);321 void RTC_GetDateAndTime(S_RTC_TIME_DATA_T *sPt);322 void RTC_GetAlarmDateAndTime(S_RTC_TIME_DATA_T *sPt);323 void RTC_SetDateAndTime(S_RTC_TIME_DATA_T *sPt);324 void RTC_SetAlarmDateAndTime(S_RTC_TIME_DATA_T *sPt);
358 void RTC_Open(S_RTC_TIME_DATA_T *sPt);361 void RTC_GetDateAndTime(S_RTC_TIME_DATA_T *sPt);362 void RTC_GetAlarmDateAndTime(S_RTC_TIME_DATA_T *sPt);363 void RTC_SetDateAndTime(S_RTC_TIME_DATA_T *sPt);364 void RTC_SetAlarmDateAndTime(S_RTC_TIME_DATA_T *sPt);