X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fxran__sync__api_8c.html;fp=docs%2FAPI%2Fxran__sync__api_8c.html;h=1fab39ebf467f6105613a73704d32820374695aa;hb=870e1b86b0c74169b215c166dee787c7c1a20d06;hp=0000000000000000000000000000000000000000;hpb=298022ce50fa8133cc880507170c4b7120d227b5;p=o-du%2Fphy.git diff --git a/docs/API/xran__sync__api_8c.html b/docs/API/xran__sync__api_8c.html new file mode 100644 index 0000000..1fab39e --- /dev/null +++ b/docs/API/xran__sync__api_8c.html @@ -0,0 +1,258 @@ + + +
+ + + + +
+ o-du/phy
+
+ Intel O-RAN/X-RAN Generated Doxygen Documentation
+ |
+
This file provides implementation of synchronization related APIs (PTP/1588) for XRAN. +More...
+#include <assert.h>
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "xran_sync_api.h"
#include "xran_printf.h"
Go to the source code of this file.
++Macros | |
#define | BUF_LEN 256 |
#define | PROC_DIR "/proc" |
#define | COMM_FILE "comm" |
#define | PMC_CMD "pmc -u -b 0 'GET PORT_DATA_SET'" |
#define | PTP4L_PROC_NAME "ptp4l" |
#define | PHC2SYS_PROC_NAME "phc2sys" |
+Functions | |
int | xran_is_synchronized () |
Function checks if machine is synchronized using PTP for Linux software. More... | |
This file provides implementation of synchronization related APIs (PTP/1588) for XRAN.
+ + +Definition in file xran_sync_api.c.
+#define BUF_LEN 256 | +
Definition at line 37 of file xran_sync_api.c.
+ +#define COMM_FILE "comm" | +
Definition at line 39 of file xran_sync_api.c.
+ +#define PHC2SYS_PROC_NAME "phc2sys" | +
Definition at line 42 of file xran_sync_api.c.
+ +#define PMC_CMD "pmc -u -b 0 'GET PORT_DATA_SET'" | +
Definition at line 40 of file xran_sync_api.c.
+ +#define PROC_DIR "/proc" | +
Definition at line 38 of file xran_sync_api.c.
+ +#define PTP4L_PROC_NAME "ptp4l" | +
Definition at line 41 of file xran_sync_api.c.
+ +int xran_is_synchronized | +( | +void | +) | ++ |
Function checks if machine is synchronized using PTP for Linux software.
+Definition at line 113 of file xran_sync_api.c.
+