Generate a command word using given opcode and condition code. Odd parity is used for the generation of the parity bit (MSB) of the command opcode word.
- Parameters
-
hardwareOpcode | : (Input) A hardware opcode. |
condition | : (Input) A condition code. |
p_outcommandOpcode | : (Output) A pointer to a variable within which the generated command opcode is returned. |
- Returns
- NAIBRD_SUCCESS when function is completed successfully
- NAIBRD_1553_RC_INVALID_PARAMETER when condition and/or hardwareOpcode is invalid, or if the p_outcommandOpcode pointer is null.