MX Foundation 4
|
MIL 1553 Message Information Structure. More...
#include <mxf_class_mil1553.h>
Data Fields | |
uint16 | msgType |
uint16 | dataWordCnt |
uint16 | statusIndex [2] |
uint16 | dataIndex |
uint16 | reserved |
The following describes the MIL-STD-1553 specific message information. This structure is useful for decomposing a received message with mxfChannelMsgDecompose() function.
Warning: This function may be used with records coming from message monitor mode only.
uint16 MXF_MIL1553_MSGINFO::msgType |
Type of the message detected in the message. The following message types are supported:
Message type | Description |
---|---|
MXF_MIL1553_MSGINFO_TYPE_BCRT | BC to RT transfer |
MXF_MIL1553_MSGINFO_TYPE_RTBC | RT to BC transfer |
MXF_MIL1553_MSGINFO_TYPE_RTRT | RT to RT transfer |
MXF_MIL1553_MSGINFO_TYPE_MODECODE | Mode Command without data word |
MXF_MIL1553_MSGINFO_TYPE_MODECODE_TXDATA | Mode Command with data word (Transmit) |
MXF_MIL1553_MSGINFO_TYPE_MODECODE_RXDATA | Mode Command with data word (Receive) |
MXF_MIL1553_MSGINFO_TYPE_BCRT_BCST | BC to RT(s) transfer (Broadcast) |
MXF_MIL1553_MSGINFO_TYPE_RTRT_BCST | RT to RT(s) transfer (Broadcast) |
MXF_MIL1553_MSGINFO_TYPE_MODECODE_RXDATA_BCST | Mode Command with data word (Broadcast) |
MXF_MIL1553_MSGINFO_TYPE_MODECODE_BCST | Mode Command without data word (Broadcast) |
MXF_MIL1553_MSGINFO_TYPE_UNEXPECTED | Unexpected (None of the above) |
uint16 MXF_MIL1553_MSGINFO::dataWordCnt |
The number of data words detected in the message. See “dataIndex” for the first data index.
uint16 MXF_MIL1553_MSGINFO::statusIndex[2] |
The word index of data array where the remote terminal status word received resides. If the status is not detected, this index will be 0xffff. The second statusIndex is used only when message type is MXF_MIL1553_MSGINFO_TYPE_RTRT and indicates the index of the receiver status.
uint16 MXF_MIL1553_MSGINFO::dataIndex |
The first word index of data array where the data words received reside. If no data is detected, this index will be 0xffff. See “dataWordCnt” for the number of data words detected.
uint16 MXF_MIL1553_MSGINFO::reserved |
Reserved for future use.