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
11
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
28
29enum {
30 /* Automatically log time sync events */
32 /* Automatically log reboot information if the application goes from no time source
33 * knowledge to some time source knowledge. This can be used to get an accurate time of the
34 * reboot even if the time knowledge is delayed.
35 */
37};
38
45void auto_time_sync_log_configure(uint8_t tdf_logger_mask, uint8_t flags);
46
50
51#ifdef __cplusplus
52}
53#endif
54
55#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:31
@ AUTO_TIME_SYNC_LOG_REBOOT_ON_SYNC
Definition time_sync_log.h:36