Analog Devices Wi-Fi Software Reference Manual
Release 1.0.0
Include
communication
common
adi_timestamp.h
Go to the documentation of this file.
1
46
/*****************************************************************************/
47
56
#ifndef ADI_TIME_H
57
#define ADI_TIME_H
58
61
#include <stdint.h>
62
#include <adi_global_config.h>
63
#include <drivers/rtc/adi_rtc.h>
64
65
66
67
#ifdef __cplusplus
68
extern
"C"
{
69
#endif
/* __cplusplus */
70
71
/* Public APIs called through macros */
72
void
adi_RTCInit
(
void
);
73
uint32_t
adi_GetRTCTime
(
void
);
74
76
#ifdef __cplusplus
77
}
78
#endif
/* __cplusplus */
79
80
82
#define INIT_TIME() adi_RTCInit()
83
85
#define GET_TIME() adi_GetRTCTime()
86
87
#endif
/* ADI_TIME_H */
88
/* @} */
adi_RTCInit
void adi_RTCInit(void)
Initialize RTC.
Definition:
adi_timestamp.c:85
adi_GetRTCTime
uint32_t adi_GetRTCTime(void)
Get the current RTC timestamp.
Definition:
adi_timestamp.c:107
Generated by
1.8.12