ptp_counter_to_realtime()

Calculate the current time from the PTP time counter and the driver time

Synopsis:

#include <qnx/ptp/ptp_mod.h>
void ptp_counter_to_realtime(struct ptp_ctx *ctx,
                             struct ptp_time *ptp_time)

Arguments:

ctx
The driver's PTP context.
ptp_time
Driver's time on input and PTP time on output.

Library:

ptp

Description:

Gets the current time from the provided driver time. Does not call PTP_READ_TIME().

Page updated: