flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
bmca.h
Go to the documentation of this file.
1
9#ifndef FLEXPTP_SBMC_H_
10#define FLEXPTP_SBMC_H_
11
12#include "ptp_types.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
27
35
39void ptp_bmca_init();
40
44void ptp_bmca_destroy();
45
49void ptp_bmca_reset();
50
54void ptp_bmca_tick();
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* FLEXPTP_SBMC_H_ */
void ptp_bmca_destroy()
Definition: bmca.c:207
void ptp_bmca_tick()
Definition: bmca.c:74
void ptp_bmca_init()
Definition: bmca.c:193
void ptp_bmca_reset()
Definition: bmca.c:211
void ptp_handle_announce_msg(PtpAnnounceBody *pAnn, PtpHeader *pHeader)
Definition: bmca.c:137
int ptp_select_better_master(PtpMasterProperties *pMP1, PtpMasterProperties *pMP2)
Definition: bmca.c:31
This module defines the fundamental PTP message and state machine type, flags, bitfields and the PTP ...
Contents of a PTP Announce message without the common PTP header.
Definition: ptp_types.h:262
PTP message header structure.
Definition: ptp_types.h:81