ptp_read_time()
Read the current time from driver and PTP module information
Synopsis:
#include <qnx/ptp/ptp_mod.h>
int ptp_read_time(struct ptp_ctx *ctx,
struct ptp_time *ptp_time)
Arguments:
- ctx
- The driver's PTP context.
- ptp_time
- The current time in the PTP module.
Library:
ptpDescription:
Use to get the current time as calculated from the driver and the upper seconds bits stored in the PTP module. Calls PTP_READ_TIME().
Returns:
EOK on success; otherwise, a PTP_READ_TIME() error.
Page updated: