flexPTP
1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
event.c
Go to the documentation of this file.
1
#include "
event.h
"
2
3
#include "
ptp_core.h
"
4
6
#define S (gPtpCoreState)
8
9
void
ptp_invoke_user_event_cb
(
PtpUserEventCode
uev) {
10
if
(S.userEventCb != NULL) {
11
S.userEventCb(uev);
12
}
13
}
ptp_invoke_user_event_cb
void ptp_invoke_user_event_cb(PtpUserEventCode uev)
Definition:
event.c:9
event.h
In this module are the core and user events defined.
PtpUserEventCode
PtpUserEventCode
Definition:
event.h:40
ptp_core.h
Core of the PTP implementation. Defines functions for message processing, clock tuning,...
src
flexptp
event.c
Generated by
1.9.6