Searched refs:rtc_0 (Results 1 – 2 of 2) sorted by relevance
94 uint32_t rtc_0 = rtc_hw->rtc_0; in rtc_get_datetime() local97 t->dotw = (int8_t) ((rtc_0 & RTC_RTC_0_DOTW_BITS ) >> RTC_RTC_0_DOTW_LSB); in rtc_get_datetime()98 t->hour = (int8_t) ((rtc_0 & RTC_RTC_0_HOUR_BITS ) >> RTC_RTC_0_HOUR_LSB); in rtc_get_datetime()99 t->min = (int8_t) ((rtc_0 & RTC_RTC_0_MIN_BITS ) >> RTC_RTC_0_MIN_LSB); in rtc_get_datetime()100 t->sec = (int8_t) ((rtc_0 & RTC_RTC_0_SEC_BITS ) >> RTC_RTC_0_SEC_LSB); in rtc_get_datetime()
92 io_ro_32 rtc_0;