![]() |
flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
|
#include "../../timeutils.h"Go to the source code of this file.
Functions | |
| void | ptphw_init (uint32_t increment, uint32_t addend) |
| void | ptphw_gettime (TimestampU *pTime) |
| void ptphw_gettime | ( | TimestampU * | pTime | ) |
Get time right from the hardware clock.
| pTime | pointer to a TimestampU object. |
Definition at line 45 of file ptp_port_ch32f207_etherlib.c.
| void ptphw_init | ( | uint32_t | increment, |
| uint32_t | addend | ||
| ) |
Initialize PTP hardware.
| increment | PTP hardware clock tick increment in nanoseconds |
| addend | initialize frequency tuning code word |
Definition at line 14 of file ptp_port_ch32f207_etherlib.c.