Searched refs:day (Results 1 – 3 of 3) sorted by relevance
46 if (!(t->day >= 1 && t->day <= 31)) return false; in valid_datetime()69 (((uint32_t)t->day) << RTC_SETUP_0_DAY_LSB); in rtc_set_datetime()103 t->day = (int8_t) ((rtc_1 & RTC_RTC_1_DAY_BITS ) >> RTC_RTC_1_DAY_LSB); in rtc_get_datetime()138 if (t->day < 0) return true; in rtc_alarm_repeats()152 … ((t->day < 0) ? 0 : (((uint32_t)t->day) << RTC_IRQ_SETUP_0_DAY_LSB )); in rtc_set_alarm()161 if (t->day >= 0) hw_set_bits(&rtc_hw->irq_setup_0, RTC_IRQ_SETUP_0_DAY_ENA_BITS); in rtc_set_alarm()
51 t->day, in datetime_to_str()62 tm->tm_mday = dt->day; in datetime_to_tm()71 dt->day = (int8_t) tm->tm_mday; // 1..28,29,30,31 depending on month in tm_to_datetime()
110 int8_t day; ///< 1..28,29,30,31 depending on month member