flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
master.h
Go to the documentation of this file.
1
9#ifndef FLEXPTP_MASTER
10#define FLEXPTP_MASTER
11
12#include "ptp_types.h"
13
17void ptp_master_init();
18
23
27void ptp_master_reset();
28
32void ptp_master_tick();
33
38
43
44
45// -------------
46
54
60void ptp_construct_binary_sync(void * pData, const PtpHeader * pHeader); // create Sync message
61
62#endif /* FLEXPTP_MASTER */
void ptp_master_disable()
Definition: master.c:417
void ptp_master_enable()
Definition: master.c:393
void ptp_master_tick()
Definition: master.c:421
void ptp_construct_binary_sync(void *pData, const PtpHeader *pHeader)
void ptp_master_reset()
Definition: master.c:373
void ptp_master_init()
Definition: master.c:364
void ptp_master_destroy()
Definition: master.c:369
void ptp_master_process_message(RawPtpMessage *pRawMsg, PtpHeader *pHeader)
Definition: master.c:304
This module defines the fundamental PTP message and state machine type, flags, bitfields and the PTP ...
PTP message header structure.
Definition: ptp_types.h:73
Raw PTP message structure.
Definition: ptp_types.h:162