Skip to content

Commit

Permalink
doc: net: Add page for net_time
Browse files Browse the repository at this point in the history
So that the type is visible and "referencable" in the documentation.

Signed-off-by: Robert Lubos <[email protected]>
  • Loading branch information
rlubos committed Oct 10, 2023
1 parent 936a56b commit 5981023
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/connectivity/networking/api/net_time.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. _net_time_interface:

Network time representation in the network stack
################################################

API Reference
*************

.. doxygengroup:: net_time
1 change: 1 addition & 0 deletions doc/connectivity/networking/api/tsn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Time Sensitive Networking
:maxdepth: 1

gptp.rst
net_time.rst
ptp_time.rst
2 changes: 2 additions & 0 deletions include/zephyr/net/net_time.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* @file
* @brief Representation of nanosecond resolution elapsed time and timestamps in
* the network stack.
* @defgroup net_time Network time representation.
* @ingroup networking
*
* Inspired by
* https://github.com/torvalds/linux/blob/master/include/linux/ktime.h and
Expand Down

0 comments on commit 5981023

Please sign in to comment.