Home
last modified time | relevance | path

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

/external/platform/pico/rp2_common/hardware_rtc/
A Drtc.c49 if (!(t->hour >= 0 && t->hour <= 23)) return false; in valid_datetime()
72 (((uint32_t)t->hour) << RTC_SETUP_1_HOUR_LSB) | in rtc_set_datetime()
99 t->hour = (int8_t) ((rtc_0 & RTC_RTC_0_HOUR_BITS ) >> RTC_RTC_0_HOUR_LSB); in rtc_get_datetime()
141 if (t->hour < 0) return true; in rtc_alarm_repeats()
155 … ((t->hour < 0) ? 0 : (((uint32_t)t->hour) << RTC_IRQ_SETUP_1_HOUR_LSB)) | in rtc_set_alarm()
164 if (t->hour >= 0) hw_set_bits(&rtc_hw->irq_setup_1, RTC_IRQ_SETUP_1_HOUR_ENA_BITS); in rtc_set_alarm()
/external/platform/pico/common/pico_util/
A Ddatetime.c37 t->hour, in datetime_to_str()
/external/platform/pico/common/pico_base/include/pico/
A Dtypes.h98 int8_t hour; ///< 0..23 member

Completed in 4 milliseconds