libptpmgmt
1.4
libptpmgmt library that provides the functionality of linuxptp pmc
|
Read network interface information and retrieve the PTP information. More...
Go to the source code of this file.
Classes | |
class | IfInfo |
Network interface information. More... | |
struct | PtpCaps_t |
struct | PtpPin_t |
struct | PtpEvent_t |
struct | PtpSample_t |
struct | PtpSampleExt_t |
struct | PtpSamplePrecise_t |
struct | PtpPinPeriodDef_t |
class | BaseClock |
class | SysClock |
class | PtpClock |
POSIX dynamic clock id generator. More... | |
Typedefs | |
typedef long double | float_freq |
Enumerations | |
enum | PtpPinFunc_e { PTP_PIN_UNUSED , PTP_PIN_EXTERNAL_TS , PTP_PIN_PERIODIC_OUT , PTP_PIN_PHY_SYNC } |
Variables | |
__PTPMGMT_NAMESPACE_BEGIN const clockid_t | CLOCK_INVALID = -1 |
const int | NO_SUCH_IF = -1 |
const int | NO_SUCH_PTP = -1 |
const uint8_t | PTP_EXTERN_TS_RISING_EDGE = 1 << 1 |
const uint8_t | PTP_EXTERN_TS_FALLING_EDGE = 1 << 2 |
const uint8_t | PTP_EXTERN_TS_STRICT = 1 << 3 |
const uint8_t | PTP_PERIOD_ONE_SHOT = 1 << 0 |
const uint8_t | PTP_PERIOD_WIDTH = 1 << 1 |
const uint8_t | PTP_PERIOD_PHASE = 1 << 2 |
Read network interface information and retrieve the PTP information.
A class to fetch network interface information and a class to fetch a dynamic clock ID for a PTP clock
typedef long double float_freq |
float frequancy
enum PtpPinFunc_e |
__PTPMGMT_NAMESPACE_BEGIN const clockid_t CLOCK_INVALID = -1 |
ivalid or not exist POSIX clock
const int NO_SUCH_IF = -1 |
No such network interface
const int NO_SUCH_PTP = -1 |
No such PTP clock
const uint8_t PTP_EXTERN_TS_FALLING_EDGE = 1 << 2 |
Enable PHC pin events with falling edge flag Equal to Linux kernel flag PTP_FALLING_EDGE
const uint8_t PTP_EXTERN_TS_RISING_EDGE = 1 << 1 |
Enable PHC pin events with rising edge flag Equal to Linux kernel flag PTP_RISING_EDGE
const uint8_t PTP_EXTERN_TS_STRICT = 1 << 3 |
Enable PHC pin events with strict flag Equal to Linux kernel flag PTP_STRICT_FLAGS
const uint8_t PTP_PERIOD_ONE_SHOT = 1 << 0 |
Use PHC pin period signal once flag Equal to Linux kernel flag PTP_PEROUT_ONE_SHOT
const uint8_t PTP_PERIOD_PHASE = 1 << 2 |
Use PHC pin period phase flag Equal to Linux kernel flag PTP_PEROUT_PHASE
const uint8_t PTP_PERIOD_WIDTH = 1 << 1 |
Use PHC pin period pulse width flag Equal to Linux kernel flag PTP_PEROUT_DUTY_CYCLE