Crate ptp_time

Crate ptp_time 

Source
Expand description

Safe Rust wrapper for Linux PTP (Precision Time Protocol) Hardware Clock driver.

This crate provides a safe interface to the Linux PTP kernel driver, exposing the following ioctls:

  • ptp_clock_caps - Get clock capabilities
  • ptp_sys_offset - Get system offset measurements
  • ptp_sys_offset_precise - Get precise system offset measurements
  • ptp_sys_offset_extended - Get extended system offset measurements

Modules§

ptp

Structs§

PtpDevice
A safe wrapper for PTP hardware clock devices