60 uint32_t ul_hour, ul_minute, ul_second;
61 uint32_t ul_year, ul_month, ul_day, ul_week;
75 ul_time = ((ul_year - 1980) << 25)
80 | ((ul_second >> 1) << 0);
void rtc_get_time(Rtc *p_rtc, uint32_t *pul_hour, uint32_t *pul_minute, uint32_t *pul_second)
Get the RTC time value.
uint32_t get_fattime(void)
Current time returned is packed into a DWORD value.
Commonly used includes, types and macros.
date_time_t g_gps_date_time
void rtc_get_date(Rtc *p_rtc, uint32_t *pul_year, uint32_t *pul_month, uint32_t *pul_day, uint32_t *pul_week)
Get the RTC date value.
#define RTC
(RTC ) Base Address