MX Foundation 4
|
ARINC 429 Transmit / Receive (Acquisition) Record. More...
#include <mxf_class_a429.h>
Data Fields | |
uint64 | timeTag |
uint32 | control |
uint32 | repeatCount |
uint32 | data |
uint32 | reserved |
This ARINC 429 record structure is needed when sending (transmission) and receiving (acquisition).
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.
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. |
uint32 MXF_A429_DATAREC::repeatCount |
In transmission indicates the number of times the transmission of data must take place. The value must be greater or equal to one for periodic transmit update message service, and one for all other transmit services.
Not used in reception.
uint32 MXF_A429_DATAREC::data |
ARINC 429 Word as defined in the standard. Note that the label part is automatically inverted by MX Foundation for transmission and reception.
uint32 MXF_A429_DATAREC::reserved |
Reserved for future use. Must be set to zero in transmission.