Searched refs:sec (Results 1 – 3 of 3) sorted by relevance
51 if (!(t->sec >= 0 && t->sec <= 59)) return false; in valid_datetime()74 (((uint32_t)t->sec) << RTC_SETUP_1_SEC_LSB); in rtc_set_datetime()101 t->sec = (int8_t) ((rtc_0 & RTC_RTC_0_SEC_BITS ) >> RTC_RTC_0_SEC_LSB); in rtc_get_datetime()143 if (t->sec < 0) return true; in rtc_alarm_repeats()157 ((t->sec < 0) ? 0 : (((uint32_t)t->sec) << RTC_IRQ_SETUP_1_SEC_LSB )); in rtc_set_alarm()166 if (t->sec >= 0) hw_set_bits(&rtc_hw->irq_setup_1, RTC_IRQ_SETUP_1_SEC_ENA_BITS); in rtc_set_alarm()
39 t->sec, in datetime_to_str()
100 int8_t sec; ///< 0..59 member
Completed in 3 milliseconds