Home
last modified time | relevance | path

Searched refs:alarm_time (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/rtc/
Drtc_numaker.c189 struct rtc_numaker_time alarm_time; in rtc_numaker_alarm_set_time() local
226 alarm_time.time_scale = NVT_TIME_SCALE; in rtc_numaker_alarm_set_time()
227 RTC_GetDateAndTime((S_RTC_TIME_DATA_T *)&alarm_time); in rtc_numaker_alarm_set_time()
235 alarm_time.year = timeptr->tm_year + TM_YEAR_REF; in rtc_numaker_alarm_set_time()
239 alarm_time.month = timeptr->tm_mon + 1; in rtc_numaker_alarm_set_time()
243 alarm_time.day = timeptr->tm_mday; in rtc_numaker_alarm_set_time()
247 alarm_time.hour = timeptr->tm_hour; in rtc_numaker_alarm_set_time()
251 alarm_time.minute = timeptr->tm_min; in rtc_numaker_alarm_set_time()
255 alarm_time.second = timeptr->tm_sec; in rtc_numaker_alarm_set_time()
263 RTC_SetAlarmDateAndTime((S_RTC_TIME_DATA_T *)&alarm_time); in rtc_numaker_alarm_set_time()
[all …]
Drtc_rpi_pico.c37 struct rtc_time alarm_time; member
242 data->alarm_time = *alarm; in rtc_rpi_pico_alarm_set_time()
264 *timeptr = data->alarm_time; in rtc_rpi_pico_alarm_get_time()
Drtc_ambiq.c35 struct rtc_time alarm_time; member
/Zephyr-latest/tests/drivers/rtc/rtc_utils/src/
Dtest_rtc_utils.c14 const struct rtc_time alarm_time = { in ZTEST() local
32 bool ret = rtc_utils_validate_rtc_time(&alarm_time, masks[j]); in ZTEST()
/Zephyr-latest/drivers/counter/
Drtc_mcp7940n.c494 time_t alarm_time; in mcp7940n_counter_set_alarm() local
522 alarm_time = current_time + seconds_until_alarm; in mcp7940n_counter_set_alarm()
523 gmtime_r(&alarm_time, &time_buffer); in mcp7940n_counter_set_alarm()