doc: net: Add page for net_time
So that the type is visible and "referencable" in the documentation. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
ae109c6ea5
commit
fdaba20b2c
3 changed files with 18 additions and 0 deletions
9
doc/connectivity/networking/api/net_time.rst
Normal file
9
doc/connectivity/networking/api/net_time.rst
Normal file
|
@ -0,0 +1,9 @@
|
|||
.. _net_time_interface:
|
||||
|
||||
Network time representation in the network stack
|
||||
################################################
|
||||
|
||||
API Reference
|
||||
*************
|
||||
|
||||
.. doxygengroup:: net_time
|
|
@ -7,4 +7,5 @@ Time Sensitive Networking
|
|||
:maxdepth: 1
|
||||
|
||||
gptp.rst
|
||||
net_time.rst
|
||||
ptp_time.rst
|
||||
|
|
|
@ -12,6 +12,10 @@
|
|||
* Inspired by
|
||||
* https://github.com/torvalds/linux/blob/master/include/linux/ktime.h and
|
||||
* https://github.com/torvalds/linux/blob/master/[tools/]include/linux/time64.h
|
||||
*
|
||||
* @defgroup net_time Network time representation.
|
||||
* @ingroup networking
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_NET_NET_TIME_H_
|
||||
|
@ -112,4 +116,8 @@ typedef int64_t net_time_t;
|
|||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_NET_NET_TIME_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue