Searched refs:format_time (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/samples/drivers/counter/maxim_ds3231/src/ |
D | main.c | 16 static const char *format_time(time_t time, in format_time() function 144 format_time(time, -1), in min_alarm_handler() 169 printk("Now %u: %s\n", now, format_time(now, -1)); in show_counter() 212 printk("\nSet %s at %u ms past: %d\n", format_time(sp.rtc.tv_sec, sp.rtc.tv_nsec), in set_aligned_clock() 309 printk("Min Sec base time: %s\n", format_time(sec_alarm.time, -1)); in main() 322 (uint32_t)sec_alarm.time, format_time(sec_alarm.time, -1), rc); in main() 326 (uint32_t)min_alarm.time, format_time(min_alarm.time, -1), rc); in main() 333 (uint32_t)sec_alarm.time, format_time(sec_alarm.time, -1)); in main() 336 (uint32_t)min_alarm.time, format_time(min_alarm.time, -1)); in main()
|
/Zephyr-Core-3.5.0/drivers/rtc/ |
D | rtc_shell.c | 16 static const char format_time[] = "%T"; /* hh:mm:ss */ variable 140 } else if (!strcmp(format, format_time)) { in strptime() 177 format = format_time; in cmd_set()
|