opcode | : (Input) Type of opcode operated by the new command. * NAIBRD_1553_OPCODE_TRAP
* Trap.
*
* NAIBRD_1553_OPCODE_EXECUTE_MESSAGE
* Execute message. Use parameter1 input parameter to
* specify the Message ID to execute.
*
* NAIBRD_1553_OPCODE_JUMP
* Jump. Use parameter1 input parameter to specify
* the number of commands to jump forward or back from
* the current frame position. parameter1 value of
* zero should be avoided.
*
* NAIBRD_1553_OPCODE_CALL_SUBROUTINE
* Call subroutine. Use parameter1 input parameter to
* specify the minor frame ID to jump to.
*
* NAIBRD_1553_OPCODE_RETURN_FROM_SUBROUTINE
* Return from subroutine. parameter1 and parameter2
* are not used.
*
* NAIBRD_1553_OPCODE_INTERRUPT_REQUEST
* Interrupt request. Use parameter1 input parameter
* to specify which IRQ bit will be set in Interrupt
* Status Register #2 when an interrupt is generated.
* Set bit 0 in parameter1 for IRQ0, bit 1 for IRQ1,
* bit 2 for IRQ2, and/or bit 3 for IRQ3.
*
* NAIBRD_1553_OPCODE_HALT
* Halt the BC. parameter1 and parameter2 are not
* used.
*
* NAIBRD_1553_OPCODE_DELAY
* Delay in microseconds. Use parameter1 to set the
* delay value.
*
* NAIBRD_1553_OPCODE_WAIT_END_OF_FRAME
* Wait until frame counter is zero. parameter1 and
* parameter2 are not used.
*
* NAIBRD_1553_OPCODE_COMPARE_TO_FRAME_TIMER
* Compare frame timer to value set in the parameter1
* input parameter. The resolution of the value is 100
* microseconds. This command will set the value of
* the Less Than flag and Equal To flag bits in the BC
* Condition Code Register. The condition input
* parameter is not used.
*
* NAIBRD_1553_OPCODE_COMPARE_TO_MESSAGE_TIMER
* Compare message timer to value set in the parameter1
* input parameter. The resolution of the value is 1
* microseconds. This command will set the value of the
* Less Than flag and Equal To flag bits in the BC
* Condition Code Register. The condition input
* parameter is not used.
*
* NAIBRD_1553_OPCODE_UPDATE_GENERAL_PURPOSE_FLAG
* Set/clear/toggle the 8 general purpose bits. Use
* parameter1 to set, clear or toggle one or more
* general purpose flags (GPF). Bits n and n+8 of parameter1
* affect the general purpose flag n. n is used to set
* and n+8 is used to clear. If both n and n+8 are set,
* this will toggle flag n. For example, to set GPF0,
* parameter1 should be 0x0001. To clear GPF6, parameter1
* should be 0x4000. To toggle GPF3, parameter1 should be
* 0x0808. The condition input parameter is not used.
*
* NAIBRD_1553_OPCODE_LOAD_TIME_TAG_COUNTER
* Load time tag counter with value specified by parameter1.
*
* NAIBRD_1553_OPCODE_LOAD_FRAME_TIMER
* Load frame time register with value specified by
* parameter1. The resolution is 100 microseconds.
*
* NAIBRD_1553_OPCODE_START_FRAME_TIMER
* Start frame time counter. parameter1 and parameter2
* are not used.
*
* NAIBRD_1553_OPCODE_PUSH_TIME_TAG_COUNTER
* Push time tag to General Purpose Queue. parameter1
* and parameter2 are not used.
*
* NAIBRD_1553_OPCODE_PUSH_BLOCK_STATUS_WORD
* Push block status word to General Purpose Queue.
* parameter1 and parameter2 are not used.
*
* NAIBRD_1553_OPCODE_PUSH_VALUE
* Push data to General Purpose Queue. Use parameter1
* input parameter to specify the data value.
*
* NAIBRD_1553_OPCODE_PUSH_INDERCT_VALUE
* Push data at a memory location to General Purpose
* Queue. Use parameter1 input parameter to specify
* the memory location address.
*
* NAIBRD_1553_OPCODE_WAIT_FOR_TRIGGER
* Wait for rising edge in the external trigger.
* parameter1 and parameter2 are not used.
*
* NAIBRD_1553_OPCODE_EXECUTE_AND_FLIP
* Execute and flip message. parameter1 should be used
* to specify the address of a dual message block.
* Every time this command is executed (and if the
* condition tests true), bit 4 of parameter1 toggles
* such that the parameter ping-pongs back and forth
* between the address of message 1 and the address
* of message 2. In this way, message execution
* alternates between message 1 and 2.
*
* NAIBRD_1553_OPCODE_FOCUS_ON_VARIABLE
* Focus on variable. Use parameter1 to specify
* the variable number (0 to 7).
*
* NAIBRD_1553_OPCODE_ADD_TO_VARIABLE
* Add the two's complement value to the currently
* focused variable. The value is specified in
* parameter1.
*
* NAIBRD_1553_OPCODE_LOAD_TO_VARIABLE
* Load value to the currently focused variable.
* The value is specified in parameter1.
*
* NAIBRD_1553_OPCODE_COMPARE_VARIABLE
* Compare the currently focused variable to value
* given by parameter1. If parameter1 is less than
* the variable value, the Less Than flag will be
* set in the BC Condition Code Register and if
* they are equal, the Equal To flag will be set.
*
* NAIBRD_1553_OPCODE_PUSH_VARIABLE
* Focus on variable and push its value to the General Purpose Queue.
* Use parameter1 to specify the variable number (0 to 7).
*
* NAIBRD_1553_OPCODE_TIME_CONDITIONED_MESSAGE_TX
* A software opcode that is parsed into a series of hardware opcodes
* that condition the Tx of a message with available frame time, similar
* to what’s done with asynchronous messages.
* |