Files
esp-idf/examples/ethernet/ptp/components/esp_eth_time

ESP Ethernet Time Control Component Example

This example component provides a wrapper around management of the internal Ethernet MAC Time (Time Stamping) system which is normally accessed via esp_eth_ioctl commands. The component is offering a more intuitive API mimicking POSIX clock_settime, clock_gettime group of time functions and so making it easier to integrate with existing systems.