1
6
7
8
9
10
11
12
13
14
15
16
17
24
25
29
30
31
35
36
37
41
42
43
44
45
46
47
/* ... */
#ifndef __SNTP_GET_SET_TIME_H__
#define __SNTP_GET_SET_TIME_H__
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
/* ... */
uint32_t sntp_get_sync_interval(void);
/* ... */
void sntp_set_system_time(uint32_t sec, uint32_t us);
/* ... */
void sntp_get_system_time(uint32_t* sec, uint32_t* us);
#ifdef __cplusplus
}{...}
#endif
/* ... */
#endif