Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
time_sync_log.h
Go to the documentation of this file.
1
12#ifndef INFUSE_SDK_INCLUDE_INFUSE_AUTO_TIME_SYNC_LOG_H_
13#define INFUSE_SDK_INCLUDE_INFUSE_AUTO_TIME_SYNC_LOG_H_
14
15#include <stdint.h>
16
17#include <zephyr/sys/util.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
28enum {
29 /* Automatically log time sync events */
31 /* Automatically log reboot information if the application goes from no time source
32 * knowledge to some time source knowledge. This can be used to get an accurate time of the
33 * reboot even if the time knowledge is delayed.
34 */
36};
37
44void auto_time_sync_log_configure(uint8_t tdf_logger_mask, uint8_t flags);
45
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* INFUSE_SDK_INCLUDE_INFUSE_AUTO_TIME_SYNC_LOG_H_ */
void auto_time_sync_log_configure(uint8_t tdf_logger_mask, uint8_t flags)
Automatically log time sync events.
@ AUTO_TIME_SYNC_LOG_SYNCS
Definition time_sync_log.h:30
@ AUTO_TIME_SYNC_LOG_REBOOT_ON_SYNC
Definition time_sync_log.h:35