MX Foundation 4
MXF_A429_DATAREC Struct Reference

ARINC 429 Transmit / Receive (Acquisition) Record. More...

#include <mxf_class_a429.h>

Data Fields

uint64 timeTag
 
uint32 control
 
uint32 repeatCount
 
uint32 data
 
uint32 reserved
 

Detailed Description

Field Documentation

uint64 MXF_A429_DATAREC::timeTag

Acquisition mode: Specifies 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. The time tag may also be disabled with the KMXF_A429_MODULE_RX_TIMETAG_ENABLE attribute.

Transmission Mode: For transmit operation, the time tag allows the application to specify the time when the data is to be transmitted. Depending on the usage the time tag can be optional.

Examples:
ar429_aperiodic.c, ar429_buffer_threshold.c, ar429_buffer_threshold.cs, ar429_embedded_bridge.c, ar429_embedded_bridge.cs, ar429_embedded_comm_queues.c, ar429_embedded_discrete.c, ar429_embedded_discrete.cs, ar429_embedded_recorder.c, ar429_embedded_recorder.cs, ar429_embedded_side_discrete.c, ar429_embedded_side_timer.c, ar429_embedded_timer.c, ar429_embedded_timer.cs, ar429_periodic.c, ar429_periodic.cs, ar429_rx_acquisition_trigger.c, ar429_rx_acquisition_trigger.cs, ar429_rx_event_handler.c, ar429_rx_sampling.c, ar429_rx_sampling.cs, ar429_UDPCommRxEmbedded.c, ar717_bridge_from_ar429.c, ar717_bridge_from_ar429.cs, multi.c, usb.c, and usb.cs.
uint32 MXF_A429_DATAREC::control

Acquisition mode: For receive operation, the control field defines the condition under which the related record data was received.

The control bits are defined as follow;

Bit Constant Meaning
MXF_A429_RX_REC_CTRL_PARITY_ERROR A parity error was detected in the incoming word.

A control of zero indicates that no errors was found while receiving data.

Transmission Mode: For transmission, the control field allows the user to inject transmit error or to generate a discrete pulse on transmit.

A control of zero instructs the transmit process to send the data using the current transmitter settings.

The control bits are defined as follows:

Bit Constant Meaning Note
MXF_A429_TX_REC_CTRL_PARITY_ERROR Forces parity error. Ignored if the channel parity attribute is set to VMXF_A429_PARITY_NONE.
MXF_A429_TX_REC_CTRL_PARITY_ODD Forces odd parity transmission. Ignored if the channel parity attribute is set to VMXF_A429_PARITY_NONE.
MXF_A429_TX_REC_CTRL_PARITY_EVEN Forces even parity transmission. Ignored if the channel parity attribute is set to VMXF_A429_PARITY_NONE.
MXF_A429_TX_REC_CTRL_DISCRETE_OUTPUT_TRIG Generates a discrete trigger pulse. Generate a discrete trigger pulse for the duration of the ARINC 429 transmit output.
The pulse will occur on the channel associated discrete line. For enhanced module, see mxfChannelDiscreteOutputTriggerEnableSet().
MXF_A429_TX_REC_CTRL_SHORT_WORD_SIZE Transmits one bit less. The bit removed is the bit before the parity bit (24 or 31). The last bit sent is a parity bit calculated on the 23 or 30 previously transmitted bits.
MXF_A429_TX_REC_CTRL_LONG_WORD_SIZE Transmits one bit more. The inserted bit value for a 32 bits word length is the 32th bit of the data and 25th bit for a 25 bits word length. The bit is inserted before the parity bit. Parity is calculated on the 25 or 32 previously transmitted bits. If no parity is chosen, this bit is sent twice.
Examples:
ar429_aperiodic.c, ar429_buffer_threshold.c, ar429_buffer_threshold.cs, ar429_embedded_bridge.c, ar429_embedded_bridge.cs, ar429_embedded_comm_queues.c, ar429_embedded_recorder.c, ar429_embedded_recorder.cs, ar429_embedded_side_discrete.c, ar429_embedded_side_timer.c, ar429_periodic.c, ar429_periodic.cs, ar429_rx_acquisition_trigger.c, ar429_rx_event_handler.c, ar429_rx_sampling.c, ar429_rx_sampling.cs, ar717_bridge_from_ar429.c, ar717_bridge_from_ar429.cs, multi.c, usb.c, and usb.cs.
uint32 MXF_A429_DATAREC::repeatCount
Updated 10/23/2023