MX Foundation 4
MXF_ASYNCEVENT_CONDITION Struct Reference

Asynchronous Event Condition Structure. More...

#include <mxf_base.h>

Data Structures

union  condition
 

Data Fields

uint64 condID
 
uint64 reserved
 

Detailed Description

Field Documentation

uint64 MXF_ASYNCEVENT_CONDITION::condID

Condition ID - Define the substructure (union) for the variables of the condition.

Condition ID name Action
MXF_ASYNCEVENT_COND_RX_MSG Causes an asynchronous event to occur when a specific message is received.
Structure member to use: rxMsg.
The message IDs must be selected with mxfAsyncEventRxMsgSelectSet().
This condition is only available for MIL-STD-1553, ARINC 429, ARINC 629, CSDB, ARINC 708 and CAN bus.
MXF_ASYNCEVENT_COND_RX_ERROR Causes an asynchronous event to occur when a receive RX error is detected.
Structure member to use: rxErr.
MXF_ASYNCEVENT_COND_TX_ERROR Causes an asynchronous event to occur when a TX error is detected.
Structure member to use: txErr.
MXF_ASYNCEVENT_COND_TXAPERIODIC_BUFFER_THRESHOLD Causes an asynchronous event to occur when the specified TX FIFO aperiodic buffer threshold is reached.
Structure member to use: txAperiodicBufferThreshold.
MXF_ASYNCEVENT_COND_RXACQ_BUFFER_THRESHOLD Causes an asynchronous event to occur when the specified acquisition buffer threshold is reached.
Structure member to use: rxAcqBufferThreshold.
MXF_ASYNCEVENT_COND_TXPERIODIC_UPDATEMSG_BUFFER_THRESHOLD: Causes an asynchronous event to occur when the specified TX periodic update message buffer threshold is reached.
Structure member to use: txPeriodicUpdateMsgBufferThreshold.
The messages must be selected using mxfAsyncEventTxPeriodicUpdateMsgSelectSet().
This condition is only available for MIL-STD-1553, ARINC 429, ARINC 629, CSDB, ARINC 708 and CAN bus.
MXF_ASYNCEVENT_COND_EMBEDDED_RX_BUFFER_THRESHOLD Causes an asynchronous event to occur when the specified embedded RX buffer threshold is reached.
Structure member to use: embeddedRxBufferThreshold.
MXF_ASYNCEVENT_COND_EMBEDDED_TX_BUFFER_THRESHOLD Causes an asynchronous event to occur when the specified embedded TX buffer threshold is reached.
Structure member to use: embeddedTxBufferThreshold.
MXF_ASYNCEVENT_COND_IRIGB_EVENTS Causes an asynchronous event to occur for the IRIG-B event.
The IRIG-B event is defined in MXF_ASYNCEVENT_CONDITION.irigbEvents.status field.
Refer to the section IRIG Asynchronous Event for a complete discussion about the IRIG-B events.
Structure member to use: irigbEvents.
MXF_ASYNCEVENT_COND_COMM_RX_BUFFER_THRESHOLD Causes an asynchronous event to occur when the specified comm RX buffer threshold is reached.
Structure member to use: commBufferThreshold.
MXF_ASYNCEVENT_COND_COMM_TX_BUFFER_THRESHOLD Causes an asynchronous event to occur when the specified comm TX buffer threshold is reached.
Structure member to use: commBufferThreshold.
Examples:
adc_buffer_threshold.c, ar429_buffer_threshold.c, ar429_embedded_comm_queues.c, ar429_rx_event_handler.c, ar664_error_injection_detection.c, ar664_error_injection_detection_ede.c, ar708_buffer_threshold.c, ar708_event_handler.c, ar717_buffer_threshold.c, csdb_buffer_threshold.c, csdb_rx_event_handler.c, dac_buffer_threshold.c, discrete_event_handler.c, discrete_fifo.c, flexadc_buffer_threshold.c, flexdac_buffer_threshold.c, flexdio_event_handler.c, flexdio_fifo.c, hdlc_buffer_threshold.c, hdlc_buffer_threshold.cs, hfce_buffer_threshold.c, mil1553_aperiodic_event.c, mil1553_bc_rt_data_assignment.c, mil1553_embedded_async_to_1553.c, mil1553_embedded_update_embedded.c, and multi.cs.
uint64 MXF_ASYNCEVENT_CONDITION::reserved

Reserved for future use. Must be set to 0.

Examples:
discrete_event_handler.c, discrete_fifo.c, flexdio_event_handler.c, flexdio_fifo.c, and mil1553_aperiodic_event.c.
Updated 10/23/2023