flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
PtpCoreEvent Struct Reference

#include <event.h>

Data Fields

uint16_t code
 Event code.
 
union {
   uint16_t   w
 
   uint8_t   b [2]
 
w
 
union {
   uint32_t   dw
 
   uint16_t   w [2]
 
   uint8_t   b [4]
 
dw
 2-byte data
 

Detailed Description

Definition at line 20 of file event.h.

Field Documentation

◆ b

uint8_t b[4]

Definition at line 24 of file event.h.

◆ code

uint16_t code

Event code.

Definition at line 21 of file event.h.

◆ dw [1/2]

uint32_t dw

Definition at line 27 of file event.h.

◆  [2/2]

union { ... } dw

2-byte data

4-byte data

◆ w [1/2]

uint16_t w[2]

Definition at line 23 of file event.h.

◆  [2/2]

union { ... } w

The documentation for this struct was generated from the following file: