MX Foundation 4
MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES Struct Reference

MIL 1553 Periodic Minor Frame Properties Structure. More...

#include <mxf_class_mil1553.h>

Data Fields

uint32 duration
 
uint32 repeatCount
 
uint32 modulo
 
uint32 options
 
uint32 branchIndex
 

Detailed Description

Field Documentation

uint32 MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES::duration

Duration of the minor frame. Set to 0 to use duration parameter of mxfTxPeriodicMajorFrameStart() function. If used, minimum is 50 and maximum is 26214375 (rev 1.0.1 or later) or 6553575 (rev 1.0.0) microseconds on Enhanced BC and 1638375 microseconds on IPM-1553-MRT. The time is in timebase resolution except if MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES_OPT_DURATION_USEC option is used where it must be set in microseconds.

uint32 MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES::repeatCount

Number of times to repeat the transmission of the minor frame. repeatCount must be greater than 0. On IPM-1553-MRT, repeatCount must be set to 1.

Examples:
mil1553_bc_dual_major_frame.c, mil1553_cond_branch_1.c, mil1553_cond_branch_2.c, mil1553_ebr.c, mil1553_manyErrorInjections.c, and mil1553_rtErrorInjections.c.
uint32 MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES::modulo

Allows to skip transmission of the minor frame. Minimum is 1 and maximum is 256. A modulo of 1 executes the minor frame each time it is suppose to be executed. A modulo of 2 executes the minor frame once and then skips the next time and so on. On IPM-1553-MRT, the modulo must be set to 1.

Examples:
mil1553_bc_dual_major_frame.c, mil1553_cond_branch_1.c, mil1553_cond_branch_2.c, mil1553_ebr.c, mil1553_manyErrorInjections.c, and mil1553_rtErrorInjections.c.
uint32 MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES::options

Branch option:

Bit option Description
MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES_OPT_BRANCH_DEFAULT Default branch (branch to the next minor frame or loop to the first for the last minor frame). May be useful to erase previous branch options.
MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES_OPT_BRANCH_GOTO Indicates to branch to the specified minor frame index (branchIndex). The minor frame rate will be respected between two frames.
MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES_OPT_BRANCH_END Indicates to stop the major frame.
MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES_OPT_DURATION_USEC Indicates that the duration is in microseconds. Useful when the timebase is set to nanosecond and the needed duration is longer than four seconds.
Examples:
mil1553_bc_dual_major_frame.c, mil1553_cond_branch_1.c, mil1553_cond_branch_2.c, mil1553_manyErrorInjections.c, and mil1553_rtErrorInjections.c.
uint32 MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES::branchIndex

Minor frame index where to branch. Only used with option MXF_MIL1553_TXPERIODIC_MJRFRAME_MINOR_PROPERTIES_OPT_BRANCH_GOTO.

Examples:
mil1553_bc_dual_major_frame.c, mil1553_cond_branch_1.c, and mil1553_cond_branch_2.c.
Updated 10/23/2023