MX Foundation 4
|
ARINC 664 Receive Sampling Structure. More...
#include <mxf_class_a664.h>
Data Structures | |
union | type |
Define the extra information returned for SAP / RAW ports (to be verified). More... | |
Data Fields | |
uint64 | timeTag |
uint32 | control |
uint32 | rate |
uint32 | errorCount |
uint32 | dataSize |
uint64 | reserved [2] |
uint8 | data [8192] |
The MXF_A664_SAMPREC record structure is needed when receiving data in sampling mode.
uint64 MXF_A664_SAMPREC::timeTag |
Specify the time when the data record has been received by the device.
It is an absolute time expressed on the time base set for the device.
uint32 MXF_A664_SAMPREC::control |
The control field report the state of the frame that was received on the physical port.
The frame status control bits in sampling are defined as follow;
Constant | Description |
---|---|
MXF_A664_CTRL_RX_PORT_B | The frame is coming from physical port B. If this bit is not set, the frame is coming from physical port A. |
MXF_A664_CTRL_RX_CRC32_ERROR | Frame CRC32 error detected |
MXF_A664_CTRL_RX_PREAMBLE_LENGTH_ERROR | Preample too long |
MXF_A664_CTRL_RX_SFD_ERROR | SFD error detected |
MXF_A664_CTRL_RX_FRAME_TOO_LONG_ERROR | Frame > 8192 bytes received |
MXF_A664_CTRL_RX_MAC_SKEWMAX_EXCEEDED | The frame has been received after MAC Skew Max elapsed |
MXF_A664_CTRL_RX_EDE_SKEWMAX_EXCEEDED | The frame has been received after EDE Skew Max elapsed |
MXF_A664_CTRL_RX_FRAGMENTATION_ERROR | Bad fragment detected |
uint32 MXF_A664_SAMPREC::rate |
Time between the reception of the last two records expressed on the timebase (microseconds or nanoseconds). The maximum is about 4 seconds in nsec or 4000 seconds in usec.
uint32 MXF_A664_SAMPREC::errorCount |
Reserved for future use.
uint32 MXF_A664_SAMPREC::dataSize |
Number of bytes received in data array.
uint64 MXF_A664_SAMPREC::reserved[2] |
Reserved for future used.
uint8 MXF_A664_SAMPREC::data[8192] |
Data received. Udp payload.