Home
last modified time | relevance | path

Searched refs:month (Results 1 – 3 of 3) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/hardware_rtc/
Drtc.c45 if (!(t->month >= 1 && t->month <= 12)) return false; in valid_datetime()
68 (((uint32_t)t->month) << RTC_SETUP_0_MONTH_LSB) | in rtc_set_datetime()
102 t->month = (int8_t) ((rtc_1 & RTC_RTC_1_MONTH_BITS) >> RTC_RTC_1_MONTH_LSB); in rtc_get_datetime()
137 if (t->month < 0) return true; in rtc_alarm_repeats()
151 … ((t->month < 0) ? 0 : (((uint32_t)t->month) << RTC_IRQ_SETUP_0_MONTH_LSB)) | in rtc_set_alarm()
160 if (t->month >= 0) hw_set_bits(&rtc_hw->irq_setup_0, RTC_IRQ_SETUP_0_MONTH_ENA_BITS); in rtc_set_alarm()
/hal_rpi_pico-latest/src/common/pico_util/
Ddatetime.c52 DATETIME_MONTHS[t->month - 1], in datetime_to_str()
61 tm->tm_mon = dt->month - 1; in datetime_to_tm()
70 dt->month = (int8_t) (tm->tm_mon + 1); // 1..12, 1 is January in tm_to_datetime()
/hal_rpi_pico-latest/src/common/pico_base_headers/include/pico/
Dtypes.h109 int8_t month; ///< 1..12, 1 is January member