MX Foundation 4
MXF_MIL1553_MSGINFO Struct Reference

MIL 1553 Message Information Structure. More...

#include <mxf_class_mil1553.h>

Data Fields

uint16 msgType
 
uint16 dataWordCnt
 
uint16 statusIndex [2]
 
uint16 dataIndex
 
uint16 reserved
 

Detailed Description

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.
Examples:
mil1553_bc.c, mil1553_bc.cs, mil1553_bc_dual_major_frame.c, mil1553_bc_dual_major_frame.cs, mil1553_bc_extclock.c, mil1553_bc_extclock.cs, mil1553_bm.c, mil1553_bm.cs, mil1553_cond_branch_1.c, mil1553_cond_branch_1.cs, mil1553_cond_branch_2.c, mil1553_cond_branch_2.cs, mil1553_ebr.c, mil1553_ebr.cs, mil1553_errors.c, mil1553_errors.cs, mil1553_manyErrorInjections.c, mil1553_manyErrorInjections.cs, mil1553_rt.c, mil1553_rt.cs, mil1553_rt_rt.c, mil1553_rt_rt.cs, mil1553_rtErrorInjections.c, and mil1553_rtErrorInjections.cs.

Field Documentation

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)
Examples:
mil1553_bc.c, mil1553_bc_dual_major_frame.c, mil1553_bc_extclock.c, mil1553_bm.c, mil1553_cond_branch_1.c, mil1553_cond_branch_2.c, mil1553_ebr.c, mil1553_errors.c, mil1553_manyErrorInjections.c, mil1553_rt.c, mil1553_rt_rt.c, and mil1553_rtErrorInjections.c.
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.

Examples:
mil1553_bc.c, mil1553_bc_dual_major_frame.c, mil1553_bc_extclock.c, mil1553_bm.c, mil1553_cond_branch_1.c, mil1553_cond_branch_2.c, mil1553_ebr.c, mil1553_errors.c, mil1553_rt_rt.c, and mil1553_rtErrorInjections.c.
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.

Examples:
mil1553_bc.c, mil1553_bc_dual_major_frame.c, mil1553_bc_extclock.c, mil1553_bm.c, mil1553_cond_branch_1.c, mil1553_cond_branch_2.c, mil1553_ebr.c, and mil1553_rt.c.
uint16 MXF_MIL1553_MSGINFO::reserved

Reserved for future use.

Updated 10/23/2023