Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ptp_clock_driver_api Struct Reference

#include <ptp_clock.h>

Data Fields

int(* set )(const struct device *dev, struct net_ptp_time *tm)
 
int(* get )(const struct device *dev, struct net_ptp_time *tm)
 
int(* adjust )(const struct device *dev, int increment)
 
int(* rate_adjust )(const struct device *dev, double ratio)
 

Field Documentation

◆ adjust

int(* ptp_clock_driver_api::adjust) (const struct device *dev, int increment)

◆ get

int(* ptp_clock_driver_api::get) (const struct device *dev, struct net_ptp_time *tm)

◆ rate_adjust

int(* ptp_clock_driver_api::rate_adjust) (const struct device *dev, double ratio)

◆ set

int(* ptp_clock_driver_api::set) (const struct device *dev, struct net_ptp_time *tm)

The documentation for this struct was generated from the following file: