Home
last modified time | relevance | path

Searched refs:z_time (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/rtc/
Drtc_ifx_cat1.c118 struct rtc_time *z_time) in _ifx_cat1_rtc_from_pdl_time() argument
121 CY_ASSERT(z_time != NULL); in _ifx_cat1_rtc_from_pdl_time()
123 z_time->tm_sec = (int)pdlTime->sec; in _ifx_cat1_rtc_from_pdl_time()
124 z_time->tm_min = (int)pdlTime->min; in _ifx_cat1_rtc_from_pdl_time()
125 z_time->tm_hour = (int)pdlTime->hour; in _ifx_cat1_rtc_from_pdl_time()
126 z_time->tm_mday = (int)pdlTime->date; in _ifx_cat1_rtc_from_pdl_time()
127 z_time->tm_year = (int)(year - _IFX_CAT1_RTC_TM_YEAR_BASE); in _ifx_cat1_rtc_from_pdl_time()
132 z_time->tm_mon = (int)(pdlTime->month - 1u); in _ifx_cat1_rtc_from_pdl_time()
133 z_time->tm_wday = (int)(pdlTime->dayOfWeek - 1u); in _ifx_cat1_rtc_from_pdl_time()
136 z_time->tm_yday = -1; in _ifx_cat1_rtc_from_pdl_time()
[all …]