![]() |
flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
|
This module implements the master clock functionality. More...
#include "ptp_types.h"Go to the source code of this file.
Functions | |
| void | ptp_master_init () |
| void | ptp_master_destroy () |
| void | ptp_master_reset () |
| void | ptp_master_tick () |
| void | ptp_master_enable () |
| void | ptp_master_disable () |
| void | ptp_master_process_message (RawPtpMessage *pRawMsg, PtpHeader *pHeader) |
| void | ptp_construct_binary_sync (void *pData, const PtpHeader *pHeader) |
This module implements the master clock functionality.
Definition in file master.h.
| void ptp_construct_binary_sync | ( | void * | pData, |
| const PtpHeader * | pHeader | ||
| ) |
Render a PTP Sync message based on header data.
| pData | pointer to target the PTP message |
| pHeader | pointer to a filled-out PtpHeader object |
| void ptp_master_process_message | ( | RawPtpMessage * | pRawMsg, |
| PtpHeader * | pHeader | ||
| ) |