Home
last modified time | relevance | path

Searched refs:RTC_ALARM_TIME_MASK_HOUR (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/drivers/rtc/rtc_utils/src/
Dtest_rtc_utils.c26 RTC_ALARM_TIME_MASK_HOUR, RTC_ALARM_TIME_MASK_MONTHDAY, in ZTEST()
/Zephyr-latest/drivers/rtc/
Drtc_utils.c25 if ((mask & RTC_ALARM_TIME_MASK_HOUR) && (timeptr->tm_hour < 0 || timeptr->tm_hour > 23)) { in rtc_utils_validate_rtc_time()
Drtc_nxp_irtc.c141 RTC_ALARM_TIME_MASK_HOUR | RTC_ALARM_TIME_MASK_MONTHDAY | in nxp_irtc_alarm_get_supported_fields()
171 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in nxp_irtc_alarm_set_time()
236 if (curr_alarm_mask & RTC_ALARM_TIME_MASK_HOUR) { in nxp_irtc_alarm_get_time()
238 return_mask |= RTC_ALARM_TIME_MASK_HOUR; in nxp_irtc_alarm_get_time()
Drtc_pcf8563.c57 (RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | RTC_ALARM_TIME_MASK_MONTHDAY | \
61 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
254 if ((mask & RTC_ALARM_TIME_MASK_HOUR) != 0) { in pcf8563_alarm_set_time()
318 *mask |= RTC_ALARM_TIME_MASK_HOUR; in pcf8563_alarm_get_time()
Drtc_mc146818.c280 if ((mask & RTC_ALARM_TIME_MASK_HOUR) && in rtc_mc146818_validate_alarm()
299 | RTC_ALARM_TIME_MASK_HOUR); in rtc_mc146818_alarm_get_supported_fields()
339 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in rtc_mc146818_alarm_set_time()
388 (*mask) |= RTC_ALARM_TIME_MASK_HOUR; in rtc_mc146818_alarm_get_time()
Drtc_sam.c31 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
223 | RTC_ALARM_TIME_MASK_HOUR in rtc_sam_alarm_get_supported_mask()
242 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in rtc_atmel_timalr_from_tm()
280 mask |= RTC_ALARM_TIME_MASK_HOUR; in rtc_sam_alarm_mask_from_timalr()
314 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in rtc_sam_tm_from_timalr_calalr()
Drtc_numaker.c174 | RTC_ALARM_TIME_MASK_HOUR in rtc_numaker_alarm_get_supported_fields()
246 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in rtc_numaker_alarm_set_time()
312 if (*mask & RTC_ALARM_TIME_MASK_HOUR) { in rtc_numaker_alarm_get_time()
Drtc_rpi_pico.c169 RTC_ALARM_TIME_MASK_HOUR | RTC_ALARM_TIME_MASK_WEEKDAY | in rtc_rpi_pico_alarm_get_supported_fields()
227 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in rtc_rpi_pico_alarm_set_time()
Drtc_smartbond.c36 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
328 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in alarm_time_to_bcd()
367 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in tm_to_rtc_alarm_mask()
391 mask |= RTC_ALARM_TIME_MASK_HOUR; in rtc_to_tm_alarm_mask()
Drtc_emul.c167 if ((alarm->mask & RTC_ALARM_TIME_MASK_HOUR) && in rtc_emul_test_alarms()
292 | RTC_ALARM_TIME_MASK_HOUR in rtc_emul_alarm_get_supported_fields()
Drtc_rv3028.c132 (RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | RTC_ALARM_TIME_MASK_MONTHDAY)
136 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
586 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in rv3028_alarm_set_time()
632 *mask |= RTC_ALARM_TIME_MASK_HOUR; in rv3028_alarm_get_time()
Drtc_xmc4xxx.c22 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
Drtc_rv8263.c383 RTC_ALARM_TIME_MASK_HOUR | RTC_ALARM_TIME_MASK_MONTHDAY | in rv8263c8_alarm_get_supported_fields()
436 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in rv8263c8_alarm_set_time()
505 (*p_mask) |= RTC_ALARM_TIME_MASK_HOUR; in rv8263c8_alarm_get_time()
Drtc_pcf8523.c105 (RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | RTC_ALARM_TIME_MASK_MONTHDAY | \
471 if ((mask & RTC_ALARM_TIME_MASK_HOUR) != 0U) { in pcf8523_alarm_set_time()
524 *mask |= RTC_ALARM_TIME_MASK_HOUR; in pcf8523_alarm_get_time()
Drtc_ll_stm32.c90 | RTC_ALARM_TIME_MASK_HOUR | RTC_ALARM_TIME_MASK_WEEKDAY \
591 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in rtc_stm32_init_ll_alrm_struct()
671 zephyr_alarm_mask |= RTC_ALARM_TIME_MASK_HOUR; in rtc_stm32_get_ll_alrm_mask()
Drtc_ambiq.c21 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
Drtc_am1805.c84 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
/Zephyr-latest/samples/boards/nuvoton/numaker/system_off/src/
Dmain.c42 alarm_time_mask_set = (RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR); in set_alarm_10s()
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/
Dtest_alarm.c63 RTC_ALARM_TIME_MASK_HOUR, RTC_ALARM_TIME_MASK_MONTHDAY,
141 if (test_alarm_time_mask_set & RTC_ALARM_TIME_MASK_HOUR) { in ZTEST()
/Zephyr-latest/include/zephyr/drivers/
Drtc.h41 #define RTC_ALARM_TIME_MASK_HOUR BIT(2) macro