Searched refs:hour (Results 1 – 3 of 3) sorted by relevance
48 if (!(t->hour >= 0 && t->hour <= 23)) return false; in valid_datetime()71 (((uint32_t)t->hour) << RTC_SETUP_1_HOUR_LSB) | in rtc_set_datetime()98 t->hour = (int8_t) ((rtc_0 & RTC_RTC_0_HOUR_BITS ) >> RTC_RTC_0_HOUR_LSB); in rtc_get_datetime()140 if (t->hour < 0) return true; in rtc_alarm_repeats()154 … ((t->hour < 0) ? 0 : (((uint32_t)t->hour) << RTC_IRQ_SETUP_1_HOUR_LSB)) | in rtc_set_alarm()163 if (t->hour >= 0) hw_set_bits(&rtc_hw->irq_setup_1, RTC_IRQ_SETUP_1_HOUR_ENA_BITS); in rtc_set_alarm()
53 t->hour, in datetime_to_str()63 tm->tm_hour = dt->hour; in datetime_to_tm()73 dt->hour = (int8_t) tm->tm_hour; // 0..23 in tm_to_datetime()
112 int8_t hour; ///< 0..23 member