Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_time.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Zephyr Project
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
21
#ifndef ZEPHYR_INCLUDE_NET_NET_TIME_H_
22
#define ZEPHYR_INCLUDE_NET_NET_TIME_H_
23
24
/* Include required for NSEC_PER_* constants. */
25
#include <
zephyr/sys_clock.h
>
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
101
typedef
int64_t
net_time_t
;
102
104
#define NET_TIME_MAX INT64_MAX
105
107
#define NET_TIME_MIN INT64_MIN
108
110
#define NET_TIME_SEC_MAX (NET_TIME_MAX / NSEC_PER_SEC)
111
113
#define NET_TIME_SEC_MIN (NET_TIME_MIN / NSEC_PER_SEC)
114
115
#ifdef __cplusplus
116
}
117
#endif
118
123
#endif
/* ZEPHYR_INCLUDE_NET_NET_TIME_H_ */
net_time_t
int64_t net_time_t
Any occurrence of net_time_t specifies a concept of nanosecond resolution scalar time span,...
Definition:
net_time.h:101
int64_t
__INT64_TYPE__ int64_t
Definition:
stdint.h:75
sys_clock.h
Variables needed for system clock.
zephyr
net
net_time.h
Generated on Thu Jul 4 2024 12:22:48 for Zephyr API Documentation by
1.9.6