Searched refs:sec (Results 1 – 3 of 3) sorted by relevance
50 if (!(t->sec >= 0 && t->sec <= 59)) return false; in valid_datetime()73 (((uint32_t)t->sec) << RTC_SETUP_1_SEC_LSB); in rtc_set_datetime()100 t->sec = (int8_t) ((rtc_0 & RTC_RTC_0_SEC_BITS ) >> RTC_RTC_0_SEC_LSB); in rtc_get_datetime()142 if (t->sec < 0) return true; in rtc_alarm_repeats()156 ((t->sec < 0) ? 0 : (((uint32_t)t->sec) << RTC_IRQ_SETUP_1_SEC_LSB )); in rtc_set_alarm()165 if (t->sec >= 0) hw_set_bits(&rtc_hw->irq_setup_1, RTC_IRQ_SETUP_1_SEC_ENA_BITS); in rtc_set_alarm()
55 t->sec, in datetime_to_str()65 tm->tm_sec = dt->sec; in datetime_to_tm()75 dt->sec = (int8_t) tm->tm_sec; // 0..59 in tm_to_datetime()
114 int8_t sec; ///< 0..59 member