Home
last modified time | relevance | path

Searched refs:RTC_ALARM_TIME_MASK_SECOND (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/tests/drivers/rtc/rtc_utils/src/
Dtest_rtc_utils.c25 uint16_t masks[] = {RTC_ALARM_TIME_MASK_SECOND, RTC_ALARM_TIME_MASK_MINUTE, in ZTEST()
/Zephyr-latest/drivers/rtc/
Drtc_utils.c17 if ((mask & RTC_ALARM_TIME_MASK_SECOND) && (timeptr->tm_sec < 0 || timeptr->tm_sec > 59)) { in rtc_utils_validate_rtc_time()
Drtc_nxp_irtc.c140 *mask = (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | in nxp_irtc_alarm_get_supported_fields()
163 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in nxp_irtc_alarm_set_time()
226 if (curr_alarm_mask & RTC_ALARM_TIME_MASK_SECOND) { in nxp_irtc_alarm_get_time()
228 return_mask |= RTC_ALARM_TIME_MASK_SECOND; in nxp_irtc_alarm_get_time()
Drtc_mc146818.c270 if ((mask & RTC_ALARM_TIME_MASK_SECOND) && in rtc_mc146818_validate_alarm()
297 (*mask) = (RTC_ALARM_TIME_MASK_SECOND in rtc_mc146818_alarm_get_supported_fields()
328 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in rtc_mc146818_alarm_set_time()
376 (*mask) |= RTC_ALARM_TIME_MASK_SECOND; in rtc_mc146818_alarm_get_time()
Drtc_sam.c31 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
221 return (RTC_ALARM_TIME_MASK_SECOND in rtc_sam_alarm_get_supported_mask()
232 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in rtc_atmel_timalr_from_tm()
272 mask |= RTC_ALARM_TIME_MASK_SECOND; in rtc_sam_alarm_mask_from_timalr()
306 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in rtc_sam_tm_from_timalr_calalr()
Drtc_numaker.c172 *mask = RTC_ALARM_TIME_MASK_SECOND in rtc_numaker_alarm_get_supported_fields()
254 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in rtc_numaker_alarm_set_time()
318 if (*mask & RTC_ALARM_TIME_MASK_SECOND) { in rtc_numaker_alarm_get_time()
Drtc_rpi_pico.c168 *supported_fields = RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | in rtc_rpi_pico_alarm_get_supported_fields()
237 if (mask & RTC_ALARM_TIME_MASK_SECOND) { 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 | \
318 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in alarm_time_to_bcd()
361 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in tm_to_rtc_alarm_mask()
385 mask |= RTC_ALARM_TIME_MASK_SECOND; in rtc_to_tm_alarm_mask()
Drtc_emul.c157 if ((alarm->mask & RTC_ALARM_TIME_MASK_SECOND) && in rtc_emul_test_alarms()
290 *mask = (RTC_ALARM_TIME_MASK_SECOND in rtc_emul_alarm_get_supported_fields()
Drtc_xmc4xxx.c22 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
Drtc_rv8263.c382 (*p_mask) = (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | in rv8263c8_alarm_get_supported_fields()
424 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in rv8263c8_alarm_set_time()
495 (*p_mask) |= RTC_ALARM_TIME_MASK_SECOND; in rv8263c8_alarm_get_time()
Drtc_ll_stm32.c89 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE \
581 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in rtc_stm32_init_ll_alrm_struct()
665 zephyr_alarm_mask = RTC_ALARM_TIME_MASK_SECOND; 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_pcf8563.c61 (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 | \
Drtc_rv3028.c136 (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | RTC_ALARM_TIME_MASK_HOUR | \
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/
Dtest_alarm.c62 RTC_ALARM_TIME_MASK_SECOND, RTC_ALARM_TIME_MASK_MINUTE,
131 if (test_alarm_time_mask_set & RTC_ALARM_TIME_MASK_SECOND) { in ZTEST()
/Zephyr-latest/include/zephyr/drivers/
Drtc.h39 #define RTC_ALARM_TIME_MASK_SECOND BIT(0) macro