Software Library API naibrd 1.62
See all documentation at naii.docs.com
naibrd_1553.c File Reference
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "advanced/naibrd_adv.h"
#include "advanced/nai_ether_adv.h"
#include "functions/naibrd_modCommon.h"
#include "functions/naibrd_1553.h"
#include "functions/naibrd_1553_assisted.h"
#include "functions/naibrd_1760.h"
#include "maps/nai_map_1553.h"
#include "naibrd_config.h"
#include "advanced/nai_mutex.h"
#include "boards/naibrd_gen5.h"
#include "nai_ether.h"
#include "naibrd_ether.h"

Macros

#define MAX_BLOCK_ARRAY_SIZE   2048 /* Specifies the maximum 32-bit block read/write size. If array to be read/written is bigger than this, multiple reads/writes will take place. */
 
#define INTERRUPT_VECTOR_ADDEND   1
 
#define LEGACY_16BIT   0
 
#define LEGACY_32BIT   1
 
#define NEW_32BIT   2
 
#define PIB_32BIT   3
 
#define CM1_32BIT   4
 
#define CM5_32BIT   5
 
#define CM8_32BIT   6
 
#define ASSISTED_32BIT   7
 
#define RegisterAddress_INTERRUPT_MASK_1   0x0000U /* R/W */
 
#define RegisterAddress_CONFIGURATION_1   0x0001U /* R/W */
 
#define RegisterAddress_CONFIGURATION_2   0x0002U /* R/W */
 
#define RegisterAddress_START_OR_RESET   0x0003U /* W */
 
#define RegisterAddress_BC_INSTRUCTION_LIST_POINTER   0x0003U /* R */
 
#define RegisterAddress_RT_MT_COMMAND_STACK_POINTER   0x0003U /* R */
 
#define RegisterAddress_BC_CONTROL_WORD   0x0004U /* R/W */
 
#define RegisterAddress_RT_SUBADDRESS_CONTROL_WORD   0x0004U /* R/W */
 
#define RegisterAddress_TIME_TAG   0x0005U /* R/W */
 
#define RegisterAddress_INTERRUPT_STATUS_1   0x0006U /* R */
 
#define RegisterAddress_CONFIGURATION_3   0x0007U /* R/W */
 
#define RegisterAddress_CONFIGURATION_4   0x0008U /* R/W */
 
#define RegisterAddress_CONFIGURATION_5   0x0009U /* R/W */
 
#define RegisterAddress_RT_MT_DATA_STACK_ADDRESS   0x000AU /* R/W */
 
#define RegisterAddress_BC_REMAINING_FRAME_TIME   0x000BU /* R */
 
#define RegisterAddress_BC_INITIAL_INSTRUCTION_POINTER   0x000DU /* R/W */
 
#define RegisterAddress_RT_LAST_COMMAND   0x000DU /* R/W */
 
#define RegisterAddress_MT_TRIGGER_WORD   0x000DU /* R/W */
 
#define RegisterAddress_LIMITATIONS   0x000EU /* R */
 
#define RegisterAddress_RT_STATUS_WORD   0x000EU /* R */
 
#define RegisterAddress_RT_BUILT_IN_TEST_WORD   0x000FU /* R */
 
#define RegisterAddress_CONFIGURATION_6   0x0018U /* R/W */
 
#define RegisterAddress_CONFIGURATION_7   0x0019U /* R/W */
 
#define RegisterAddress_SITAL_FIRMWARE_VERSION   0x001AU /* R */
 
#define RegisterAddress_BC_CONDITION_CODE   0x001BU /* R */
 
#define RegisterAddress_BC_GENERAL_PURPOSE_FLAG   0x001BU /* W */
 
#define RegisterAddress_INTERRUPT_MASK_2   0x001DU /* R/W */
 
#define RegisterAddress_INTERRUPT_STATUS_2   0x001EU /* R */
 
#define RegisterAddress_BC_RT_MT_QUEUE_POINTER   0x001FU /* R/W */
 
#define RegisterAddress_BC_GENERAL_PURPOSE_QUEUE_POINTER   0x001FU /* R/W */
 
#define RegisterAddress_RT_MT_INTERRUPT_STATUS_QUEUE_POINTER   0x001FU /* R/W */
 
#define registerMask_ALL_BITS_ON   0xFFFF
 
#define registerMask_ALL_BITS_OFF   0x0000
 
#define configurationRegister1_RT_STATUS_ENABLER_BITS   (NAI_1553_CONFIG_REG1_MASK_RT_S00 | NAI_1553_CONFIG_REG1_MASK_RT_S01 | NAI_1553_CONFIG_REG1_MASK_RT_S02 | NAI_1553_CONFIG_REG1_MASK_RT_S03 | NAI_1553_CONFIG_REG1_MASK_RT_S04 | NAI_1553_CONFIG_REG1_MASK_RT_S05 | NAI_1553_CONFIG_REG1_MASK_RT_S06 | NAI_1553_CONFIG_REG1_MASK_RT_SUBSYSTEM_FLAG | NAI_1553_CONFIG_REG1_MASK_RT_SERVICE_REQUEST | NAI_1553_CONFIG_REG1_MASK_RT_BUSY | NAI_1553_CONFIG_REG1_MASK_RT_DYNAMIC_BUS_CONTROL_ACCEPTANCE) /* A mask of the status enabler bits within configuration register #1 that are used with RT alternate status */
 
#define configurationRegister1_RT_PARTIAL_STATUS_ENABLER_BITS   (NAI_1553_CONFIG_REG1_MASK_RT_FLAG | NAI_1553_CONFIG_REG1_MASK_RT_SUBSYSTEM_FLAG | NAI_1553_CONFIG_REG1_MASK_RT_SERVICE_REQUEST | NAI_1553_CONFIG_REG1_MASK_RT_BUSY | NAI_1553_CONFIG_REG1_MASK_RT_DYNAMIC_BUS_CONTROL_ACCEPTANCE) /* A mask of the status enabler bits within configuration register #1 that are used even without RT alternate status */
 
#define configurationRegister5_OFFSET_OF_RT_ADDRESS   1 /* The index of the lowest of the bits of the RT address field */
 
#define configurationRegister6_OFFSET_OF_RT_ADDRESS_SOURCE   5 /* The index of the lowest of the bits of the RT address source field */
 
#define configurationRegister7_MEMORY_MANAGEMENT_BASE_ADDRESS_MASK   0xFC00
 
#define naiInterruptStatusRegister2_OFFSET_OF_INTERRUPTS   2 /* The index of the lowest of the interrupt bits field */
 
#define rtMessageType_RX   0 /* Rx messages */
 
#define rtMessageType_TX   1 /* Tx messages */
 
#define rtMessageType_BROADCAST   2 /* Broadcast messages */
 
#define rtMessageType_COUNT   3 /* The number of message types defined in regard with the subaddress lookup table, each of which has a dedicated sub lookup table */
 
#define rtAddressMap_ISQ   0x0000 /* The address in device memory of the ISQ */
 
#define rtAddressMap_COMMAND_STACK_POINTER   0x0100 /* The address in device memory of the command stack pointer */
 
#define rtAddressMap_GLOBAL_CIRCULAR_DATA_POINTER   0x0101 /* The address in device memory of the global circular data pointer */
 
#define rtAddressMap_MODE_CODE_SELECTIVE_INTERRUPT_TABLE   0x0108 /* The address in device memory of the mode code selective interrupt table */
 
#define rtAddressMap_MODE_CODE_DATA_TABLE   0x0110 /* The address in device memory of the mode code data table */
 
#define rtAddressMap_ModeCodeWord_SYNCHRONIZE_WITH_DATA   0x0111 /* The address in device memory of the mode code data table entry for synchronize-with-data */
 
#define rtAddressMap_ModeCodeWord_SELECTED_TRANSMITTER_SHUTDOWN   0x0114 /* The address in device memory of the mode code data table entry for selected-transmitter-shutdown */
 
#define rtAddressMap_ModeCodeWord_OVERRIDE_SELECTED_TRANSMITTER_SHUTDOWN   0x0115 /* The address in device memory of the mode code data table entry for override-selected-transmitter-shutdown */
 
#define rtAddressMap_ModeCodeWord_TRANSMIT_VECTOR_WORD   0x0120 /* The address in device memory of the mode code data table entry for transmit-vector-word */
 
#define rtAddressMap_ModeCodeWord_TRANSMIT_LAST_COMMAND   0x0122 /* The address in device memory of the mode code data table entry for transmit-last-command */
 
#define rtAddressMap_ModeCodeWord_TRANSMIT_BUILT_IN_TEST   0x0123 /* The address in device memory of the mode code data table entry for transmit-built-in-test */
 
#define rtAddressMap_ModeCodeWord_BROADCAST_SYNCHRONIZE_WITH_DATA   0x0131 /* The address in device memory of the mode code data table entry for broadcast-synchronize-with-data */
 
#define rtAddressMap_ModeCodeWord_BROADCAST_SELECTED_TRANSMITTER_SHUTDOWN   0x0134 /* The address in device memory of the mode code data table entry for broadcast-selected-transmitter-shutdown */
 
#define rtAddressMap_ModeCodeWord_BROADCAST_OVERRIDE_SELECTED_TRANSMITTER_SHUTDOWN   0x0135 /* The address in device memory of the mode code data table entry for broadcast-override-selected-transmitter-shutdown */
 
#define rtAddressMap_SUBADDRESS_LOOKUP_TABLE_RX   0x0140 /* The address in device memory of the subaddress Rx messages sub lookup table */
 
#define rtAddressMap_SUBADDRESS_LOOKUP_TABLE_TX   0x0160 /* The address in device memory of the subaddress Tx messages sub lookup table */
 
#define rtAddressMap_SUBADDRESS_LOOKUP_TABLE_BROADCAST   0x0180 /* The address in device memory of the subaddress broadcast messages sub lookup table */
 
#define rtAddressMap_SUBADDRESS_LOOKUP_TABLE_SUBADDRESS_CONTROL_WORDS   0x01A0 /* The address in device memory of the subaddress control words sub lookup table */
 
#define rtAddressMap_BUSY_LOOKUP_TABLE   0x0240 /* The address in device memory of the busy lookup table */
 
#define rtAddressMap_COMMAND_ILLEGALIZATION_TABLE   0x0300 /* The address in device memory of the command illegalization table */
 
#define rtAddressMap_FREE_MEMORY   0x0400 /* The address in device memory where the free space begins */
 
#define rtAddressMap_COMMAND_STACK   0x0800 /* The address in device memory of the command stack */
 
#define mtMonitoringLookupTable_OFFSET_OF_DIRECTION_BIT   1U /* The index of the direction bit in the binary representation of word entry offsets in the monitoring lookup tabl */
 
#define mtMonitoringLookupTable_OFFSET_OF_ADDRESS_BIT   2U /* The index of the address bit in the binary representation of word entry offsets in the monitoring lookup table */
 
#define mtAddressMap_ISQ   rtMtAddressMap_ISQ /* The address in device memory of the ISQ */
 
#define mtAddressMap_MT_COMMAND_STACK_A_POINTER   0x0102U /* The address in device memory of command stack A pointer */
 
#define mtAddressMap_MT_DATA_STACK_A_POINTER   0x0103U /* The address in device memory of data stack A pointer */
 
#define mtAddressMap_MT_COMMAND_STACK_B_POINTER   0x0106U /* The address in device memory of command stack B pointer */
 
#define mtAddressMap_MT_DATA_STACK_B_POINTER   0x0107U /* The address in device memory of data stack B pointer */
 
#define mtAddressMap_MONITOR_LOOKUP_TABLE   0x0280U /* The address in device memory of the monitor lookup table */
 
#define mtAddressMap_FREE_MEMORY   0x0300U /* The address in device memory where the free space begins */
 
#define rtmtAddressMap_FREE_MEMORY   0x0400U /* The address in device memory where the free space begins */
 
#define rtMtMemoryObjectSize_ISQ_ENTRY   2U /* The size (in words) of a single ISQ entry in device memory */
 
#define rtMtAddressMap_ISQ   0x0000U /* The address in device memory of the ISQ */
 
#define rtMtMessageContainerHostBuffer_NONE   0U /* Neither the RT nor the MT host buffer parts of the RT&MT combined host buffer contains a message to be retrieved */
 
#define rtMtMessageContainerHostBuffer_RT   1U /* The RT host buffer is the part of the RT&MT combined host buffer from which a message should be retrieved */
 
#define rtMtMessageContainerHostBuffer_MT   2U /* The MT host buffer is the part of the RT&MT combined host buffer from which a message should be retrieved */
 
#define bcMessageBlock_Command1_SKIP_MESSAGE   0xFFFF /* The value of the command-1 word of a BC message block that designates "skip message" */
 
#define bcCommandBlock_ExecuteAndFlip_AddressFlipBitMask   0x0010U /* The bit that's flipped in result of successful Tx by a XQF command */
 
#define bcAddressMap_GPQ   0x0000U /* The address in device memory of the GPQ */
 
#define bcAddressMap_FREE_MEMORY   0x0400U /* The address in device memory where the free space begins */
 
#define bcAddressMap_COMMAND_STACK_IN_NON_AUTO_REPEAT_MODE   0x0100U /* The address in device memory where the command stack begins when the BC is configured as non-enhanced-BC in frame non-auto-repeat mode */
 
#define bcAddressMap_FRAME_LENGTH_IN_NON_AUTO_REPEAT_MODE   0x0101U /* The address in device memory where the number of entries in the command stack is stored when the BC is configured as non-enhanced-BC in frame non-auto-repeat mode */
 
#define bcAddressMap_COMMAND_STACK_IN_AUTO_REPEAT_MODE   0x0102U /* The address in device memory where the command stack begins when the BC is configured as non-enhanced-BC in frame auto-repeat mode */
 
#define bcAddressMap_FRAME_LENGTH_IN_AUTO_REPEAT_MODE   0x0103U /* The address in device memory where the number of entries in the command stack is stored when the BC is configured as non-enhanced-BC in frame auto-repeat mode */
 
#define rtMemoryObjectSize_NORMAL_DATA_BLOCK   32
 
#define rtMemoryObjectSize_DOUBLE_DATA_BLOCK   64
 
#define rtCommandIllegalizationTable_OFFSET_OF_SUBADDRESS   1 /* The index of the lowest of the bits of the subaddress field within an entry of the command illegalization table */
 
#define rtCommandIllegalizationTable_OFFSET_OF_DIRECTION   6 /* The index of the lowest of the bits of the direction field within an entry of the command illegalization table */
 
#define rtCommandIllegalizationTable_OFFSET_OF_ADDRESS_TYPE   7 /* The index of the lowest of the bits of the address type field within an entry of the command illegalization table */
 
#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_MESSAGE_TYPE_RX   0 /* The index of the sub lookup table of the subaddress lookup table that's dedicated for message type Rx */
 
#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_MESSAGE_TYPE_TX   1 /* The index of the sub lookup table of the subaddress lookup table that's dedicated for message type Tx */
 
#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_MESSAGE_TYPE_BROADCAST   2 /* The index of the sub lookup table of the subaddress lookup table that's dedicated for message type broadcast */
 
#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_CONTROL_WORDS   3 /* The index of the sub lookup table of the subaddress lookup table that's dedicated for subaddress control words */
 
#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_COUNT   4 /* The number of sub lookup tables that make up the subaddress lookup table */
 
#define rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_RX   5 /* The index of the lowest of the bits of the message type Rx section within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_RX   0x03E0 /* The mask of the message type Rx section within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_RX_COMPLEMENT   0x7C1F /* The complement of the mask of the message type Rx section within a subaddress control word at the subaddress control word sub lookup table (not taking in account the double or common circular data block field) */
 
#define rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_TX   10 /* The index of the lowest of the bits of the message type Tx section within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_TX   0x7C00 /* The mask of the message type Tx section within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_TX_COMPLEMENT   0x03FF /* The complement of the mask of the message type Tx section within a subaddress control word at the subaddress control word sub lookup table (not taking in account the double or common circular data block field) */
 
#define rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_BROADCAST   0 /* The index of the lowest of the bits of the message type broadcast section within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_BROADCAST   0x001F /* The mask of the message type broadcast section within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_BROADCAST_COMPLEMENT   0x7FE0 /* The complement of the mask of the message type broadcast section within a subaddress control word at the subaddress control word sub lookup table (not taking in account the double or common circular data block field) */
 
#define rtLookupTable_OFFSET_OF_MESSAGE_TYPE_INTERRUPT_ENABLER   3 /* The index of the lowest of the bits of the interrupt enabler field of each message type section within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtLookupTable_MESSAGE_TYPE_INTERRUPT_ENABLER   0x0018 /* The mask of the interrupt enabler field of each message type section within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_DOUBLE_OR_COMMON_DATA_BLOCK   15 /* The index of the lowest of the bits of the double or common circular data block enabler field within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_DOUBLE_OR_COMMON_DATA_BLOCK   0x8000 /* The mask of the double or common circular data block enabler field within a subaddress control word at the subaddress control word sub lookup table */
 
#define rtCommandStackEntry_OFFSET_OF_BLOCK_STATUS_WORD   0 /* The offset (in words) in a RT command stack entry of the block status word */
 
#define rtCommandStackEntry_OFFSET_OF_TIME_TAG   1 /* The offset (in words) in a RT command stack entry of the time tag */
 
#define rtCommandStackEntry_OFFSET_OF_DATA_BLOCK_ADDRESS   2 /* The offset (in words) in a RT command stack entry of the device memory address of the related data block */
 
#define rtCommandStackEntry_OFFSET_OF_MODE_CODE_DATA   2 /* The offset (in words) in a RT command stack entry of the single mode code data word, in case of mode code messages with data */
 
#define rtCommandStackEntry_OFFSET_OF_COMMAND   3 /* The offset (in words) in a RT command stack entry of the received command */
 
#define mtCommandStackEntry_OFFSET_OF_BLOCK_STATUS_WORD   0U /* The offset (in words) in a MT command stack entry of the block status word */
 
#define mtCommandStackEntry_OFFSET_OF_TIME_TAG   1U /* The offset (in words) in a MT command stack entry of the time tag */
 
#define mtCommandStackEntry_OFFSET_OF_DATA_BLOCK_ADDRESS   2U /* The offset (in words) in a MT command stack entry of the device memory address of the related data block */
 
#define mtCommandStackEntry_OFFSET_OF_COMMAND   3U /* The offset (in words) in a MT command stack entry of the received command */
 
#define asynchronousMessaging_HIGH_PRIORITY_MESSAGE_TX_CALL_COMMAND_COUNT   1U /* The number of commands added after each message-transmitter-command in order to [re]try sending the possibly requested high priority asynchronous message */
 
#define asynchronousMessaging_HIGH_PRIORITY_MESSAGE_TX_COMMAND_COUNT   3U /* The number of commands that compose the high priority asynchronous message Tx subroutine (this subroutine contains the following series of commands: XQF, RTN) */
 
#define asynchronousMessaging_LOW_PRIORITY_MESSAGES_TX_CALL_COMMAND_COUNT   1U /* The number of commands added at the end of each major frame in order to [re]try sending the possibly requested low priority asynchronous messages */
 
#define asynchronousMessaging_STUB_LOW_PRIORITY_MESSAGE_TX_COMMAND_COUNT   1U /* The number of commands that compose the initial stub of the low priority asynchronous message Tx subroutine (in its degenerated state this subroutine merely contains a single RTN command) */
 
#define asynchronousMessaging_COMMAND_COUNT_PER_LOW_PRIORITY_MESSAGE   4U /* The number of commands added in the low priority asynchronous message Tx subroutine for each low priority asynchronous message */
 
#define parsedOpcodeCount_MAXIMUM   5U /* The maximum number of hardware opcodes for any specific software opcode */
 
#define parsedOpcodeCount_TIME_CONDITIONED_MESSAGE_TX   5U /* Hardware opcodes for the time conditioned message Tx software opcode, not taking in account a potential call to the high asynchronous messages Tx subroutine (see the documentation for function naibrd_1553_BcCommandCreate) */
 
#define addedFramingCommandsCount_MajorFrame_MAXIMUM_TOTAL   17U /* The maximum possible total number of framing commands included in major frame - groups A-C */
 
#define addedFramingCommandsCount_MajorFrame_GROUP_A   14U /* The number of framing commands included in major frame - group A */
 
#define addedFramingCommandsCount_MajorFrame_GROUP_B   2U /* The number of framing commands included in major frame - group B */
 
#define addedFramingCommandsCount_MajorFrame_GROUP_C   1U /* The number of framing commands included in major frame - group C */
 
#define addedFramingCommandsCount_MinorFrame_MAXIMUM_TOTAL   15U /* The maximum possible total number of framing commands included in major frame - groups A-H */
 
#define addedFramingCommandsCount_MinorFrame_GROUP_A   4U /* The number of framing commands included in minor frame - group A */
 
#define addedFramingCommandsCount_MinorFrame_GROUP_B   2U /* The number of framing commands included in minor frame - group B */
 
#define addedFramingCommandsCount_MinorFrame_GROUP_C   1U /* The number of framing commands included in minor frame - group C */
 
#define addedFramingCommandsCount_MinorFrame_GROUP_D   1U /* The number of framing commands included in minor frame - group D */
 
#define addedFramingCommandsCount_MinorFrame_GROUP_E   1U /* The number of framing commands included in minor frame - group E */
 
#define addedFramingCommandsCount_MinorFrame_GROUP_F   3U /* The number of framing commands included in minor frame - group F */
 
#define addedFramingCommandsCount_MinorFrame_GROUP_G   1U /* The number of framing commands included in minor frame - group G */
 
#define addedFramingCommandsCount_MinorFrame_GROUP_H   1U /* The number of framing commands included in minor frame - group H */
 
#define frameCommandWritingHelperBuffer_COMMAND_COUNT   (parsedOpcodeCount_MAXIMUM * NAI_1553_BC_FRAME_COMMANDS) /* The number of commands contained by a frame command writing helper buffer in order to deal with the largest possible frame) */
 
#define bcMemoryObjectSize_GPQ_ENTRY   2U /* The size (in words) of a single GPQ entry in device memory */
 
#define bcMemoryObjectSize_NORMAL_DATA_BLOCK   32U /* The size (in words) of a data block in device memory */
 
#define bcMemoryObjectSize_DOUBLE_DATA_BLOCK   64U /* The size (in words) of a double data block in device memory */
 
#define bcMemoryObjectSize_NORMAL_MESSAGE   8U /* The allocated (and actual) size (in words) of a normal (i.e., non RT-to-RT) message in device memory */
 
#define bcMemoryObjectSize_LARGE_MESSAGE   16U /* The allocated size (in words) of a large message, i.e., a RT-to-RT message, in device memory */
 
#define bcMemoryObjectSize_RT_TO_RT_MESSAGE   10U /* The actual size (in words) of the largest message block, i.e., a RT-to-RT message block, in device memory */
 
#define bcMemoryObjectSize_DUAL_MESSAGE   32U /* The allocated size (in words) of a dual message in device memory */
 
#define bcMemoryObjectSize_COMMAND   2U /* The size (in words) of a command in device memory */
 
#define bcMemoryObjectSize_COMMAND_STACK_ENTRY   4U /* The size (in words) of a single command stack entry in device memory, which consists of the following quadruplet: (block-status-word, time-tag, message-gap, message-block-address) */
 
#define bcMemoryObjectSize_MESSAGE_BLOCK   38U /* The size (in words) of the longest possible BC-style message block (for more information read about the Stack and the Message Block in the BC Users Manual) */
 
#define bcMessageBlock_OFFSET_OF_BC_CONTROL_WORD   0U /* The offset (in words) in a BC message block of the BC control word */
 
#define bcMessageBlock_OFFSET_OF_COMMAND_1   1U /* The offset (in words) in a BC message block of the [first] command */
 
#define bcMessageBlock_OFFSET_OF_DATA_BLOCK_ADDRESS   2U /* The offset (in words) in a BC message block of the device memory address of the related data block */
 
#define bcMessageBlock_OFFSET_OF_GAP_TO_NEXT_MESSAGE   3U /* The offset (in words) in a BC message block of the gap to next message */
 
#define bcMessageBlock_OFFSET_OF_TIME_TAG   4U /* The offset (in words) in a BC message block of the time tag */
 
#define bcMessageBlock_OFFSET_OF_BLOCK_STATUS   5U /* The offset (in words) in a BC message block of the block status word */
 
#define bcMessageBlock_OFFSET_OF_LOOPBACK_WORD   6U /* The offset (in words) in a BC message block of the loopback word */
 
#define bcMessageBlock_OFFSET_OF_RT_STATUS_WORD_1   7U /* The offset (in words) in a BC message block of the [first] RT status word */
 
#define bcMessageBlock_OFFSET_OF_COMMAND_2   8U /* The offset (in words) in a BC message block of the second command (relevant with RT-to-RT messages) */
 
#define bcMessageBlock_OFFSET_OF_RT_STATUS_WORD_2   9U /* The offset (in words) in a BC message block of the second RT status word */
 
#define commandOpcode_ODD_PARITY_MASK   0x8000U /* A mask of the odd parity bit within a command opcode */
 
#define commandOpcode_MANDATORY_BITS_MASK   0x03E0U /* A mask of mandatory preset bits within any command opcode */
 
#define commandOpcode_MANDATORY_BITS   0x0140U /* Mandatory preset bits within commands of regular opcodes */
 
#define commandOpcode_UNIQUE_MANDATORY_BITS   0x0240U /* Mandatory preset bits within commands of Sital's unique opcodes */
 
#define commandOpcode_OFFSET_OF_OPCODE_MASK   10U /* The index of the first bit of the opcode itself within a command opcode */
 
#define commandOpcode_OFFSET_OF_CONDITION_MASK   0U /* The index of the first bit of the condition code within a command opcode */
 
#define bcConditionCode_GFP_EQUAL_FLAG   0x0001U /* Condition code: Equal */
 
#define bcConditionCode_GPF_LESS_THAN_FLAG   0x0002U /* Condition code: Less than */
 
#define bcConditionCode_GPF0   0x0001U /* Condition code: GPF-0 */
 
#define bcConditionCode_GPF1   0x0002U /* Condition code: GPF-1 */
 
#define bcConditionCode_GPF2   0x0004U /* Condition code: GPF-2 */
 
#define bcConditionCode_GPF3   0x0008U /* Condition code: GPF-3 */
 
#define bcConditionCode_GPF4   0x0010U /* Condition code: GPF-4 */
 
#define bcConditionCode_GPF5   0x0020U /* Condition code: GPF-5 */
 
#define bcConditionCode_GPF6   0x0040U /* Condition code: GPF-6 */
 
#define bcConditionCode_GPF7   0x0080U /* Condition code: GPF-7 */
 
#define bcConditionCode_NO_RESPONSE   0x0100U /* Condition code: No response */
 
#define bcConditionCode_FORMAT_ERROR   0x0200U /* Condition code: Format error */
 
#define bcConditionCode_GOOD_DATA_BLOCK_TRANSFER   0x0400U /* Condition code: Good data block transfer */
 
#define bcConditionCode_MASKED_STATUS   0x0800U /* Condition code: Masked status */
 
#define bcConditionCode_BAD_MESSAGE   0x1000U /* Condition code: Bad message */
 
#define bcConditionCode_RETRY_COUNT   0x6000U /* Condition code: Retry count */
 
#define bcConditionCode_ALWAYS   0x8000U /* Condition code: Always */
 
#define messageTypeComponent_TX   0x1U /* The component of naiMessageType_* constants that designates a transmitted message */
 
#define messageTypeComponent_DATA   0x2U /* The component of naiMessageType_* constants that designates a data containing message */
 
#define messageTypeComponent_MODE   0x4U /* The component of naiMessageType_* constants that designates a mode message */
 
#define messageTypeComponent_BROADCAST   0x8U /* The component of naiMessageType_* constants that designates a broadcast message */
 
#define BRMC_INTERRUPT_FLAG_SEVERE_PROBLEM   0x8000U /* A interrupt signal mode bit mask for field swFlags of structure naiCardInformationStructure: on/off when pulse/level interrupts, respectively, suit the operating system and card type */
 
#define BRMC_CAP_IRQ_PULSE   0x100U /* A interrupt signal mode bit mask for field swFlags of structure naiCardInformationStructure: on/off when pulse/level interrupts, respectively, suit the operating system and card type */
 
#define IS_MULTIPLE_OF_32(testedNumber)    ( ((testedNumber) == (((testedNumber) >> 5) << 5)) ? TRUE : FALSE )
 
#define ROUND_UP_TO_NEAREST_MULTIPLE_OF_32(roundedNumber)
 
#define ADDRESS_TO_INDEX_OF_RELATED_BIT(address)    ( (address) >> 5 )
 
#define SEGMENT_BASE_ADDRESS(bitIndex)    ( (bitIndex) << 5 )
 
#define SEGMENT_BOTTOM_ADDRESS(bitIndex)    ( ((bitIndex) << 5) + 31 )
 
#define NEXT_SEGMENT_BASE_ADDRESS(bitIndex)    ( (SEGMENT_BOTTOM_ADDRESS(bitIndex)) + 1 )
 
#define PREVIOUS_SEGMENT_BOTTOM_ADDRESS(bitIndex)    ( (SEGMENT_BASE_ADDRESS(bitIndex)) - 1 )
 
#define FIND_CORRESPONDING_MEMORY_MAP_INDICES(baseAddress, entry, bit)
 
#define GPQ_ENTRY_ADDRESS(wQueueEntryIndex)    (bcAddressMap_GPQ + ((wQueueEntryIndex) * bcMemoryObjectSize_GPQ_ENTRY))
 
#define GPQ_ENTRY_INDEX(wQueueEntryAddress)    (((wQueueEntryAddress) - bcAddressMap_GPQ) / bcMemoryObjectSize_GPQ_ENTRY)
 
#define MT_STACK_STARTER_ADDRESS(wStackMode, wStackBaseAddress, wStackSize)    ( (wStackBaseAddress) + ( (NAI_1553_MT_STACK_OPT_DOUBLE == (wStackMode)) ? ((wStackSize) / 2 ) : 0) )
 

Typedefs

typedef struct naiCardInformationStructure naiCardInformationStructure
 
typedef struct naiDeviceCapabilitiesStructure naiDeviceCapabilitiesStructure
 
typedef struct GeneralPurposeQueueStateStructure GeneralPurposeQueueStateStructure
 
typedef struct HostGeneralPurposeQueueStructure HostGeneralPurposeQueueStructure
 
typedef struct HostDataBlockStructure HostDataBlockStructure
 
typedef struct HostMessageStructure HostMessageStructure
 
typedef struct HostCommandStructure HostCommandStructure
 
typedef struct HostFrameStructure HostFrameStructure
 
typedef struct HostBufferStructure HostBufferStructure
 
typedef struct RtStackStateStructure RtStackStateStructure
 
typedef struct MtStackStateStructure MtStackStateStructure
 
typedef struct BcStateStructure BcStateStructure
 
typedef struct CircularDataBlockInformationStructure CircularDataBlockInformationStructure
 
typedef struct RtStateStructure RtStateStructure
 
typedef struct MtStateStructure MtStateStructure
 
typedef struct NestingStackStructure NestingStackStructure
 
typedef struct HostInterruptServiceQueueStateStructure HostInterruptServiceQueueStateStructure
 
typedef struct HostDeviceMemoryMapStructure HostDeviceMemoryMapStructure
 
typedef struct DeviceStateStructure DeviceStateStructure
 

Enumerations

enum  nai_host_to_bm_cmd_code_t {
  HOST_TO_BM_1553_OPEN = 0x0001 , HOST_TO_BM_1553_CLOSE = 0x0002 , HOST_TO_BM_1553_INITIALIZE = 0x0003 , HOST_TO_BM_1553_FREE = 0x0004 ,
  HOST_TO_BM_1553_READREG = 0x0005 , HOST_TO_BM_1553_WRITEREG = 0x0006 , HOST_TO_BM_1553_READAUXREG = 0x0007 , HOST_TO_BM_1553_WRITEAUXREG = 0x0008 ,
  HOST_TO_BM_1553_READINTREG = 0x0009 , HOST_TO_BM_1553_WRITEINTREG = 0x000A , HOST_TO_BM_1553_READMEM = 0x000B , HOST_TO_BM_1553_WRITEMEM = 0x000C ,
  HOST_TO_BM_1553_SETTIMETAG = 0x000D , HOST_TO_BM_1553_GETTIMETAG = 0x000E , HOST_TO_BM_1553_RESETTIMETAG = 0x000F , HOST_TO_BM_1553_SETTIMETAGRES = 0x0010 ,
  HOST_TO_BM_1553_CONFIGOPSTATS = 0x0011 , HOST_TO_BM_1553_SETIRQCONFIG = 0x0012 , HOST_TO_BM_1553_SETIRQMANIP = 0x0013 , HOST_TO_BM_1553_SETINTSTEERING = 0x0014 ,
  HOST_TO_BM_1553_SETINTVECTOR = 0x0015 , HOST_TO_BM_1553_GETINTSTATUS = 0x0016 , HOST_TO_BM_1553_CLEARINTLATCH = 0x0017 , HOST_TO_BM_1553_SETCLKFREQ = 0x0018 ,
  HOST_TO_BM_1553_SETRESPTIMEOUT = 0x0019 , HOST_TO_BM_1553_CONFIGWATCHDOG = 0x001A , HOST_TO_BM_1553_SETDCDRCONFIG = 0x001B , HOST_TO_BM_1553_SETRAMPARITYCHK = 0x001C ,
  HOST_TO_BM_1553_INTRLOOPBACK = 0x001D , HOST_TO_BM_1553_RTINITIALIZE = 0x001E , HOST_TO_BM_1553_RTSETADDRSRC = 0x001F , HOST_TO_BM_1553_RTGETADDRSRC = 0x0020 ,
  HOST_TO_BM_1553_RTADDRRELATCH = 0x0021 , HOST_TO_BM_1553_RTSETADDR = 0x0022 , HOST_TO_BM_1553_RTGETADDR = 0x0023 , HOST_TO_BM_1553_RTSTART = 0x0024 ,
  HOST_TO_BM_1553_RTSTOP = 0x0025 , HOST_TO_BM_1553_RTDATABLKGETSIZE = 0x0026 , HOST_TO_BM_1553_RTDATABLKCREATE = 0x0027 , HOST_TO_BM_1553_RTDATABLKGETADDR = 0x0028 ,
  HOST_TO_BM_1553_RTDATABLKDELETE = 0x0029 , HOST_TO_BM_1553_RTDATABLKWRITE = 0x002A , HOST_TO_BM_1553_RTDATABLKREAD = 0x002B , HOST_TO_BM_1553_RTDATABLKMAP2SUBADD = 0x002C ,
  HOST_TO_BM_1553_RTDATABLKUNMAP = 0x002D , HOST_TO_BM_1553_RTTXDATABLKSWAP = 0x002E , HOST_TO_BM_1553_RTMCIRQENABLE = 0x002F , HOST_TO_BM_1553_RTMCIRQDISABLE = 0x0030 ,
  HOST_TO_BM_1553_RTMCGETIRQSTATUS = 0x0031 , HOST_TO_BM_1553_RTMCREADDATA = 0x0032 , HOST_TO_BM_1553_RTMCWRITEDATA = 0x0033 , HOST_TO_BM_1553_RTMSGLEGALENABLE = 0x0034 ,
  HOST_TO_BM_1553_RTMSGLEGALDISABLE = 0x0035 , HOST_TO_BM_1553_RTMSGLEGALGETSTATUS = 0x0036 , HOST_TO_BM_1553_RTSTSBITSSET = 0x0037 , HOST_TO_BM_1553_RTSTSBITSUNSET = 0x0038 ,
  HOST_TO_BM_1553_RTSTSBITSGET = 0x0039 , HOST_TO_BM_1553_RTMSGGETFROMSTKRAW = 0x003A , HOST_TO_BM_1553_RTMSGGETFROMSTKDCD = 0x003B , HOST_TO_BM_1553_RTBITWORDCONFIG = 0x003C ,
  HOST_TO_BM_1553_RTBITWORDREAD = 0x003D , HOST_TO_BM_1553_RTBITWORDWRITE = 0x003E , HOST_TO_BM_1553_BCCONFIG = 0x003F , HOST_TO_BM_1553_BCSETMSGRETRYPOLICY = 0x0040 ,
  HOST_TO_BM_1553_BCSTART = 0x0041 , HOST_TO_BM_1553_BCSTOP = 0x0042 , HOST_TO_BM_1553_BCCMDGETWORD = 0x0043 , HOST_TO_BM_1553_BCGETACTIVESTATE = 0x0044 ,
  HOST_TO_BM_1553_BCDATABLKCREATE = 0x0045 , HOST_TO_BM_1553_BCDATABLKDELETE = 0x0046 , HOST_TO_BM_1553_BCDATABLKWRITE = 0x0047 , HOST_TO_BM_1553_BCDATABLKREAD = 0x0048 ,
  HOST_TO_BM_1553_BCFRAMECREATE = 0x0049 , HOST_TO_BM_1553_BCFRAMEDELETE = 0x004A , HOST_TO_BM_1553_BCCMDCREATE = 0x004B , HOST_TO_BM_1553_BCCMDDELETE = 0x004C ,
  HOST_TO_BM_1553_BCMSGCREATEBC2RT = 0x004D , HOST_TO_BM_1553_BCMSGCREATERT2BC = 0x004E , HOST_TO_BM_1553_BCMSGCREATERT2RT = 0x004F , HOST_TO_BM_1553_BCMSGCREATEMODE = 0x0050 ,
  HOST_TO_BM_1553_BCMSGCREATEBC2BCST = 0x0051 , HOST_TO_BM_1553_BCMSGCREATERT2BCST = 0x0052 , HOST_TO_BM_1553_BCMSGCREATEBCSTMODE = 0x0053 , HOST_TO_BM_1553_BCMSGCREATE = 0x0054 ,
  HOST_TO_BM_1553_BCMSGMODIFYBC2RT = 0x0055 , HOST_TO_BM_1553_BCMSGMODIFYRT2BC = 0x0056 , HOST_TO_BM_1553_BCMSGMODIFYRT2RT = 0x0057 , HOST_TO_BM_1553_BCMSGMODIFYMODE = 0x0058 ,
  HOST_TO_BM_1553_BCMSGMODIFYBC2BCST = 0x0059 , HOST_TO_BM_1553_BCMSGMODIFYRT2BCST = 0x005A , HOST_TO_BM_1553_BCMSGMODIFYBCSTMODE = 0x005B , HOST_TO_BM_1553_BCMSGMODIFY = 0x005C ,
  HOST_TO_BM_1553_BCMSGDELETE = 0x005D , HOST_TO_BM_1553_BCGETMSGBYIDRAW = 0x005E , HOST_TO_BM_1553_BCGETMSGBYIDDCD = 0x005F , HOST_TO_BM_1553_BCMSGGAPTIMERENABLE = 0x0060 ,
  HOST_TO_BM_1553_BCSETGPFSTATE = 0x0061 , HOST_TO_BM_1553_BCGETCONDITIONSTATE = 0x0062 , HOST_TO_BM_1553_BCGPQREAD = 0x0063 , HOST_TO_BM_1553_BCGPQGETENTRIESCNT = 0x0064 ,
  HOST_TO_BM_1553_BCGPQGETOPSTATS = 0x0065 , HOST_TO_BM_1553_BCASYNCCREATEBC2RT = 0x0066 , HOST_TO_BM_1553_BCASYNCCREATERT2BC = 0x0067 , HOST_TO_BM_1553_BCASYNCCREATERT2RT = 0x0068 ,
  HOST_TO_BM_1553_BCASYNCCREATEMODE = 0x0069 , HOST_TO_BM_1553_BCASYNCCREATEBC2BCST = 0x006A , HOST_TO_BM_1553_BCASYNCCREATERT2BCST = 0x006B , HOST_TO_BM_1553_BCASYNCCREATEBCSTMODE = 0x006C ,
  HOST_TO_BM_1553_BCASYNCSENDATLOWPRIO = 0x006D , HOST_TO_BM_1553_BCASYNCSENDATHIGHPRIO = 0x006E , HOST_TO_BM_1553_BCASYNCMSGREMAINCOUNT = 0x006F , HOST_TO_BM_1553_MTINITIALIZE = 0x0070 ,
  HOST_TO_BM_1553_MTSTKGETOPSTATS = 0x0071 , HOST_TO_BM_1553_MTSTKSWAP = 0x0072 , HOST_TO_BM_1553_MTGETINFO = 0x0073 , HOST_TO_BM_1553_MTSTART = 0x0074 ,
  HOST_TO_BM_1553_MTSTOP = 0x0075 , HOST_TO_BM_1553_MTPAUSE = 0x0076 , HOST_TO_BM_1553_MTCONTINUE = 0x0077 , HOST_TO_BM_1553_MTMSGMONITORENABLE = 0x0078 ,
  HOST_TO_BM_1553_MTMSGMONITORDISABLE = 0x0079 , HOST_TO_BM_1553_MTMSGMONITORGETSTATUS = 0x007A , HOST_TO_BM_1553_MTMSGGETFROMSTKRAW = 0x007B , HOST_TO_BM_1553_MTMSGGETFROMSTKDCD = 0x007C ,
  HOST_TO_BM_1553_BCASYNCSENDONEATLOWPRIO = 0x007D , HOST_TO_BM_1553_RTMTINITIALIZE = 0x007E , HOST_TO_BM_1553_RTMTSTART = 0x007F , HOST_TO_BM_1553_RTMTSTOP = 0x0080 ,
  HOST_TO_BM_1553_REQUESTMOREDATA = 0x0099 , HOST_TO_BM_1553_READMEMMULTIPLE = 0x009A , HOST_TO_BM_1553_WRITEMEMMULTIPLE = 0x009B
}
 
enum  nai_bm_to_host_cmd_code_t {
  BM_TO_HOST_1553_OPEN = 0x9001 , BM_TO_HOST_1553_CLOSE = 0x9002 , BM_TO_HOST_1553_INITIALIZE = 0x9003 , BM_TO_HOST_1553_FREE = 0x9004 ,
  BM_TO_HOST_1553_READREG = 0x9005 , BM_TO_HOST_1553_WRITEREG = 0x9006 , BM_TO_HOST_1553_READAUXREG = 0x9007 , BM_TO_HOST_1553_WRITEAUXREG = 0x9008 ,
  BM_TO_HOST_1553_READINTREG = 0x9009 , BM_TO_HOST_1553_WRITEINTREG = 0x900A , BM_TO_HOST_1553_READMEM = 0x900B , BM_TO_HOST_1553_WRITEMEM = 0x900C ,
  BM_TO_HOST_1553_SETTIMETAG = 0x900D , BM_TO_HOST_1553_GETTIMETAG = 0x900E , BM_TO_HOST_1553_RESETTIMETAG = 0x900F , BM_TO_HOST_1553_SETTIMETAGRES = 0x9010 ,
  BM_TO_HOST_1553_CONFIGOPSTATS = 0x9011 , BM_TO_HOST_1553_SETIRQCONFIG = 0x9012 , BM_TO_HOST_1553_SETIRQMANIP = 0x9013 , BM_TO_HOST_1553_SETINTSTEERING = 0x9014 ,
  BM_TO_HOST_1553_SETINTVECTOR = 0x9015 , BM_TO_HOST_1553_GETINTSTATUS = 0x9016 , BM_TO_HOST_1553_CLEARINTLATCH = 0x9017 , BM_TO_HOST_1553_SETCLKFREQ = 0x9018 ,
  BM_TO_HOST_1553_SETRESPTIMEOUT = 0x9019 , BM_TO_HOST_1553_CONFIGWATCHDOG = 0x901A , BM_TO_HOST_1553_SETDCDRCONFIG = 0x901B , BM_TO_HOST_1553_SETRAMPARITYCHK = 0x901C ,
  BM_TO_HOST_1553_INTRLOOPBACK = 0x901D , BM_TO_HOST_1553_RTINITIALIZE = 0x901E , BM_TO_HOST_1553_RTSETADDRSRC = 0x901F , BM_TO_HOST_1553_RTGETADDRSRC = 0x9020 ,
  BM_TO_HOST_1553_RTADDRRELATCH = 0x9021 , BM_TO_HOST_1553_RTSETADDR = 0x9022 , BM_TO_HOST_1553_RTGETADDR = 0x9023 , BM_TO_HOST_1553_RTSTART = 0x9024 ,
  BM_TO_HOST_1553_RTSTOP = 0x9025 , BM_TO_HOST_1553_RTDATABLKGETSIZE = 0x9026 , BM_TO_HOST_1553_RTDATABLKCREATE = 0x9027 , BM_TO_HOST_1553_RTDATABLKGETADDR = 0x9028 ,
  BM_TO_HOST_1553_RTDATABLKDELETE = 0x9029 , BM_TO_HOST_1553_RTDATABLKWRITE = 0x902A , BM_TO_HOST_1553_RTDATABLKREAD = 0x902B , BM_TO_HOST_1553_RTDATABLKMAP2SUBADD = 0x902C ,
  BM_TO_HOST_1553_RTDATABLKUNMAP = 0x902D , BM_TO_HOST_1553_RTTXDATABLKSWAP = 0x902E , BM_TO_HOST_1553_RTMCIRQENABLE = 0x902F , BM_TO_HOST_1553_RTMCIRQDISABLE = 0x9030 ,
  BM_TO_HOST_1553_RTMCGETIRQSTATUS = 0x9031 , BM_TO_HOST_1553_RTMCREADDATA = 0x9032 , BM_TO_HOST_1553_RTMCWRITEDATA = 0x9033 , BM_TO_HOST_1553_RTMSGLEGALENABLE = 0x9034 ,
  BM_TO_HOST_1553_RTMSGLEGALDISABLE = 0x9035 , BM_TO_HOST_1553_RTMSGLEGALGETSTATUS = 0x9036 , BM_TO_HOST_1553_RTSTSBITSSET = 0x9037 , BM_TO_HOST_1553_RTSTSBITSUNSET = 0x9038 ,
  BM_TO_HOST_1553_RTSTSBITSGET = 0x9039 , BM_TO_HOST_1553_RTMSGGETFROMSTKRAW = 0x903A , BM_TO_HOST_1553_RTMSGGETFROMSTKDCD = 0x903B , BM_TO_HOST_1553_RTBITWORDCONFIG = 0x903C ,
  BM_TO_HOST_1553_RTBITWORDREAD = 0x903D , BM_TO_HOST_1553_RTBITWORDWRITE = 0x903E , BM_TO_HOST_1553_BCCONFIG = 0x903F , BM_TO_HOST_1553_BCSETMSGRETRYPOLICY = 0x9040 ,
  BM_TO_HOST_1553_BCSTART = 0x9041 , BM_TO_HOST_1553_BCSTOP = 0x9042 , BM_TO_HOST_1553_BCCMDGETWORD = 0x9043 , BM_TO_HOST_1553_BCGETACTIVESTATE = 0x9044 ,
  BM_TO_HOST_1553_BCDATABLKCREATE = 0x9045 , BM_TO_HOST_1553_BCDATABLKDELETE = 0x9046 , BM_TO_HOST_1553_BCDATABLKWRITE = 0x9047 , BM_TO_HOST_1553_BCDATABLKREAD = 0x9048 ,
  BM_TO_HOST_1553_BCFRAMECREATE = 0x9049 , BM_TO_HOST_1553_BCFRAMEDELETE = 0x904A , BM_TO_HOST_1553_BCCMDCREATE = 0x904B , BM_TO_HOST_1553_BCCMDDELETE = 0x904C ,
  BM_TO_HOST_1553_BCMSGCREATEBC2RT = 0x904D , BM_TO_HOST_1553_BCMSGCREATERT2BC = 0x904E , BM_TO_HOST_1553_BCMSGCREATERT2RT = 0x904F , BM_TO_HOST_1553_BCMSGCREATEMODE = 0x9050 ,
  BM_TO_HOST_1553_BCMSGCREATEBC2BCST = 0x9051 , BM_TO_HOST_1553_BCMSGCREATERT2BCST = 0x9052 , BM_TO_HOST_1553_BCMSGCREATEBCSTMODE = 0x9053 , BM_TO_HOST_1553_BCMSGCREATE = 0x9054 ,
  BM_TO_HOST_1553_BCMSGMODIFYBC2RT = 0x9055 , BM_TO_HOST_1553_BCMSGMODIFYRT2BC = 0x9056 , BM_TO_HOST_1553_BCMSGMODIFYRT2RT = 0x9057 , BM_TO_HOST_1553_BCMSGMODIFYMODE = 0x9058 ,
  BM_TO_HOST_1553_BCMSGMODIFYBC2BCST = 0x9059 , BM_TO_HOST_1553_BCMSGMODIFYRT2BCST = 0x905A , BM_TO_HOST_1553_BCMSGMODIFYBCSTMODE = 0x905B , BM_TO_HOST_1553_BCMSGMODIFY = 0x905C ,
  BM_TO_HOST_1553_BCMSGDELETE = 0x905D , BM_TO_HOST_1553_BCGETMSGBYIDRAW = 0x905E , BM_TO_HOST_1553_BCGETMSGBYIDDCD = 0x905F , BM_TO_HOST_1553_BCMSGGAPTIMERENABLE = 0x9060 ,
  BM_TO_HOST_1553_BCSETGPFSTATE = 0x9061 , BM_TO_HOST_1553_BCGETCONDITIONSTATE = 0x9062 , BM_TO_HOST_1553_BCGPQREAD = 0x9063 , BM_TO_HOST_1553_BCGPQGETENTRIESCNT = 0x9064 ,
  BM_TO_HOST_1553_BCGPQGETOPSTATS = 0x9065 , BM_TO_HOST_1553_BCASYNCCREATEBC2RT = 0x9066 , BM_TO_HOST_1553_BCASYNCCREATERT2BC = 0x9067 , BM_TO_HOST_1553_BCASYNCCREATERT2RT = 0x9068 ,
  BM_TO_HOST_1553_BCASYNCCREATEMODE = 0x9069 , BM_TO_HOST_1553_BCASYNCCREATEBC2BCST = 0x906A , BM_TO_HOST_1553_BCASYNCCREATERT2BCST = 0x906B , BM_TO_HOST_1553_BCASYNCCREATEBCSTMODE = 0x906C ,
  BM_TO_HOST_1553_BCASYNCSENDATLOWPRIO = 0x906D , BM_TO_HOST_1553_BCASYNCSENDATHIGHPRIO = 0x906E , BM_TO_HOST_1553_BCASYNCMSGREMAINCOUNT = 0x906F , BM_TO_HOST_1553_MTINITIALIZE = 0x9070 ,
  BM_TO_HOST_1553_MTSTKGETOPSTATS = 0x9071 , BM_TO_HOST_1553_MTSTKSWAP = 0x9072 , BM_TO_HOST_1553_MTGETINFO = 0x9073 , BM_TO_HOST_1553_MTSTART = 0x9074 ,
  BM_TO_HOST_1553_MTSTOP = 0x9075 , BM_TO_HOST_1553_MTPAUSE = 0x9076 , BM_TO_HOST_1553_MTCONTINUE = 0x9077 , BM_TO_HOST_1553_MTMSGMONITORENABLE = 0x9078 ,
  BM_TO_HOST_1553_MTMSGMONITORDISABLE = 0x9079 , BM_TO_HOST_1553_MTMSGMONITORGETSTATUS = 0x907A , BM_TO_HOST_1553_MTMSGGETFROMSTKRAW = 0x907B , BM_TO_HOST_1553_MTMSGGETFROMSTKDCD = 0x907C ,
  BM_TO_HOST_1553_BCASYNCSENDONEATLOWPRIO = 0x907D , BM_TO_HOST_1553_RTMTINITIALIZE = 0x907E , BM_TO_HOST_1553_RTMTSTART = 0x907F , BM_TO_HOST_1553_RTMTSTOP = 0x9080 ,
  BM_TO_HOST_1553_REQUESTMOREDATA = 0x9099 , BM_TO_HOST_1553_READMEMMULTIPLE = 0x909A , BM_TO_HOST_1553_WRITEMEMMULTIPLE = 0x909B , BM_TO_HOST_1553_ERROR_UNKNOWN = 0x9900 ,
  BM_TO_HOST_1553_ERROR_NO_PAYLOAD = 0x9901
}
 

Functions

int32_t convert32to16BitBuffer (int32_t bufferSize, uint32_t *inarray32, uint16_t *outarray16)
 
int32_t convert16to32BitBuffer (int32_t bufferSize, uint16_t *inarray16, uint32_t *outarray32)
 
nai_status_t M1553_WriteReg16On32Bounds (int32_t cardIndex, int32_t module, uint32_t offset, uint16_t data)
 
nai_status_t M1553_ReadReg16On32Bounds (int32_t cardIndex, int32_t module, uint32_t offset, uint16_t *outdata)
 
nai_status_t M1553_WriteRegMask16On32Bounds (int32_t cardIndex, int32_t module, uint32_t offset, uint16_t mask, uint16_t data)
 
nai_status_t M1553_Write16On32Bounds (int32_t cardIndex, int32_t module, uint32_t offset, uint32_t stride, uint32_t count, uint32_t width, const void *data)
 
nai_status_t M1553_Read16On32Bounds (int32_t cardIndex, int32_t module, uint32_t offset, uint32_t stride, uint32_t count, uint32_t width, void *data)
 
nai_status_t M1553_WriteZeros32 (int32_t cardIndex, int32_t module, uint32_t offset, uint32_t count)
 
nai_status_t M1553_WriteZeros16 (int32_t cardIndex, int32_t module, uint32_t offset, uint32_t count)
 
nai_1553_t M1553BM_CheckResponse (uint32_t *rxbuffer, uint16_t seq, nai_bm_to_host_cmd_code_t cmdCode, uint32_t *wordcount)
 
uint16_t getHiWord (uint32_t value)
 
uint16_t getLoWord (uint32_t value)
 
uint32_t makeDoubleWord (uint16_t hiWord, uint16_t loWord)
 
bool_t isFTxAssistedMode (int32_t cardIndex, int32_t module)
 
nai_status_t write1553Reg (uint8_t mode, int32_t cardIndex, int32_t module, int32_t channel, const uint32_t **addr, uint32_t offset, uint16_t data)
 
nai_status_t write1553RegMask (uint8_t mode, int32_t cardIndex, int32_t module, int32_t channel, const uint32_t **addr, uint32_t offset, uint16_t mask, uint16_t data)
 
nai_status_t read1553Reg (uint8_t mode, int32_t cardIndex, int32_t module, int32_t channel, const uint32_t **addr, uint32_t offset, uint16_t *outdata)
 
nai_status_t write1553Block (uint8_t mode, int32_t cardIndex, int32_t module, int32_t channel, const uint32_t **addr, uint32_t offset, uint32_t stride, uint32_t count, uint32_t width, const uint16_t *data)
 
nai_status_t read1553Block (uint8_t mode, int32_t cardIndex, int32_t module, int32_t channel, const uint32_t **addr, uint32_t offset, uint32_t stride, uint32_t count, uint32_t width, uint16_t *data)
 
nai_status_t write1553Zeros (uint8_t mode, int32_t cardIndex, int32_t module, int32_t channel, const uint32_t **addr, uint32_t offset, uint32_t count)
 
uint8_t get4thNibble (uint32_t value)
 
uint8_t get3rdNibble (uint32_t value)
 
uint8_t get2ndNibble (uint32_t value)
 
uint8_t get1stNibble (uint32_t value)
 
uint16_t getWordCountFromCmdWord (uint16_t cmdWord)
 
nai_1553_t Device_Memory_Initialize (HostDeviceMemoryMapStructure *hdmmspDeviceMemoryMap, uint32_t dwRamSize)
 
nai_1553_t Device_Memory_TopSection_AllocateContinuity (HostDeviceMemoryMapStructure *hdmmspDeviceMemoryMap, uint32_t dwBaseRegionAddress, uint32_t dwBottomRegionAddress, uint32_t *dwpAllocationSize, uint16_t wAlignment, bool_t *bpIsAllocationSuccessfullyAccomplished, uint32_t *dwpAllocationBaseAddress)
 
nai_1553_t Device_Memory_TopSection_FreeRegion (HostDeviceMemoryMapStructure *hdmmspDeviceMemoryMap, uint32_t dwBaseRegionAddress, uint32_t dwBottomRegionAddress)
 
nai_1553_t Device_Memory_TopSection_CatchRegion (HostDeviceMemoryMapStructure *hdmmspDeviceMemoryMap, uint32_t dwBaseRegionAddress, uint32_t dwBottomRegionAddress)
 
nai_1553_t Device_Memory_BottomSection_AllocateContinuity (HostDeviceMemoryMapStructure *hdmmspDeviceMemoryMap, uint32_t *dwpAllocationSize, uint16_t wAlignment, bool_t *bpIsAllocationSuccessfullyAccomplished, uint32_t *dwpAllocationBaseAddress)
 
nai_1553_t Device_Memory_BottomSection_FreeAll (HostDeviceMemoryMapStructure *hdmmspDeviceMemoryMap)
 
nai_1553_t rt_ConfigureDefault (int16_t swDevice)
 
nai_1553_t rt_Initialize (int16_t swDevice, uint16_t wCommandStackSize, uint32_t dwOptions)
 
nai_1553_t rt_Start (int16_t swDevice)
 
bool_t rt_DataBlock_GetSubaddressLookupInformation (HostDataBlockStructure *hdbspDataBlock, uint16_t *wpMappedSubaddress, uint32_t *dwpLookupAddress, uint32_t *dwpControlWordAddress)
 
nai_1553_t rt_Message_GetFromStackRaw (int16_t swDevice, uint16_t *wapBuffer, uint16_t *wpMessageTimeTagRolloverCounter, bool_t bIsNextMessageRequired, bool_t bIsMessagePurgeRequired)
 
nai_1553_t bc_ConfigureDefault (int16_t swDevice)
 
nai_1553_t bc_Frame_Write (int16_t swDevice, uint16_t wFrameId, NestingStackStructure *nsspNestingStack)
 
nai_1553_t bc_Frame_WriteMajor (int16_t swDevice, uint16_t wFrameId, NestingStackStructure *nsspNestingStack)
 
nai_1553_t bc_Frame_WriteMinor (int16_t swDevice, uint16_t wFrameId, NestingStackStructure *nsspNestingStack)
 
nai_1553_t bc_Gpq_Fill_Host (int16_t swDevice)
 
nai_1553_t bc_Gpq_Read (int16_t swDevice, naiGpqEntryStructure *gespGpqEntry, bool_t bIsUserInitiatedGpqReadRequest)
 
nai_1553_t bc_Gpf_SetState (int16_t swDevice, uint16_t wGpfNumber, uint16_t wEffect)
 
nai_1553_t bc_Frame_WriteCommands (int16_t swDevice, uint16_t wFrameId, NestingStackStructure *nsspNestingStack)
 
nai_1553_t bc_Message_Write (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockIdForMessage1, uint16_t wBcControlWordForMessage1, uint16_t wCommandWord1ForMessage1, uint16_t wCommandWord2ForMessage1, uint16_t wGapTimeForMessage1, int16_t swDataBlockIdForMessage2, uint16_t wBcControlWordForMessage2, uint16_t wCommandWord1ForMessage2, uint16_t wCommandWord2ForMessage2, uint16_t wGapTimeForMessage2, uint32_t dwOptions, HostMessageStructure *hmspMessage, HostDataBlockStructure *hdbspDataBlock1, HostDataBlockStructure *hdbspDataBlock2, bool_t bIsNewMessage)
 
nai_1553_t bc_Message_GetByIdRaw (int16_t swDevice, int16_t swMessageId, uint16_t *wapBuffer, uint16_t wIsPurgeRequired)
 
nai_1553_t bc_Message_GetInformation (int16_t swDevice, uint16_t *wpMessageBuffer, uint16_t *wpTxTime, uint16_t *wpType, uint16_t *wpDataWordsCount)
 
nai_1553_t mt_Initialize (int16_t swDevice, uint16_t wStackMode, uint16_t wCommandStackSize, uint16_t wDataStackSize, uint32_t dwOptions)
 
nai_1553_t mt_Start (int16_t swDevice)
 
nai_1553_t mt_ResetStack (int16_t swDevice, MtStackStateStructure *mssspTargetStackState)
 
nai_1553_t mt_ResetStacks (int16_t swDevice)
 
nai_1553_t mt_MessageCaptureTrigger_ExamineMessage (int16_t swDevice, uint16_t *wapBuffer)
 
nai_1553_t mt_Message_GetFromStackRaw (int16_t swDevice, MtStackStateStructure *mssspTargetStackState, uint16_t *wapBuffer, uint16_t *wpMessageTimeTagRolloverCounter, BOOLEAN bIsNextMessageRequired, BOOLEAN bIsMessagePurgeRequired)
 
nai_1553_t mt_ConfigureDefault (int16_t swDevice)
 
nai_1553_t rtmt_ConfigureDefault (int16_t swDevice)
 
nai_1553_t device_Reset (int16_t swDevice)
 
nai_1760_t naibrd_1760_Open (int32_t cardIndex, int32_t module, int32_t channel, int16_t swDevice)
 
nai_1760_t naibrd_1760_Close (int16_t swDevice)
 
uint16_t naibrd_1760_ReadMem (int16_t swDevice, uint32_t wDeviceMemoryAddress)
 
nai_1760_t naibrd_1760_WriteMem (int16_t swDevice, uint32_t wDeviceMemoryAddress, uint16_t wDeviceMemoryValue)
 
uint32_t naibrd_1760_ReadIntReg (int16_t swDevice, uint32_t wIntRegisterAddress)
 
nai_1760_t naibrd_1760_WriteIntReg (int16_t swDevice, uint32_t wIntRegisterAddress, uint32_t wIntRegisterValue)
 
nai_1760_t naibrd_1760_Initialize (int16_t swDevice, uint16_t wAccess, uint16_t wMode, uint32_t dwSizeOfAllocatedMemory, uint32_t dwRegistersAddress, uint32_t dwMemoryAddress)
 
nai_1760_t naibrd_1760_Free (int16_t swDevice)
 
nai_1760_t naibrd_1760_SetResponseTimeout (int16_t swDevice, uint16_t wResponseTimeout)
 
nai_1760_t naibrd_1760_ConfigureWatchdogTimeout (int16_t swDevice, uint16_t bIsWatchdogEnabled, uint16_t wWatchdogTimeout)
 
nai_1760_t naibrd_1760_SetTimeTag (int16_t swDevice, uint16_t wTimeTag)
 
nai_1760_t naibrd_1760_GetTimeTag (int16_t swDevice, uint16_t *wpTimeTag)
 
nai_1760_t naibrd_1760_ResetTimeTag (int16_t swDevice)
 
nai_1760_t naibrd_1760_SetTimeTagResolution (int16_t swDevice, uint16_t wTimeTagResolution)
 
nai_1760_t naibrd_1760_EnableExecution (int16_t swDevice, bool_t enabled)
 
nai_1760_t naibrd_1760_BcConfig (int16_t swDevice, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_BcStart (int16_t swDevice, int16_t swFrameId, int32_t sdwFrameCount)
 
nai_1760_t naibrd_1760_BcDataBlockWrite (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 
nai_1760_t naibrd_1760_BcGetActivationState (int16_t swDevice, uint16_t *wpCurrentState)
 
nai_1760_t naibrd_1760_BcDataBlockRead (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 
nai_1760_t naibrd_1760_BcCommandCreate (int16_t swDevice, int16_t swCommandId, uint16_t wOpcode, uint16_t wCondition, uint32_t dwParameter1, uint32_t dwParameter2, uint32_t dwReserved)
 
nai_1760_t naibrd_1760_BcCommandDelete (int16_t swDevice, int16_t swCommandId)
 
nai_1760_t naibrd_1760_BcMessageDecodeRaw (int16_t swDevice, uint16_t *wapBuffer, naiDecodedMessageStructure *dmspDecodedMessage)
 
nai_1760_t naibrd_1760_BcMessageGetByIdDecoded (int16_t swDevice, int16_t swMessageId, naiDecodedMessageStructure *dmspDecodedMessage, uint16_t wIsPurgeRequired)
 
nai_1760_t naibrd_1760_BcConfigureMessageGapTimerEnable (int16_t swDevice, uint16_t bIsMessageGapTimeFieldEnabled)
 
nai_1760_t naibrd_1760_BcSetGpfState (int16_t swDevice, uint16_t wGpfNumber, uint16_t wEffect)
 
nai_1760_t naibrd_1760_BcGetConditionState (int16_t swDevice, uint16_t wConditionCode, uint16_t *wpCurrentState)
 
nai_1760_t naibrd_1760_BcDataBlockCreate (int16_t swDevice, int16_t swDataBlockId, uint16_t wDataBlockSize, uint16_t *wapBuffer, uint16_t wBufferSize)
 
nai_1760_t naibrd_1760_BcDataBlockDelete (int16_t swDevice, int16_t swDataBlockId)
 
nai_1760_t naibrd_1760_BcMessageCreateBcToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_BcMessageDelete (int16_t swDevice, int16_t swMessageId)
 
nai_1760_t naibrd_1760_BcMessageCreateRtToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_BcMessageCreateBroadcastMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_BcMessageCreateRtToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_BcMessageCreateBcToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_BcMessageCreate (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockIdForMessage1, uint16_t wBcControlWordForMessage1, uint16_t wCommandWord1ForMessage1, uint16_t wCommandWord2ForMessage1, uint16_t wGapTimeForMessage1, int16_t swDataBlockIdForMessage2, uint16_t wBcControlWordForMessage2, uint16_t wCommandWord1ForMessage2, uint16_t wCommandWord2ForMessage2, uint16_t wGapTimeForMessage2, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_BcMessageModify (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockIdForMessage1, uint16_t wBcControlWordForMessage1, uint16_t wCommandWord1ForMessage1, uint16_t wCommandWord2ForMessage1, uint16_t wGapTimeForMessage1, int16_t swDataBlockIdForMessage2, uint16_t wBcControlWordForMessage2, uint16_t wCommandWord1ForMessage2, uint16_t wCommandWord2ForMessage2, uint16_t wGapTimeForMessage2, uint16_t wModificationFlags)
 
nai_1760_t naibrd_1760_BcMessageModifyBcToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 
nai_1760_t naibrd_1760_BcMessageModifyRtToBc (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 
nai_1760_t naibrd_1760_BcMessageModifyRtToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 
nai_1760_t naibrd_1760_BcMessageModifyMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wRt, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 
nai_1760_t naibrd_1760_BcMessageModifyBcToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 
nai_1760_t naibrd_1760_BcMessageModifyRtToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 
nai_1760_t naibrd_1760_BcMessageModifyBroadcastMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 
nai_1760_t naibrd_1760_BcFrameCreate (int16_t swDevice, int16_t swFrameId, uint16_t wFrameType, int16_t *swapCommandIds, uint16_t wCommandCount, uint16_t wFrameTime, uint16_t wFlags)
 
nai_1760_t naibrd_1760_BcFrameDelete (int16_t swDevice, int16_t swFrameId)
 
nai_1760_t naibrd_1760_BcMessageCreateRtToBc (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_BcMessageCreateMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wRt, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_BcGetMessageByIdRaw (int16_t swDevice, int16_t swMessageId, uint16_t *wapBuffer, uint16_t wIsPurgeRequired)
 
nai_1760_t naibrd_1760_BcStop (int16_t swDevice)
 
nai_1760_t naibrd_1760_BcCommandGetWord (uint16_t wHardwareOpcode, uint16_t wCondition, uint16_t *wpCommandOpcode)
 
nai_1760_t naibrd_1760_BcSetMessageRetryPolicy (int16_t swDevice, uint16_t wNumberOfRetries, uint16_t wFirstRetryBus, uint16_t wSecondRetryBus, uint16_t wReserved)
 
nai_1760_t naibrd_1760_BcGpqRead (int16_t swDevice, naiGpqEntryStructure *gespGpqEntry)
 
nai_1760_t naibrd_1760_BcGpqGetEntriesCount (int16_t swDevice)
 
nai_1760_t naibrd_1760_BcGpqGetOperationalStatistics (int16_t swDevice, naiGpqOperationalStatisticsStructure *gosspGpqOperationalStatistics, uint16_t bIsResetOfHighestRecordedPercentageRequired)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageCreateBcToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageCreateRtToBc (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageCreateRtToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageCreateMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wRt, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageCreateBcToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageCreateRtToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageCreateBroadcastMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageSendAtLowPriority_ExecuteOnce (int16_t swDevice, uint16_t *wpRemainingMessageCount, uint16_t wTimeFactor)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageSendAtLowPriority (int16_t swDevice, uint16_t *wpRemainingMessageCount, uint16_t wTimeFactor)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageSendAtHighPriority_ExecuteOnce (int16_t swDevice, uint16_t wMessageId, uint16_t wTimeFactor)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageSendAtHighPriority (int16_t swDevice, uint16_t wMessageId, uint16_t wTimeFactor)
 
nai_1760_t naibrd_1760_BcAsynchronousMessageRemainingCount (int16_t swDevice)
 
nai_1760_t naibrd_1760_RT_SetAddress (int16_t swDevice, uint8_t address)
 
nai_1760_t naibrd_1760_RT_GetAddress (int16_t swDevice, uint8_t *outaddress)
 
nai_1760_t naibrd_1760_RtInitialize (int16_t swDevice, uint16_t wCommandStackSize, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_RtGetAddressSource (int16_t swDevice, uint16_t *wpRtAddressSource)
 
nai_1760_t naibrd_1760_RtAddressRelatch (int16_t swDevice)
 
nai_1760_t naibrd_1760_RtSetAddress (int16_t swDevice, uint16_t wRtAddress)
 
nai_1760_t naibrd_1760_RtGetAddress (int16_t swDevice, uint16_t *wpRtAddress)
 
nai_1760_t naibrd_1760_RtStart (int16_t swDevice)
 
nai_1760_t naibrd_1760_RtStop (int16_t swDevice)
 
nai_1760_t naibrd_1760_RtDataBlockGetSize (uint16_t wDataBlockType, uint16_t *wpSizeOfAllocatedDeviceMemory, uint16_t *wpActualSizeOfDataBlock)
 
nai_1760_t naibrd_1760_RtDataBlockCreate (int16_t swDevice, int16_t swDataBlockId, uint16_t wDataBlockType, uint16_t *wapBuffer, uint16_t wBufferSize)
 
nai_1760_t naibrd_1760_RtDataBlockGetAddress (int16_t swDevice, int16_t swDataBlockId, uint16_t *wpDeviceMemoryAddress)
 
nai_1760_t naibrd_1760_RtDataBlockDelete (int16_t swDevice, int16_t swDataBlockId)
 
nai_1760_t naibrd_1760_RtDataBlockWrite (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 
nai_1760_t naibrd_1760_RtDataBlockRead (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 
nai_1760_t naibrd_1760_RtDataBlockMapToSubaddress (int16_t swDevice, int16_t swDataBlockId, uint16_t wSubaddress, uint16_t wMessageTypes, uint16_t wIrqOptions, uint16_t bIsSubaddressLegalizationRequested)
 
nai_1760_t naibrd_1760_RtDataBlockUnmapFromSubaddress (int16_t swDevice, int16_t swDataBlockId, uint16_t wSubaddress, uint16_t wMessageTypes)
 
nai_1760_t naibrd_1760_RtTxDataBlockSwap (int16_t swDevice, int16_t swDataBlockId, uint16_t wSubaddress)
 
nai_1760_t naibrd_1760_RtModeCodeIrqEnable (int16_t swDevice, uint16_t wModeCodeType, uint16_t wModeCodeIrq)
 
nai_1760_t naibrd_1760_RtModeCodeIrqDisable (int16_t swDevice, uint16_t wModeCodeType, uint16_t wModeCodeIrq)
 
nai_1760_t naibrd_1760_RtModeCodeGetIrqStatus (int16_t swDevice, uint16_t wModeCodeType, uint16_t *wpModeCodeIrq)
 
nai_1760_t naibrd_1760_RtModeCodeReadData (int16_t swDevice, uint16_t wDataContainingModeCode, uint16_t *wpData)
 
nai_1760_t naibrd_1760_RtModeCodeWriteData (int16_t swDevice, uint16_t wDataContainingModeCode, uint16_t wData)
 
nai_1760_t naibrd_1760_RtMessageLegalityEnable (int16_t swDevice, uint16_t wOwnAddressOrBroadcast, uint16_t wMessageDirection, uint16_t wSubaddress, uint32_t dwWordCountOrModeCodeMask)
 
nai_1760_t naibrd_1760_RtMessageLegalityDisable (int16_t swDevice, uint16_t wOwnAddressOrBroadcast, uint16_t wMessageDirection, uint16_t wSubaddress, uint32_t dwWordCountOrModeCodeMask)
 
nai_1760_t naibrd_1760_RtMessageLegalityGetStatus (int16_t swDevice, uint16_t wOwnAddressOrBroadcast, uint16_t wMessageDirection, uint16_t wSubaddress, uint32_t *dwpMessageLegality)
 
nai_1760_t naibrd_1760_RtResponseStatusBitsSet (int16_t swDevice, uint16_t wStatusEnablerMask)
 
nai_1760_t naibrd_1760_RtResponseStatusBitsUnset (int16_t swDevice, uint16_t wStatusEnablerMask)
 
nai_1760_t naibrd_1760_RtResponseStatusBitsGet (int16_t swDevice, uint16_t *wpStatusEnablerMask)
 
nai_1760_t naibrd_1760_RtMessageGetFromStackRaw (int16_t swDevice, uint16_t *wapBuffer, uint16_t wBufferSize)
 
nai_1760_t naibrd_1760_RtMessageGetFromStackDecoded (int16_t swDevice, naiDecodedMessageStructure *dmspDecodedMessage, uint16_t wMessageLocationAndRemoval)
 
nai_1760_t naibrd_1760_RtBITWordConfigure (int16_t swDevice, uint16_t wWordLocation)
 
nai_1760_t naibrd_1760_RtBITWordRead (int16_t swDevice, uint16_t wWordLocation, uint16_t *wpWord)
 
nai_1760_t naibrd_1760_RtBITWordWrite (int16_t swDevice, uint16_t wWord)
 
nai_1760_t naibrd_1760_SetIrqConfig (int16_t swDevice, uint16_t wInterruptMode)
 
nai_1760_t naibrd_1760_SetInterruptSteering (int16_t swDevice, naibrd_int_steering_t steering)
 
nai_1553_t naibrd_1760_SetIntVector (int16_t swDevice, int32_t intvector)
 
nai_1760_t naibrd_1760_MtInitialize (int16_t swDevice, uint16_t wStackMode, uint16_t wCommandStackSize, uint16_t wDataStackSize, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_MtStackGetOperationalStatistics (int16_t swDevice, naiStackOperationalStatisticsStruct *sosspStackOperationalStatistics, uint16_t wStackSelector, uint16_t bIsResetOfHighestRecordedPercentageRequired)
 
nai_1760_t naibrd_1760_MtStackSwap (int16_t swDevice)
 
nai_1760_t naibrd_1760_MtStart (int16_t swDevice)
 
nai_1760_t naibrd_1760_MtStop (int16_t swDevice)
 
nai_1760_t naibrd_1760_MtMessageDecodeRaw (int16_t swDevice, uint16_t *wapBuffer, naiDecodedMessageStructure *dmspDecodedMessage)
 
nai_1760_t naibrd_1760_MtMessageGetFromStackRaw (int16_t swDevice, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wStackSelector)
 
nai_1760_t naibrd_1760_MtMessageGetFromStackDecoded (int16_t swDevice, naiDecodedMessageStructure *dmspDecodedMessage, uint16_t wMessageLocationAndRemoval, uint16_t wStackSelector)
 
nai_1760_t naibrd_1760_MtMessageMonitoringEnable (int16_t swDevice, uint16_t wRtAddress, uint16_t wMessageDirection, uint32_t dwRtSubaddressMask)
 
nai_1760_t naibrd_1760_MtMessageMonitoringDisable (int16_t swDevice, uint16_t wRtAddress, uint16_t wMessageDirection, uint32_t dwRtSubaddressMask)
 
nai_1760_t naibrd_1760_MtMessageMonitoringGetStatus (int16_t swDevice, uint16_t wRtAddress, uint16_t wMessageDirection, uint32_t *dwpRtSubaddressMask)
 
nai_1760_t naibrd_1760_MtGetInformation (int16_t swDevice, naiMtInformationStruct *mispMtInformation)
 
nai_1760_t naibrd_1760_MtPause (int16_t swDevice)
 
nai_1760_t naibrd_1760_MtContinue (int16_t swDevice)
 
nai_1760_t naibrd_1760_RtMtInitialize (int16_t swDevice, uint16_t wRtCommandStackSize, uint16_t wMtStackMode, uint16_t wMtCommandStackSize, uint16_t wMtDataStackSize, uint32_t dwOptions)
 
nai_1760_t naibrd_1760_RtMtStart (int16_t swDevice)
 
nai_1760_t naibrd_1760_RtMtStop (int16_t swDevice)
 
nai_1760_t naibrd_1760_InternalLoopback (int32_t cardIndex, int32_t module, int32_t channel, bool_t *busAPassed, bool_t *busBPassed)
 
NAIBRDFUNC int32_t NAIAPI naibrd_1553_GetChannelCount (uint32_t modid)
 Returns the number of channels for the specified 1553 Module ID.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_Open (int32_t cardIndex, int32_t module, int32_t channel, int16_t swDevice)
 Opens one 1553 unit (a "device" in DDC API). This function must be called to associate the swDevice with the card, module, and channel mapping before any core functions are called.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_Close (int16_t swDevice)
 Closes one 1553 unit (a "device" in DDC API).
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_Initialize (int16_t swDevice, uint16_t wAccess, uint16_t wMode, uint32_t dwSizeOfAllocatedMemory, uint32_t dwRegistersAddress, uint32_t dwMemoryAddress)
 Initializes hardware resources such as memory and register space for a particular mode of operation.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_Free (int16_t swDevice)
 Frees all resources used by the hardware based on the type of access used.
 
NAIBRDFUNC uint16_t NAIAPI naibrd_1553_ReadReg (int16_t swDevice, uint32_t wRegisterAddress)
 Reads a register on the device at the specified memory location.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_WriteReg (int16_t swDevice, uint32_t wRegisterAddress, uint16_t wRegisterValue)
 Writes to the specified register location.
 
NAIBRDFUNC uint16_t NAIAPI naibrd_1553_ReadAuxReg (int16_t swDevice, uint32_t wAuxRegisterAddress)
 Reads an Auxiliary register on the device at the specified memory location.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_WriteAuxReg (int16_t swDevice, uint32_t wAuxRegisterAddress, uint16_t wAuxRegisterValue)
 Writes to the specified auxiliary register location.
 
NAIBRDFUNC uint32_t NAIAPI naibrd_1553_ReadIntReg (int16_t swDevice, uint32_t wIntRegisterAddress)
 Reads an Interrupt register on the device at the specified memory location.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_WriteIntReg (int16_t swDevice, uint32_t wIntRegisterAddress, uint32_t wIntRegisterValue)
 Writes to the specified interrupt register location.
 
NAIBRDFUNC uint16_t NAIAPI naibrd_1553_ReadMem (int16_t swDevice, uint32_t wDeviceMemoryAddress)
 Reads a memory location.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_WriteMem (int16_t swDevice, uint32_t wDeviceMemoryAddress, uint16_t wDeviceMemoryValue)
 Writes to the specified memory location.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_ReadMemMultiple (int16_t swDevice, uint32_t wDeviceMemoryAddress, uint16_t wBufferSize, uint16_t *wapBuffer)
 Reads from a block of core memory starting from the specified memory location. This function is only supported in the assisted module.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_WriteMemMultiple (int16_t swDevice, uint32_t wDeviceMemoryAddress, uint16_t wBufferSize, uint16_t *wapBuffer)
 Writes to a block of core memory starting from the specified memory location. This function is only supported in the assisted module.
 
NAIBRDFUNC char_t *NAIAPI naibrd_1553_GetBlockStatusWordErrorString (uint16_t wMode, uint16_t wBlockStatus)
 Build and return a string in which the designated errors are textually reported. If no error is designated, a null string is returned.
 
NAIBRDFUNC char_t *NAIAPI naibrd_1553_GetMessageTypeString (uint16_t wMessageType)
 Build and return a text string describing given message type.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetTimeTag (int16_t swDevice, uint16_t wTimeTag)
 Sets the value of the time tag register. NOTE: For FTJ/FTK modules, the device must be initialized as BC, RT or MT prior to calling this function. Otherwise, an error is returned.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetTimeTag (int16_t swDevice, uint16_t *wpTimeTag)
 Gets the value of the time tag register. NOTE: For FTJ/FTK modules, the device must be initialized as BC, RT or MT prior to calling this function. Otherwise, an error is returned.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_ResetTimeTag (int16_t swDevice)
 Resets the value of the time tag register. NOTE: For FTJ/FTK modules, the device must be initialized as BC, RT or MT prior to calling this function. Otherwise, an error is returned.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetTimeTagResolution (int16_t swDevice, uint16_t wTimeTagResolution)
 Sets the time tag resolution of the device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_ConfigureOperationalStatistics (int16_t swDevice, uint16_t bIsOperationalStatisticsCollected)
 Configure whether operational statistics shall be collected for given device. These operational statistics include GPQ fullness statistics. NOTE: This function is currently not supported for FTJ/FTK modules. Note: Collected operational statistics isn't reset in case operational statistics collection is turned on/off. Collected operational statistics simply aren't updated while collection is off.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetIrqConfig (int16_t swDevice, uint16_t wInterruptMode, uint16_t wAutoClear)
 Sets the type of interrupt signal to be generated by the device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetIrqManipulate (int16_t swDevice, uint16_t bIsInterruptEnabled, uint32_t dwIrqMask, void(*funcpExternalIsr)(void *param, uint32_t vector))
 Enables the interrupt conditions specified by the interrupt mask. NOTE: This function is not supported for FTJ/FTK modules. Please use naibrd_1760_SetIrqManipulate instead.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetInterruptSteering (int16_t swDevice, naibrd_int_steering_t steering)
 Sets the Interrupt Steering which indicates the interrupt direction for the 1553 device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetIntVector (int16_t swDevice, int32_t intvector)
 Set the interrupt vector for 1553 device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetIntStatus (int16_t swDevice, uint16_t *status1, uint16_t *status2)
 Reads the interrupt status registers #1 and #2. NOTE: This function is not supported for FTJ/FTK modules. Please use naibrd_1760_GetIntStatus instead.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_ClearIntLatch (int16_t swDevice)
 Clears the interrupt latch register. When an interrupt is generated by the core, bit 0 of the latch register is set high. This must be cleared by writing a '1' to the bit in order to receive more interrupts.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetClockFrequency (int16_t swDevice, uint16_t wClockFrequency)
 Sets the hardware clock input frequency. This function has no effect in the FTx module. NOTE: This function is not supported in FTJ/FTK modules.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetResponseTimeout (int16_t swDevice, uint16_t wResponseTimeout)
 Sets the RT response timeout timer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_ConfigureWatchdogTimeout (int16_t swDevice, uint16_t bIsWatchdogEnabled, uint16_t wWatchdogTimeout)
 Configure the watchdog timeout for given device, that is, either enable and set it to given timeout, or disable it, as requested.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetDecoderConfig (int16_t swDevice, uint16_t wDecodedInput, uint16_t wExpendedXingOption)
 Configure the Manchester-II decoder. NOTE: This function is not supported in FTJ/FTK modules.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetRamParityCheck (int16_t swDevice, uint16_t wRamParityCheckEnabler)
 Enable or disable RAM parity checking. NOTE: This function is not supported in FTJ/FTK modules.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_InternalLoopback (int32_t cardIndex, int32_t module, int32_t channel, bool_t *busAPassed, bool_t *busBPassed)
 Execute internal loopback test. This may be useful for startup BIT to verify transceiver and other hardware capabilities. If this test is to be executed on a particular channel, this function should be called prior to naibrd_1553_Open().
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_CommandWordCreate (uint16_t *wpCommandWord, uint16_t wRtAddress, uint16_t wMessageDirection, uint16_t wSubaddressOrMode, uint16_t wWordCountOrModeCode)
 Create a 1553 command word using the given parameters.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_CommandWordParse (uint16_t wCommandWord, uint16_t *wpRtAddress, uint16_t *wpMessageDirection, uint16_t *wpSubaddressOrMode, uint16_t *wpWordCountOrModeCode)
 Parses the given 1553 command word and returns its individual parts.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetStatusString (nai_1553_t status, char_t *spErrorString, uint16_t wMaxStringLength)
 This function returns a string that describes the specified error code.
 
NAIBRDFUNC uint16_t NAIAPI naibrd_1553_GetLibVersion (void)
 Retrieves the naibrd library version information.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtInitialize (int16_t swDevice, uint16_t wCommandStackSize, uint32_t dwOptions)
 Configure a RT.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtSetAddressSource (int16_t swDevice, uint16_t wRtAddressSource)
 Set RT address source as either internal or external. This function is not supported for FTJ/FTK modules.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtGetAddressSource (int16_t swDevice, uint16_t *wpRtAddressSource)
 Gets RT address source (external or internal).
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtAddressRelatch (int16_t swDevice)
 If RT_ADR_LAT is set high in the Misc Bits Auxiliary register (0x2), this function re-latches the RT address based on the current state of the external RT address pins. Use this function to make the device re-read the external RT address pins to reset the RT address of the device. If RT_ADR_LAT is set high, changing the state of the external pins by itself will not change the RT address of the device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtSetAddress (int16_t swDevice, uint16_t wRtAddress)
 This function is used to set the RT address if the RT address source is set to Internal.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtGetAddress (int16_t swDevice, uint16_t *wpRtAddress)
 Retrieves the RT address.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtStart (int16_t swDevice)
 Starts the RT.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtStop (int16_t swDevice)
 Stops the RT.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtDataBlockGetSize (uint16_t wDataBlockType, uint16_t *wpSizeOfAllocatedDeviceMemory, uint16_t *wpActualSizeOfDataBlock)
 Gets the size of a data block type.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtDataBlockCreate (int16_t swDevice, int16_t swDataBlockId, uint16_t wDataBlockType, uint16_t *wapBuffer, uint16_t wBufferSize)
 Creates a RT data block to be used.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtDataBlockGetAddress (int16_t swDevice, int16_t swDataBlockId, uint16_t *wpDeviceMemoryAddress)
 Gets the memory address of the specified RT data block.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtDataBlockDelete (int16_t swDevice, int16_t swDataBlockId)
 Deletes a data block represented by the given block id.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtDataBlockWrite (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 Writes data to a data block.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtDataBlockRead (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 Reads data from a data block.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtDataBlockMapToSubaddress (int16_t swDevice, int16_t swDataBlockId, uint16_t wSubaddress, uint16_t wMessageTypes, uint16_t wIrqOptions, uint16_t bIsSubaddressLegalizationRequested)
 Maps a data block to a subaddress.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtDataBlockUnmapFromSubaddress (int16_t swDevice, int16_t swDataBlockId, uint16_t wSubaddress, uint16_t wMessageTypes)
 Unmaps a data block from a subaddress.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtTxDataBlockSwap (int16_t swDevice, int16_t swDataBlockId, uint16_t wSubaddress)
 This function swaps the data block that is currently mapped to a given Tx subaddress with the data block given by swDataBlockId. This function is especially useful for multiple buffering of Tx messages for a RT to BC or RT to RT commands.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtModeCodeIrqEnable (int16_t swDevice, uint16_t wModeCodeType, uint16_t wModeCodeIrq)
 Enable interrupt on a received mode code.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtModeCodeIrqDisable (int16_t swDevice, uint16_t wModeCodeType, uint16_t wModeCodeIrq)
 Disable interrupts on one or more mode codes.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtModeCodeGetIrqStatus (int16_t swDevice, uint16_t wModeCodeType, uint16_t *wpModeCodeIrq)
 Gets the status of which mode codes will generate interrupts.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtModeCodeReadData (int16_t swDevice, uint16_t wDataContainingModeCode, uint16_t *wpData)
 Reads data from the Mode Code Data Locations Table.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtModeCodeWriteData (int16_t swDevice, uint16_t wDataContainingModeCode, uint16_t wData)
 Writes data to the Mode Code Data Locations Table.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtMessageLegalityEnable (int16_t swDevice, uint16_t wOwnAddressOrBroadcast, uint16_t wMessageDirection, uint16_t wSubaddress, uint32_t dwWordCountOrModeCodeMask)
 Legalize messages for a subaddress with a given set of criteria.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtMessageLegalityDisable (int16_t swDevice, uint16_t wOwnAddressOrBroadcast, uint16_t wMessageDirection, uint16_t wSubaddress, uint32_t dwWordCountOrModeCodeMask)
 Illegalize messages for a subaddress with a given set of criteria.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtMessageLegalityGetStatus (int16_t swDevice, uint16_t wOwnAddressOrBroadcast, uint16_t wMessageDirection, uint16_t wSubaddress, uint32_t *dwpMessageLegality)
 Gets the legalization status of a subaddress.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtResponseStatusBitsSet (int16_t swDevice, uint16_t wStatusEnablerMask)
 Sets the status enable bits to configure RT status responses.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtResponseStatusBitsUnset (int16_t swDevice, uint16_t wStatusEnablerMask)
 Deactivates the status enable bits for RT status responses.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtResponseStatusBitsGet (int16_t swDevice, uint16_t *wpStatusEnablerMask)
 Gets the status enable bits for RT status responses.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtMessageGetFromStackRaw (int16_t swDevice, uint16_t *wapBuffer, uint16_t wBufferSize)
 Reads raw messages off of the RT command stack. Each message read is NAI_1553_MAX_MESSAGE_SIZE_RT words long (4 words stack entry, 32 words data) regardless of the data word count. Messages will be read until the internal pointer value is equal to the current command stack pointer value, or until the words read surpass wBufferSize. The data stack pointer (3rd word in message) is replaced with a word such that the MSByte contains the count of data words for the read message and the LSByte contains the type of message that was read.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtMessageGetFromStackDecoded (int16_t swDevice, naiDecodedMessageStructure *dmspDecodedMessage, uint16_t wMessageLocationAndRemoval)
 Gets a message from the RT Command Stack and decodes it into a message structure.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtMessageDecodeRaw (int16_t swDevice, uint16_t *wapBuffer, naiDecodedMessageStructure *dmspDecodedMessage)
 Decodes a raw message into a message structure.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtBITWordConfigure (int16_t swDevice, uint16_t wWordLocation, uint16_t wPermitOrInhibitIfRtBusy)
 Configure the way in which the Built in Test word is read and written and inhibit/permit the Built in Test if the RT is busy.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtBITWordRead (int16_t swDevice, uint16_t wWordLocation, uint16_t *wpWord)
 Read the current Built in Test word from the given location.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtBITWordWrite (int16_t swDevice, uint16_t wWord)
 Write the given Built in Test word if the current BIT word location is in the memory.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtHbuffInstall (int16_t swDevice, uint32_t dwHostBufferSize)
 Install given RT device's host buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtHbuffUnInstall (int16_t swDevice)
 Free given RT device's host buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtStkToHbuf32 (int16_t swDevice)
 Record the newly received messages from the command stack of given RT device into its host buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtGetHBufMsgDecoded (int16_t swDevice, naiDecodedMessageStructure *dmspDecodedMessage, uint32_t *dwpMessageCount, uint32_t *dwpStackLostMessageCount, uint32_t *dwpHostBufferLostMessageCount, uint16_t wMessageLocationAndRemoval)
 Read from the host buffer of given RT device the message at given location, decode it into given structure, and purge it if so required. Also get the number of retrieved messages (actually only 0 or 1), the host buffer's current number of lost messages, and the current number of lost messages for given RT device's RT stack.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RTGetHBufMsgCount (int16_t swDevice)
 Get the number of messages that are currently available in the host buffer that is assigned with given RT device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcConfig (int16_t swDevice, uint32_t dwOptions)
 Initialize the device as a bus controller (BC) with the given initialization options.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcSetMessageRetryPolicy (int16_t swDevice, uint16_t wNumberOfRetries, uint16_t wFirstRetryBus, uint16_t wSecondRetryBus, uint16_t wReserved)
 Configure the message retry policy of given BC device to given number of retries and given first and second chance bus to retry the message with.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcStart (int16_t swDevice, int16_t swFrameId, int32_t sdwFrameCount)
 Start the Bus Controller (BC).
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcStop (int16_t swDevice)
 Stop the Bus Controller (BC).
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcCommandGetWord (uint16_t wHardwareOpcode, uint16_t wCondition, uint16_t *wpCommandOpcode)
 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.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcGetActivationState (int16_t swDevice, uint16_t *wpCurrentState)
 Get the activation state, idle or busy, of given BC device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcDataBlockCreate (int16_t swDevice, int16_t swDataBlockId, uint16_t wDataBlockSize, uint16_t *wapBuffer, uint16_t wBufferSize)
 Create a BC data block with a unique identifier given by the swDataBlockId input parameter. This data block can be used by a BC message and can be 1-32 words long, single or double buffered.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcDataBlockDelete (int16_t swDevice, int16_t swDataBlockId)
 Delete the data block associated with the swDataBlockId identifier.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcDataBlockWrite (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 Write to a BC data block.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcDataBlockRead (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 Read a BC data block.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcFrameCreate (int16_t swDevice, int16_t swFrameId, uint16_t wFrameType, int16_t *swapCommandIds, uint16_t wCommandCount, uint16_t wFrameTime, uint16_t wFlags)
 Create a BC frame from an array of opcode IDs input by the user.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcFrameDelete (int16_t swDevice, int16_t swFrameId)
 Delete a BC frame.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcCommandCreate (int16_t swDevice, int16_t swCommandId, uint16_t wOpcode, uint16_t wCondition, uint32_t dwParameter1, uint32_t dwParameter2, uint32_t dwReserved)
 Create an opcode command for use in the creation of a frame.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcCommandDelete (int16_t swDevice, int16_t swCommandId)
 Delete an opcode command.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageCreateBcToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions)
 Create a BC to RT message.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageCreateRtToBc (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions)
 Create a RT to BC message.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageCreateRtToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions)
 Create a RT to RT message.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageCreateMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wRt, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions)
 Create a Mode message.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageCreateBcToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions)
 Create a BC to Broadcast message.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageCreateRtToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions)
 Create a RT to Broadcast message.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageCreateBroadcastMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions)
 Create a Broadcast Mode message.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageCreate (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockIdForMessage1, uint16_t wBcControlWordForMessage1, uint16_t wCommandWord1ForMessage1, uint16_t wCommandWord2ForMessage1, uint16_t wGapTimeForMessage1, int16_t swDataBlockIdForMessage2, uint16_t wBcControlWordForMessage2, uint16_t wCommandWord1ForMessage2, uint16_t wCommandWord2ForMessage2, uint16_t wGapTimeForMessage2, uint32_t dwOptions)
 Create a single or dual BC message.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageModifyBcToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 Modify a BC to RT message that was previously created.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageModifyRtToBc (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 Modify a RT to BC message that was previously created.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageModifyRtToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 Modify a RT to RT message that was previously created.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageModifyMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wRt, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 Modify a Mode message that was previously created.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageModifyBcToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 Modify a BC to Broadcast message that was previously created.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageModifyRtToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 Modify a RT to Broadcast message that was previously created.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageModifyBroadcastMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions, uint16_t wModificationFlags)
 Modify a Broadcast Mode message that was previously created.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageModify (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockIdForMessage1, uint16_t wBcControlWordForMessage1, uint16_t wCommandWord1ForMessage1, uint16_t wCommandWord2ForMessage1, uint16_t wGapTimeForMessage1, int16_t swDataBlockIdForMessage2, uint16_t wBcControlWordForMessage2, uint16_t wCommandWord1ForMessage2, uint16_t wCommandWord2ForMessage2, uint16_t wGapTimeForMessage2, uint16_t wModificationFlags)
 Modify a single or dual BC message that was previously created.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageDelete (int16_t swDevice, int16_t swMessageId)
 Delete a BC message.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcGetMessageByIdRaw (int16_t swDevice, int16_t swMessageId, uint16_t *wapBuffer, uint16_t wIsPurgeRequired)
 Reads a BC message (specified by the message ID) into a user supplied buffer in raw format.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageDecodeRaw (int16_t swDevice, uint16_t *wapBuffer, naiDecodedMessageStructure *dmspDecodedMessage)
 Decode a BC message in raw format into a decoded message structure.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcMessageGetByIdDecoded (int16_t swDevice, int16_t swMessageId, naiDecodedMessageStructure *dmspDecodedMessage, uint16_t wIsPurgeRequired)
 Read either the next unread message or the latest message received on the stack based on the message ID.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcConfigureMessageGapTimerEnable (int16_t swDevice, uint16_t bIsMessageGapTimeFieldEnabled)
 Enable or disable the message gap time field for all messages.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcSetGpfState (int16_t swDevice, uint16_t wGpfNumber, uint16_t wEffect)
 Modify a General Purpose Flag (GPF). These flags allow the host to intervene and manipulate certain BC instructions (by way of conditional opcodes) while the BC is running. Using this function, the host can write to the GPF register to set, clear or toggle the flags.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcGetConditionState (int16_t swDevice, uint16_t wConditionCode, uint16_t *wpCurrentState)
 Read the BC Condition Code register to get the current condition.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcGpqRead (int16_t swDevice, naiGpqEntryStructure *gespGpqEntry)
 Read the next unread entry off of the General Purpose Queue (GPQ). The GPQ is used by the BC to convey data (time tag, block status, parameter value or data at memory address) to the host. To push data to the GPQ, use opcodes PTT, PBS, PSI or PSM. Data should be pushed to the GPQ in pairs, where the first value, the header, is pushed with PSI then the second value is pushed with any of the four aforementioned opcodes.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcGpqGetEntriesCount (int16_t swDevice)
 Return the number of entries in the General Purpose Queue.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcGpqGetOperationalStatistics (int16_t swDevice, naiGpqOperationalStatisticsStructure *gosspGpqOperationalStatistics, uint16_t bIsResetOfHighestRecordedPercentageRequired)
 Get operational statistics for the General Purpose Queue.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageCreateBcToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 Create an asynchronous BC to RT message. Note: This function creates a new data block of given ID and fills it with the contents of the given buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageCreateRtToBc (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 Create an asynchronous RT to BC message. Note: This function creates a new data block of given ID and fills it with the contents of the given buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageCreateRtToRt (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRt, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 Create an asynchronous RT to RT message. Note: This function creates a new data block of given ID and fills it with the contents of the given buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageCreateMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wRt, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 Create an asynchronous Mode message. Note: This function creates a new data block of given ID and fills it with the contents of the given buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageCreateBcToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 Create an asynchronous BC to Broadcast message. Note: This function creates a new data block of given ID and fills it with the contents of the given buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageCreateRtToBroadcast (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wReceiverRtSubaddress, uint16_t wWordCount, uint16_t wTransmitterRt, uint16_t wTransmitterRtSubaddress, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 Create an asynchronous RT to Broadcast message. Note: This function creates a new data block of given ID and fills it with the contents of the given buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageCreateBroadcastMode (int16_t swDevice, int16_t swMessageId, int16_t swDataBlockId, uint16_t wMessageDirection, uint16_t wModeCommand, uint16_t wGapTime, uint32_t dwOptions, uint16_t *wapBuffer)
 Create an asynchronous Broadcast Mode message. Note: This function creates a new data block of given ID and fills it with the contents of the given buffer.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageRemainingCount (int16_t swDevice)
 Returns the current number of asynchronous messages remaining in the low priority queue.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageSendOneAtLowPriority (int16_t swDevice, uint16_t wMessageId)
 This function is used to send a single low priority Asynchronous message. This is in contrast to naibrd_1553_BcAsynchronousMessageSendAtLowPriority* functions, which places all asynchronous messages on a low priority queue. Additionally, this function call does not block (no delays). If this function gets called again before the previous async message was sent, it will return an error. The user should specify the message ID of the asynchronous message to send. This function utilizes GPF-5 so the user should not use GPF-5 for any other purpose if this function is being called in the user application. This function is currently not supported in FTJ/FTK modules. This function is not a DDC compatible function.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageSendAtLowPriority_ExecuteOnce (int16_t swDevice, uint16_t *wpRemainingMessageCount, uint16_t wTimeFactor)
 NOTE: This function is an alternative to naibrd_1553_BcAsynchronousMessageSendAtLowPriority. Send asynchronous messages in the low priority queue. The order of message transmission is determined by the message ID (lowest ID first). The difference between this and naibrd_1553_BcAsynchronousMessageSendAtLowPriority is in the handling of async messages that return errors. If either function is called once while the BC is running and a transmitted async message returns an error (e.g. no response error), the message will continue to send on every iteration of the minor frame. However, this function can be called over and over and each time, it will regenerate the async frame only from messages that were not yet sent. In this way, async messages that were already transmitted, regardless of whether or not it returned an error, will stop sending and will need to be deleted and recreated in order to be sent again. The naibrd_1553_BcAsynchronousMessageSendAtLowPriority function does not possess this capability and will keep async messages with errors in the async queue to be sent over and over again no matter how many times the function is called. This function provides a level of software control to handle low priority async messages that are not communicated successfully. To use this function, the BC must be configured for low priority async mode using the naibrd_1553_BcConfig function. Please refer to the M1553_BC_SendMessage_Async sample C code for an example that utilizes this function effectively.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageSendAtLowPriority (int16_t swDevice, uint16_t *wpRemainingMessageCount, uint16_t wTimeFactor)
 NOTE: It is recommended to use naibrd_1553_BcAsynchronousMessageSendAtLowPriority_ExecuteOnce to send low priority messages (read its function description for more information). Send asynchronous messages on the low priority queue. The order of message transmission is determined by the message ID (lowest ID first). Once an asynchronous message is defined, it may be transmitted at high priority again and again as many times as the user requires, but it won't be transmitted more than once at low priority. Moreover, if an asynchronous message has already been transmitted at high priority, it won't be retransmitted at low priority even once. In order to force its retransmission in such a case, the message must be deleted and recreated. To use this function, the BC must be configured for low priority async mode using the naibrd_1553_BcConfig function.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageSendAtHighPriority_ExecuteOnce (int16_t swDevice, uint16_t wMessageId, uint16_t wTimeFactor)
 NOTE: This function is an alternative to naibrd_1553_BcAsynchronousMessageSendAtHighPriority. Send an asynchronous message with high priority. Once an asynchronous message is defined, it may be transmitted at high priority again and again as many times as the user requires, but it won't be transmitted more than once at low priority. Moreover, if an asynchronous message has already been transmitted at high priority, it won't be retransmitted at low priority even once. In order to force its retransmission in such a case, the message must be deleted and recreated. The async message will be transmitted only once per call to this function, even if it returns an error (e.g. no response error). This contrasts with naibrd_1553_BcAsynchronousMessageSendAtHighPriority, which forcibly re-sends the message if it returns an error. For this reason, this function is recommended over naibrd_1553_BcAsynchronousMessageSendAtHighPriority. To use this function, the BC must be configured for high priority async mode using the naibrd_1553_BcConfig function by OR'ing together NAI_1553_BC_ASYNCHRONOUS_HIGH_PRIORITY_MODE with NAI_1553_BC_ASYNCHRONOUS_HIGH_PRIORITY_ONCE_ANYWAY and passing it in as the dwOptions parameter. Please refer to the M1553_BC_SendMessage_Async sample C code for an example that utilizes this function effectively.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_BcAsynchronousMessageSendAtHighPriority (int16_t swDevice, uint16_t wMessageId, uint16_t wTimeFactor)
 NOTE: It is recommended to use naibrd_1553_BcAsynchronousMessageSendAtHighPriority_ExecuteOnce to send high priority messages (read its function description for more information). Send an asynchronous message with high priority. Once an asynchronous message is defined, it may be transmitted at high priority again and again as many times as the user requires, but it won't be transmitted more than once at low priority. Moreover, if an asynchronous message has already been transmitted at high priority, it won't be retransmitted at low priority even once. In order to force its retransmission in such a case, the message must be deleted and recreated. To use this function, the BC must be configured for high priority async mode using the naibrd_1553_BcConfig function.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtInitialize (int16_t swDevice, uint16_t wStackMode, uint16_t wCommandStackSize, uint16_t wDataStackSize, uint32_t dwOptions)
 Initialize the 1553 device as a bus monitor (MT) with the given configuration options.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtStackGetOperationalStatistics (int16_t swDevice, naiStackOperationalStatisticsStruct *sosspStackOperationalStatistics, uint16_t wStackSelector, uint16_t bIsResetOfHighestRecordedPercentageRequired)
 Return performance information about the command stack of the MT.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtStackSwap (int16_t swDevice)
 Swap between the active and inactive stacks of given MT device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtGetInformation (int16_t swDevice, naiMtInformationStruct *mispMtInformation)
 Return information about the configuration of given MT device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtStart (int16_t swDevice)
 Start MT device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtStop (int16_t swDevice)
 Stop MT device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtPause (int16_t swDevice)
 Temporarily pause MT device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtContinue (int16_t swDevice)
 Resume MT device after a temporary pause. The message capturing activity will continue from the same internal state that it was in at the moment of pausing.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtMessageMonitoringEnable (int16_t swDevice, uint16_t wRtAddress, uint16_t wMessageDirection, uint32_t dwRtSubaddressMask)
 Configure the 1553 MT to selectively monitor commands specified by the RT address, message direction and subaddress mask.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtMessageMonitoringDisable (int16_t swDevice, uint16_t wRtAddress, uint16_t wMessageDirection, uint32_t dwRtSubaddressMask)
 Configure the 1553 MT to avoid monitoring commands specified by the RT address, message direction and subaddress mask.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtMessageMonitoringGetStatus (int16_t swDevice, uint16_t wRtAddress, uint16_t wMessageDirection, uint32_t *dwpRtSubaddressMask)
 Get the current subaddress mask for a given RT address and message direction.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtMessageDecodeRaw (int16_t swDevice, uint16_t *wapBuffer, naiDecodedMessageStructure *dmspDecodedMessage)
 Decode the raw MT message into the given structure.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtMessageGetFromStackRaw (int16_t swDevice, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wStackSelector)
 Reads raw messages off of the MT command stack. Each message read is NAI_1553_MAX_MESSAGE_SIZE_MT words long regardless of the data word count. The target MT stack entry is copied into the given buffer. The data stack pointer is replaced with a word in which the LSByte contains the type of message that was read (NAI_1553_MESSAGE_*), the MSBit (bit 7) of the MSByte is set if an error has been discovered in the data words, and bits 0-6 of the MSByte contain the count of data words in the message. The data words are stored right after the stack entry, which is at offset NAI_1553_MEMORY_OBJECT_SIZE_COMMAND_STACK_ENTRY_MT. For a mode code message with data, the data word is returned as the first (and only) data word.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_MtMessageGetFromStackDecoded (int16_t swDevice, naiDecodedMessageStructure *dmspDecodedMessage, uint16_t wMessageLocationAndRemoval, uint16_t wStackSelector)
 Read from given stack of given MT device the message at given location, decode it into given structure, and purge it if so required.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtMtInitialize (int16_t swDevice, uint16_t wRtCommandStackSize, uint16_t wMtStackMode, uint16_t wMtCommandStackSize, uint16_t wMtDataStackSize, uint32_t dwOptions)
 Initialize the 1553 device as a Remote Terminal and Bus Monitor (RT-MT) with the given configuration options.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtMtStart (int16_t swDevice)
 Start RT-MT device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_RtMtStop (int16_t swDevice)
 Stop RT-MT device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetMsgFIFOCount (int16_t swDevice, uint32_t *p_outcount)
 Retrieve the count of 32-bit words currently loaded into the 1553 Message FIFO for the specified device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetMsgFIFOFullStatus (int16_t swDevice, nai_1553_status_type_t type, bool_t *p_outstatusBit)
 Retrieves Full or Not Full status of the 1553 Message FIFO on the specified device.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetMsgFIFOAlmostFullStatus (int16_t swDevice, nai_1553_status_type_t type, bool_t *p_outstatusBit)
 Retrieves the "Almost Full" status of the 1553 Message FIFO on the specified device. The "Almost Full" threshold is user defined and can be set with naibrd_1553_SetMsgFIFOAlmostFullThreshold() function.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetMsgFIFORxAvailStatus (int16_t swDevice, nai_1553_status_type_t type, bool_t *p_outstatusBit)
 Retrieves the "Rx Available" status of the 1553 Message FIFO on the specified device. If this status is set, it indicates one or more messages are present in the Message FIFO.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetMsgFIFOEmptyStatus (int16_t swDevice, nai_1553_status_type_t type, bool_t *p_outstatusBit)
 Retrieves the "FIFO Empty" status of the 1553 Message FIFO on the specified device. If this status is set, it indicates no messages are present in the Message FIFO.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetMsgFIFOStatusAll (int16_t swDevice, nai_1553_status_type_t type, nai_1553_status_bits_t *p_outstatusWord)
 Retrieves all statuses of the 1553 Message FIFO on the specified device. The retrieved 32-bit status word contains four bits that indicate various statuses of the Message FIFO.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_ClearMsgFIFOStatus (int16_t swDevice, nai_1553_status_bits_t statusWord)
 Clears one or more Message FIFO status bits. This function clears one or more Message FIFO Latched Status bits by writing a user-specified OR'ed combination of Message FIFO status bits to the Message FIFO Latched Status register.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetMsgFIFOAlmostFullThreshold (int16_t swDevice, int32_t *p_outthreshold)
 Retrieves the Message FIFO "Almost Full" Threshold value currently set on the specified device. This value determines the Message FIFO fill level (number of words) at which the "Almost Full" status bit reports TRUE.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetMsgFIFOAlmostFullThreshold (int16_t swDevice, int32_t threshold)
 Sets the Message FIFO "Almost Full" Threshold for the specified device. This value determines the Message FIFO fill level (number of words) at which the "Almost Full" status bit reports TRUE.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_ReadMsgFIFO (int16_t swDevice, int32_t wordCount, uint32_t *p_outbuffer)
 Retrieves 32-bit words from the 1553 Message FIFO on the specified device. NOTE: make sure p_outbuffer points to an array of size greater or equal to wordCount.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_ClearMsgFIFO (int16_t swDevice)
 Clears out the 1553 Message FIFO on the device specified.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_DecodeFIFOMsg (const uint32_t *p_buffer, int32_t currBlockIndex, int32_t *p_outnextBlockIndex, naiDecodedMessageStructureFIFO *p_outmsgStruct)
 Decodes a single 1553 message in p_buffer starting at the index given by currBlockIndex. p_outnextBlockIndex will contain the starting index of the next 1553 message, if any. The user should call this function again by passing in the p_outnextBlockIndex from the previous call into currBlockIndex. If the function returns NAI_1553_CMD_NO_MSG_TO_DECODE, this means there is no message to decode at the current index of p_buffer (currBlockIndex). Please refer to the Message FIFO sample code (M1553_BC_SendMessage_FIFO, M1553_RT_Receive_FIFO, M1553_MT_Monitor_FIFO) for proper usage in the different 1553 modes.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetMsgFIFOInterruptEnable (int16_t swDevice, nai_1553_status_bits_t *p_outenableWord)
 Retrieves interrupt enable configuration of all Message FIFO status bits on the specified device. The retrieved 32-bit enable word contains four enable bits that each control the generation of interrupts when the corresponding status bit gets set. If an enable bit is set and the corresponding status bit gets set, an interrupt will get generated. If an enable bit is not set and the corresponding status bit gets set, an interrupt will not get generated.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetMsgFIFOInterruptEnable (int16_t swDevice, nai_1553_status_bits_t enableWord)
 Sets the interrupt enable configuration of all Message FIFO status bits on the specified device. The user provided 32-bit enable word contains four enable bits that each control the generation of interrupts when the corresponding status bit gets set. If an enable bit is set and the corresponding status bit gets set, an interrupt will get generated. If an enable bit is not set and the corresponding status bit gets set, an interrupt will not get generated.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetMsgFIFOInterruptEdgeLevel (int16_t swDevice, nai_1553_status_bits_t *p_outedgeLevelWord)
 Retrieves interrupt trigger mode (edge vs level) configuration of all Message FIFO status bits on the specified device. The retrieved 32-bit word contains four trigger mode bits that each set the corresponding status for edge- or level-triggering when an interrupt is generated. If the trigger mode bit is set to '0', the corresponding status will be set for edge-triggering and if the trigger mode bit is set to '1', the corresponding status will be set for level-triggering.
 
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_SetMsgFIFOInterruptEdgeLevel (int16_t swDevice, nai_1553_status_bits_t edgeLevelWord)
 Selects the interrupt trigger mode (edge vs level) for all Message FIFO status bits on the specified device. The user provided 32-bit word contains four trigger mode bits that each set the corresponding status for edge- or level-triggering when an interrupt is generated. If the trigger mode bit is set to '0', the corresponding status will be set for edge-triggering and if the trigger mode bit is set to '1', the corresponding status will be set for level-triggering.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_GetRxSummaryStatus (int32_t cardIndex, int32_t module, nai_1553_status_type_t type, nai_1553_chan_mapped_status_t *outstatusword)
 Reports the Dynamic or Latched Rx Data Available status of all channels. This function is only supported in Message FIFO mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_ClearRxSummaryStatus (int32_t cardIndex, int32_t module, nai_1553_chan_mapped_status_t statusword)
 Clears the Rx Data Available status latch register bit for the specified channel. When Rx Data become available on one or more channels, the bit(s) corresponding to the channel(s) are raised high in the latch register. These bits are held high until they are cleared by writing a '1' to the bit. This function is only supported in Message FIFO mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_SetRxSummaryInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Sets the Rx Data Available Interrupt Enable of the channel specified. This function is only supported in Message FIFO mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_GetRxSummaryInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *outenable)
 Gets the Rx Data Available Interrupt Enable state of the channel specified. This function is only supported in Message FIFO mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_SetRxSummaryInterruptVector (int32_t cardIndex, int32_t module, int32_t vector)
 Sets the Rx Data Available Interrupt Vector. This function is only supported in Message FIFO mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_GetRxSummaryInterruptVector (int32_t cardIndex, int32_t module, int32_t *outvector)
 Gets the Rx Data Available Interrupt Vector. This function is only supported in Message FIFO mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_SetRxSummaryInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, bool_t edgeLevel)
 Sets the Rx Data Available Interrupt Edge/Level register value for the specified 1553 channel. This function is only supported in Message FIFO mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_GetRxSummaryInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, bool_t *outEdgeLevel)
 Retrieves the Rx Data Available Interrupt Edge/Level register value for the specified 1553 channel. This function is only supported in Message FIFO mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_SetRxSummaryInterruptSteering (int32_t cardIndex, int32_t module, naibrd_int_steering_t steering)
 Sets the Rx Data Available Interrupt Steering to indicate where to direct the interrupt signal. This function is only supported in Message FIFO mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_1553_GetRxSummaryInterruptSteering (int32_t cardIndex, int32_t module, naibrd_int_steering_t *outsteering)
 Gets the Rx Data Available Interrupt Steering, which indicates where to direct the interrupt signal. This function is only supported in Message FIFO mode.
 
void pack16to32BitBuffer (int32_t bufferSize, uint16_t *inarray16, uint32_t *outarray32)
 
void unpack32to16BitBuffer (int32_t bufferSize, uint32_t *inarray32, uint16_t *outarray16)
 

Macro Definition Documentation

◆ addedFramingCommandsCount_MajorFrame_GROUP_A

#define addedFramingCommandsCount_MajorFrame_GROUP_A   14U /* The number of framing commands included in major frame - group A */

◆ addedFramingCommandsCount_MajorFrame_GROUP_B

#define addedFramingCommandsCount_MajorFrame_GROUP_B   2U /* The number of framing commands included in major frame - group B */

◆ addedFramingCommandsCount_MajorFrame_GROUP_C

#define addedFramingCommandsCount_MajorFrame_GROUP_C   1U /* The number of framing commands included in major frame - group C */

◆ addedFramingCommandsCount_MajorFrame_MAXIMUM_TOTAL

#define addedFramingCommandsCount_MajorFrame_MAXIMUM_TOTAL   17U /* The maximum possible total number of framing commands included in major frame - groups A-C */

◆ addedFramingCommandsCount_MinorFrame_GROUP_A

#define addedFramingCommandsCount_MinorFrame_GROUP_A   4U /* The number of framing commands included in minor frame - group A */

◆ addedFramingCommandsCount_MinorFrame_GROUP_B

#define addedFramingCommandsCount_MinorFrame_GROUP_B   2U /* The number of framing commands included in minor frame - group B */

◆ addedFramingCommandsCount_MinorFrame_GROUP_C

#define addedFramingCommandsCount_MinorFrame_GROUP_C   1U /* The number of framing commands included in minor frame - group C */

◆ addedFramingCommandsCount_MinorFrame_GROUP_D

#define addedFramingCommandsCount_MinorFrame_GROUP_D   1U /* The number of framing commands included in minor frame - group D */

◆ addedFramingCommandsCount_MinorFrame_GROUP_E

#define addedFramingCommandsCount_MinorFrame_GROUP_E   1U /* The number of framing commands included in minor frame - group E */

◆ addedFramingCommandsCount_MinorFrame_GROUP_F

#define addedFramingCommandsCount_MinorFrame_GROUP_F   3U /* The number of framing commands included in minor frame - group F */

◆ addedFramingCommandsCount_MinorFrame_GROUP_G

#define addedFramingCommandsCount_MinorFrame_GROUP_G   1U /* The number of framing commands included in minor frame - group G */

◆ addedFramingCommandsCount_MinorFrame_GROUP_H

#define addedFramingCommandsCount_MinorFrame_GROUP_H   1U /* The number of framing commands included in minor frame - group H */

◆ addedFramingCommandsCount_MinorFrame_MAXIMUM_TOTAL

#define addedFramingCommandsCount_MinorFrame_MAXIMUM_TOTAL   15U /* The maximum possible total number of framing commands included in major frame - groups A-H */

◆ ADDRESS_TO_INDEX_OF_RELATED_BIT

#define ADDRESS_TO_INDEX_OF_RELATED_BIT ( address)     ( (address) >> 5 )

◆ ASSISTED_32BIT

#define ASSISTED_32BIT   7

◆ asynchronousMessaging_COMMAND_COUNT_PER_LOW_PRIORITY_MESSAGE

#define asynchronousMessaging_COMMAND_COUNT_PER_LOW_PRIORITY_MESSAGE   4U /* The number of commands added in the low priority asynchronous message Tx subroutine for each low priority asynchronous message */

◆ asynchronousMessaging_HIGH_PRIORITY_MESSAGE_TX_CALL_COMMAND_COUNT

#define asynchronousMessaging_HIGH_PRIORITY_MESSAGE_TX_CALL_COMMAND_COUNT   1U /* The number of commands added after each message-transmitter-command in order to [re]try sending the possibly requested high priority asynchronous message */

◆ asynchronousMessaging_HIGH_PRIORITY_MESSAGE_TX_COMMAND_COUNT

#define asynchronousMessaging_HIGH_PRIORITY_MESSAGE_TX_COMMAND_COUNT   3U /* The number of commands that compose the high priority asynchronous message Tx subroutine (this subroutine contains the following series of commands: XQF, RTN) */

◆ asynchronousMessaging_LOW_PRIORITY_MESSAGES_TX_CALL_COMMAND_COUNT

#define asynchronousMessaging_LOW_PRIORITY_MESSAGES_TX_CALL_COMMAND_COUNT   1U /* The number of commands added at the end of each major frame in order to [re]try sending the possibly requested low priority asynchronous messages */

◆ asynchronousMessaging_STUB_LOW_PRIORITY_MESSAGE_TX_COMMAND_COUNT

#define asynchronousMessaging_STUB_LOW_PRIORITY_MESSAGE_TX_COMMAND_COUNT   1U /* The number of commands that compose the initial stub of the low priority asynchronous message Tx subroutine (in its degenerated state this subroutine merely contains a single RTN command) */

◆ bcAddressMap_COMMAND_STACK_IN_AUTO_REPEAT_MODE

#define bcAddressMap_COMMAND_STACK_IN_AUTO_REPEAT_MODE   0x0102U /* The address in device memory where the command stack begins when the BC is configured as non-enhanced-BC in frame auto-repeat mode */

◆ bcAddressMap_COMMAND_STACK_IN_NON_AUTO_REPEAT_MODE

#define bcAddressMap_COMMAND_STACK_IN_NON_AUTO_REPEAT_MODE   0x0100U /* The address in device memory where the command stack begins when the BC is configured as non-enhanced-BC in frame non-auto-repeat mode */

◆ bcAddressMap_FRAME_LENGTH_IN_AUTO_REPEAT_MODE

#define bcAddressMap_FRAME_LENGTH_IN_AUTO_REPEAT_MODE   0x0103U /* The address in device memory where the number of entries in the command stack is stored when the BC is configured as non-enhanced-BC in frame auto-repeat mode */

◆ bcAddressMap_FRAME_LENGTH_IN_NON_AUTO_REPEAT_MODE

#define bcAddressMap_FRAME_LENGTH_IN_NON_AUTO_REPEAT_MODE   0x0101U /* The address in device memory where the number of entries in the command stack is stored when the BC is configured as non-enhanced-BC in frame non-auto-repeat mode */

◆ bcAddressMap_FREE_MEMORY

#define bcAddressMap_FREE_MEMORY   0x0400U /* The address in device memory where the free space begins */

◆ bcAddressMap_GPQ

#define bcAddressMap_GPQ   0x0000U /* The address in device memory of the GPQ */

◆ bcCommandBlock_ExecuteAndFlip_AddressFlipBitMask

#define bcCommandBlock_ExecuteAndFlip_AddressFlipBitMask   0x0010U /* The bit that's flipped in result of successful Tx by a XQF command */

◆ bcConditionCode_ALWAYS

#define bcConditionCode_ALWAYS   0x8000U /* Condition code: Always */

◆ bcConditionCode_BAD_MESSAGE

#define bcConditionCode_BAD_MESSAGE   0x1000U /* Condition code: Bad message */

◆ bcConditionCode_FORMAT_ERROR

#define bcConditionCode_FORMAT_ERROR   0x0200U /* Condition code: Format error */

◆ bcConditionCode_GFP_EQUAL_FLAG

#define bcConditionCode_GFP_EQUAL_FLAG   0x0001U /* Condition code: Equal */

◆ bcConditionCode_GOOD_DATA_BLOCK_TRANSFER

#define bcConditionCode_GOOD_DATA_BLOCK_TRANSFER   0x0400U /* Condition code: Good data block transfer */

◆ bcConditionCode_GPF0

#define bcConditionCode_GPF0   0x0001U /* Condition code: GPF-0 */

◆ bcConditionCode_GPF1

#define bcConditionCode_GPF1   0x0002U /* Condition code: GPF-1 */

◆ bcConditionCode_GPF2

#define bcConditionCode_GPF2   0x0004U /* Condition code: GPF-2 */

◆ bcConditionCode_GPF3

#define bcConditionCode_GPF3   0x0008U /* Condition code: GPF-3 */

◆ bcConditionCode_GPF4

#define bcConditionCode_GPF4   0x0010U /* Condition code: GPF-4 */

◆ bcConditionCode_GPF5

#define bcConditionCode_GPF5   0x0020U /* Condition code: GPF-5 */

◆ bcConditionCode_GPF6

#define bcConditionCode_GPF6   0x0040U /* Condition code: GPF-6 */

◆ bcConditionCode_GPF7

#define bcConditionCode_GPF7   0x0080U /* Condition code: GPF-7 */

◆ bcConditionCode_GPF_LESS_THAN_FLAG

#define bcConditionCode_GPF_LESS_THAN_FLAG   0x0002U /* Condition code: Less than */

◆ bcConditionCode_MASKED_STATUS

#define bcConditionCode_MASKED_STATUS   0x0800U /* Condition code: Masked status */

◆ bcConditionCode_NO_RESPONSE

#define bcConditionCode_NO_RESPONSE   0x0100U /* Condition code: No response */

◆ bcConditionCode_RETRY_COUNT

#define bcConditionCode_RETRY_COUNT   0x6000U /* Condition code: Retry count */

◆ bcMemoryObjectSize_COMMAND

#define bcMemoryObjectSize_COMMAND   2U /* The size (in words) of a command in device memory */

◆ bcMemoryObjectSize_COMMAND_STACK_ENTRY

#define bcMemoryObjectSize_COMMAND_STACK_ENTRY   4U /* The size (in words) of a single command stack entry in device memory, which consists of the following quadruplet: (block-status-word, time-tag, message-gap, message-block-address) */

◆ bcMemoryObjectSize_DOUBLE_DATA_BLOCK

#define bcMemoryObjectSize_DOUBLE_DATA_BLOCK   64U /* The size (in words) of a double data block in device memory */

◆ bcMemoryObjectSize_DUAL_MESSAGE

#define bcMemoryObjectSize_DUAL_MESSAGE   32U /* The allocated size (in words) of a dual message in device memory */

◆ bcMemoryObjectSize_GPQ_ENTRY

#define bcMemoryObjectSize_GPQ_ENTRY   2U /* The size (in words) of a single GPQ entry in device memory */

◆ bcMemoryObjectSize_LARGE_MESSAGE

#define bcMemoryObjectSize_LARGE_MESSAGE   16U /* The allocated size (in words) of a large message, i.e., a RT-to-RT message, in device memory */

◆ bcMemoryObjectSize_MESSAGE_BLOCK

#define bcMemoryObjectSize_MESSAGE_BLOCK   38U /* The size (in words) of the longest possible BC-style message block (for more information read about the Stack and the Message Block in the BC Users Manual) */

◆ bcMemoryObjectSize_NORMAL_DATA_BLOCK

#define bcMemoryObjectSize_NORMAL_DATA_BLOCK   32U /* The size (in words) of a data block in device memory */

◆ bcMemoryObjectSize_NORMAL_MESSAGE

#define bcMemoryObjectSize_NORMAL_MESSAGE   8U /* The allocated (and actual) size (in words) of a normal (i.e., non RT-to-RT) message in device memory */

◆ bcMemoryObjectSize_RT_TO_RT_MESSAGE

#define bcMemoryObjectSize_RT_TO_RT_MESSAGE   10U /* The actual size (in words) of the largest message block, i.e., a RT-to-RT message block, in device memory */

◆ bcMessageBlock_Command1_SKIP_MESSAGE

#define bcMessageBlock_Command1_SKIP_MESSAGE   0xFFFF /* The value of the command-1 word of a BC message block that designates "skip message" */

◆ bcMessageBlock_OFFSET_OF_BC_CONTROL_WORD

#define bcMessageBlock_OFFSET_OF_BC_CONTROL_WORD   0U /* The offset (in words) in a BC message block of the BC control word */

◆ bcMessageBlock_OFFSET_OF_BLOCK_STATUS

#define bcMessageBlock_OFFSET_OF_BLOCK_STATUS   5U /* The offset (in words) in a BC message block of the block status word */

◆ bcMessageBlock_OFFSET_OF_COMMAND_1

#define bcMessageBlock_OFFSET_OF_COMMAND_1   1U /* The offset (in words) in a BC message block of the [first] command */

◆ bcMessageBlock_OFFSET_OF_COMMAND_2

#define bcMessageBlock_OFFSET_OF_COMMAND_2   8U /* The offset (in words) in a BC message block of the second command (relevant with RT-to-RT messages) */

◆ bcMessageBlock_OFFSET_OF_DATA_BLOCK_ADDRESS

#define bcMessageBlock_OFFSET_OF_DATA_BLOCK_ADDRESS   2U /* The offset (in words) in a BC message block of the device memory address of the related data block */

◆ bcMessageBlock_OFFSET_OF_GAP_TO_NEXT_MESSAGE

#define bcMessageBlock_OFFSET_OF_GAP_TO_NEXT_MESSAGE   3U /* The offset (in words) in a BC message block of the gap to next message */

◆ bcMessageBlock_OFFSET_OF_LOOPBACK_WORD

#define bcMessageBlock_OFFSET_OF_LOOPBACK_WORD   6U /* The offset (in words) in a BC message block of the loopback word */

◆ bcMessageBlock_OFFSET_OF_RT_STATUS_WORD_1

#define bcMessageBlock_OFFSET_OF_RT_STATUS_WORD_1   7U /* The offset (in words) in a BC message block of the [first] RT status word */

◆ bcMessageBlock_OFFSET_OF_RT_STATUS_WORD_2

#define bcMessageBlock_OFFSET_OF_RT_STATUS_WORD_2   9U /* The offset (in words) in a BC message block of the second RT status word */

◆ bcMessageBlock_OFFSET_OF_TIME_TAG

#define bcMessageBlock_OFFSET_OF_TIME_TAG   4U /* The offset (in words) in a BC message block of the time tag */

◆ BRMC_CAP_IRQ_PULSE

#define BRMC_CAP_IRQ_PULSE   0x100U /* A interrupt signal mode bit mask for field swFlags of structure naiCardInformationStructure: on/off when pulse/level interrupts, respectively, suit the operating system and card type */

◆ BRMC_INTERRUPT_FLAG_SEVERE_PROBLEM

#define BRMC_INTERRUPT_FLAG_SEVERE_PROBLEM   0x8000U /* A interrupt signal mode bit mask for field swFlags of structure naiCardInformationStructure: on/off when pulse/level interrupts, respectively, suit the operating system and card type */

◆ CM1_32BIT

#define CM1_32BIT   4

◆ CM5_32BIT

#define CM5_32BIT   5

◆ CM8_32BIT

#define CM8_32BIT   6

◆ commandOpcode_MANDATORY_BITS

#define commandOpcode_MANDATORY_BITS   0x0140U /* Mandatory preset bits within commands of regular opcodes */

◆ commandOpcode_MANDATORY_BITS_MASK

#define commandOpcode_MANDATORY_BITS_MASK   0x03E0U /* A mask of mandatory preset bits within any command opcode */

◆ commandOpcode_ODD_PARITY_MASK

#define commandOpcode_ODD_PARITY_MASK   0x8000U /* A mask of the odd parity bit within a command opcode */

◆ commandOpcode_OFFSET_OF_CONDITION_MASK

#define commandOpcode_OFFSET_OF_CONDITION_MASK   0U /* The index of the first bit of the condition code within a command opcode */

◆ commandOpcode_OFFSET_OF_OPCODE_MASK

#define commandOpcode_OFFSET_OF_OPCODE_MASK   10U /* The index of the first bit of the opcode itself within a command opcode */

◆ commandOpcode_UNIQUE_MANDATORY_BITS

#define commandOpcode_UNIQUE_MANDATORY_BITS   0x0240U /* Mandatory preset bits within commands of Sital's unique opcodes */

◆ configurationRegister1_RT_PARTIAL_STATUS_ENABLER_BITS

#define configurationRegister1_RT_PARTIAL_STATUS_ENABLER_BITS   (NAI_1553_CONFIG_REG1_MASK_RT_FLAG | NAI_1553_CONFIG_REG1_MASK_RT_SUBSYSTEM_FLAG | NAI_1553_CONFIG_REG1_MASK_RT_SERVICE_REQUEST | NAI_1553_CONFIG_REG1_MASK_RT_BUSY | NAI_1553_CONFIG_REG1_MASK_RT_DYNAMIC_BUS_CONTROL_ACCEPTANCE) /* A mask of the status enabler bits within configuration register #1 that are used even without RT alternate status */

◆ configurationRegister1_RT_STATUS_ENABLER_BITS

#define configurationRegister1_RT_STATUS_ENABLER_BITS   (NAI_1553_CONFIG_REG1_MASK_RT_S00 | NAI_1553_CONFIG_REG1_MASK_RT_S01 | NAI_1553_CONFIG_REG1_MASK_RT_S02 | NAI_1553_CONFIG_REG1_MASK_RT_S03 | NAI_1553_CONFIG_REG1_MASK_RT_S04 | NAI_1553_CONFIG_REG1_MASK_RT_S05 | NAI_1553_CONFIG_REG1_MASK_RT_S06 | NAI_1553_CONFIG_REG1_MASK_RT_SUBSYSTEM_FLAG | NAI_1553_CONFIG_REG1_MASK_RT_SERVICE_REQUEST | NAI_1553_CONFIG_REG1_MASK_RT_BUSY | NAI_1553_CONFIG_REG1_MASK_RT_DYNAMIC_BUS_CONTROL_ACCEPTANCE) /* A mask of the status enabler bits within configuration register #1 that are used with RT alternate status */

◆ configurationRegister5_OFFSET_OF_RT_ADDRESS

#define configurationRegister5_OFFSET_OF_RT_ADDRESS   1 /* The index of the lowest of the bits of the RT address field */

◆ configurationRegister6_OFFSET_OF_RT_ADDRESS_SOURCE

#define configurationRegister6_OFFSET_OF_RT_ADDRESS_SOURCE   5 /* The index of the lowest of the bits of the RT address source field */

◆ configurationRegister7_MEMORY_MANAGEMENT_BASE_ADDRESS_MASK

#define configurationRegister7_MEMORY_MANAGEMENT_BASE_ADDRESS_MASK   0xFC00

◆ FIND_CORRESPONDING_MEMORY_MAP_INDICES

#define FIND_CORRESPONDING_MEMORY_MAP_INDICES ( baseAddress,
entry,
bit )
Value:
{ \
entry = ((baseAddress) >> 10); \
bit = (uint16_t)(((baseAddress) >> 5) & 0x001F); \
}

◆ frameCommandWritingHelperBuffer_COMMAND_COUNT

#define frameCommandWritingHelperBuffer_COMMAND_COUNT   (parsedOpcodeCount_MAXIMUM * NAI_1553_BC_FRAME_COMMANDS) /* The number of commands contained by a frame command writing helper buffer in order to deal with the largest possible frame) */

◆ GPQ_ENTRY_ADDRESS

#define GPQ_ENTRY_ADDRESS ( wQueueEntryIndex)     (bcAddressMap_GPQ + ((wQueueEntryIndex) * bcMemoryObjectSize_GPQ_ENTRY))

◆ GPQ_ENTRY_INDEX

#define GPQ_ENTRY_INDEX ( wQueueEntryAddress)     (((wQueueEntryAddress) - bcAddressMap_GPQ) / bcMemoryObjectSize_GPQ_ENTRY)

◆ INTERRUPT_VECTOR_ADDEND

#define INTERRUPT_VECTOR_ADDEND   1

◆ IS_MULTIPLE_OF_32

#define IS_MULTIPLE_OF_32 ( testedNumber)     ( ((testedNumber) == (((testedNumber) >> 5) << 5)) ? TRUE : FALSE )

◆ LEGACY_16BIT

#define LEGACY_16BIT   0

◆ LEGACY_32BIT

#define LEGACY_32BIT   1

◆ MAX_BLOCK_ARRAY_SIZE

#define MAX_BLOCK_ARRAY_SIZE   2048 /* Specifies the maximum 32-bit block read/write size. If array to be read/written is bigger than this, multiple reads/writes will take place. */

◆ messageTypeComponent_BROADCAST

#define messageTypeComponent_BROADCAST   0x8U /* The component of naiMessageType_* constants that designates a broadcast message */

◆ messageTypeComponent_DATA

#define messageTypeComponent_DATA   0x2U /* The component of naiMessageType_* constants that designates a data containing message */

◆ messageTypeComponent_MODE

#define messageTypeComponent_MODE   0x4U /* The component of naiMessageType_* constants that designates a mode message */

◆ messageTypeComponent_TX

#define messageTypeComponent_TX   0x1U /* The component of naiMessageType_* constants that designates a transmitted message */

◆ MT_STACK_STARTER_ADDRESS

#define MT_STACK_STARTER_ADDRESS ( wStackMode,
wStackBaseAddress,
wStackSize )    ( (wStackBaseAddress) + ( (NAI_1553_MT_STACK_OPT_DOUBLE == (wStackMode)) ? ((wStackSize) / 2 ) : 0) )

◆ mtAddressMap_FREE_MEMORY

#define mtAddressMap_FREE_MEMORY   0x0300U /* The address in device memory where the free space begins */

◆ mtAddressMap_ISQ

#define mtAddressMap_ISQ   rtMtAddressMap_ISQ /* The address in device memory of the ISQ */

◆ mtAddressMap_MONITOR_LOOKUP_TABLE

#define mtAddressMap_MONITOR_LOOKUP_TABLE   0x0280U /* The address in device memory of the monitor lookup table */

◆ mtAddressMap_MT_COMMAND_STACK_A_POINTER

#define mtAddressMap_MT_COMMAND_STACK_A_POINTER   0x0102U /* The address in device memory of command stack A pointer */

◆ mtAddressMap_MT_COMMAND_STACK_B_POINTER

#define mtAddressMap_MT_COMMAND_STACK_B_POINTER   0x0106U /* The address in device memory of command stack B pointer */

◆ mtAddressMap_MT_DATA_STACK_A_POINTER

#define mtAddressMap_MT_DATA_STACK_A_POINTER   0x0103U /* The address in device memory of data stack A pointer */

◆ mtAddressMap_MT_DATA_STACK_B_POINTER

#define mtAddressMap_MT_DATA_STACK_B_POINTER   0x0107U /* The address in device memory of data stack B pointer */

◆ mtCommandStackEntry_OFFSET_OF_BLOCK_STATUS_WORD

#define mtCommandStackEntry_OFFSET_OF_BLOCK_STATUS_WORD   0U /* The offset (in words) in a MT command stack entry of the block status word */

◆ mtCommandStackEntry_OFFSET_OF_COMMAND

#define mtCommandStackEntry_OFFSET_OF_COMMAND   3U /* The offset (in words) in a MT command stack entry of the received command */

◆ mtCommandStackEntry_OFFSET_OF_DATA_BLOCK_ADDRESS

#define mtCommandStackEntry_OFFSET_OF_DATA_BLOCK_ADDRESS   2U /* The offset (in words) in a MT command stack entry of the device memory address of the related data block */

◆ mtCommandStackEntry_OFFSET_OF_TIME_TAG

#define mtCommandStackEntry_OFFSET_OF_TIME_TAG   1U /* The offset (in words) in a MT command stack entry of the time tag */

◆ mtMonitoringLookupTable_OFFSET_OF_ADDRESS_BIT

#define mtMonitoringLookupTable_OFFSET_OF_ADDRESS_BIT   2U /* The index of the address bit in the binary representation of word entry offsets in the monitoring lookup table */

◆ mtMonitoringLookupTable_OFFSET_OF_DIRECTION_BIT

#define mtMonitoringLookupTable_OFFSET_OF_DIRECTION_BIT   1U /* The index of the direction bit in the binary representation of word entry offsets in the monitoring lookup tabl */

◆ naiInterruptStatusRegister2_OFFSET_OF_INTERRUPTS

#define naiInterruptStatusRegister2_OFFSET_OF_INTERRUPTS   2 /* The index of the lowest of the interrupt bits field */

◆ NEW_32BIT

#define NEW_32BIT   2

◆ NEXT_SEGMENT_BASE_ADDRESS

#define NEXT_SEGMENT_BASE_ADDRESS ( bitIndex)     ( (SEGMENT_BOTTOM_ADDRESS(bitIndex)) + 1 )

◆ parsedOpcodeCount_MAXIMUM

#define parsedOpcodeCount_MAXIMUM   5U /* The maximum number of hardware opcodes for any specific software opcode */

◆ parsedOpcodeCount_TIME_CONDITIONED_MESSAGE_TX

#define parsedOpcodeCount_TIME_CONDITIONED_MESSAGE_TX   5U /* Hardware opcodes for the time conditioned message Tx software opcode, not taking in account a potential call to the high asynchronous messages Tx subroutine (see the documentation for function naibrd_1553_BcCommandCreate) */

◆ PIB_32BIT

#define PIB_32BIT   3

◆ PREVIOUS_SEGMENT_BOTTOM_ADDRESS

#define PREVIOUS_SEGMENT_BOTTOM_ADDRESS ( bitIndex)     ( (SEGMENT_BASE_ADDRESS(bitIndex)) - 1 )

◆ RegisterAddress_BC_CONDITION_CODE

#define RegisterAddress_BC_CONDITION_CODE   0x001BU /* R */

◆ RegisterAddress_BC_CONTROL_WORD

#define RegisterAddress_BC_CONTROL_WORD   0x0004U /* R/W */

◆ RegisterAddress_BC_GENERAL_PURPOSE_FLAG

#define RegisterAddress_BC_GENERAL_PURPOSE_FLAG   0x001BU /* W */

◆ RegisterAddress_BC_GENERAL_PURPOSE_QUEUE_POINTER

#define RegisterAddress_BC_GENERAL_PURPOSE_QUEUE_POINTER   0x001FU /* R/W */

◆ RegisterAddress_BC_INITIAL_INSTRUCTION_POINTER

#define RegisterAddress_BC_INITIAL_INSTRUCTION_POINTER   0x000DU /* R/W */

◆ RegisterAddress_BC_INSTRUCTION_LIST_POINTER

#define RegisterAddress_BC_INSTRUCTION_LIST_POINTER   0x0003U /* R */

◆ RegisterAddress_BC_REMAINING_FRAME_TIME

#define RegisterAddress_BC_REMAINING_FRAME_TIME   0x000BU /* R */

◆ RegisterAddress_BC_RT_MT_QUEUE_POINTER

#define RegisterAddress_BC_RT_MT_QUEUE_POINTER   0x001FU /* R/W */

◆ RegisterAddress_CONFIGURATION_1

#define RegisterAddress_CONFIGURATION_1   0x0001U /* R/W */

◆ RegisterAddress_CONFIGURATION_2

#define RegisterAddress_CONFIGURATION_2   0x0002U /* R/W */

◆ RegisterAddress_CONFIGURATION_3

#define RegisterAddress_CONFIGURATION_3   0x0007U /* R/W */

◆ RegisterAddress_CONFIGURATION_4

#define RegisterAddress_CONFIGURATION_4   0x0008U /* R/W */

◆ RegisterAddress_CONFIGURATION_5

#define RegisterAddress_CONFIGURATION_5   0x0009U /* R/W */

◆ RegisterAddress_CONFIGURATION_6

#define RegisterAddress_CONFIGURATION_6   0x0018U /* R/W */

◆ RegisterAddress_CONFIGURATION_7

#define RegisterAddress_CONFIGURATION_7   0x0019U /* R/W */

◆ RegisterAddress_INTERRUPT_MASK_1

#define RegisterAddress_INTERRUPT_MASK_1   0x0000U /* R/W */

◆ RegisterAddress_INTERRUPT_MASK_2

#define RegisterAddress_INTERRUPT_MASK_2   0x001DU /* R/W */

◆ RegisterAddress_INTERRUPT_STATUS_1

#define RegisterAddress_INTERRUPT_STATUS_1   0x0006U /* R */

◆ RegisterAddress_INTERRUPT_STATUS_2

#define RegisterAddress_INTERRUPT_STATUS_2   0x001EU /* R */

◆ RegisterAddress_LIMITATIONS

#define RegisterAddress_LIMITATIONS   0x000EU /* R */

◆ RegisterAddress_MT_TRIGGER_WORD

#define RegisterAddress_MT_TRIGGER_WORD   0x000DU /* R/W */

◆ RegisterAddress_RT_BUILT_IN_TEST_WORD

#define RegisterAddress_RT_BUILT_IN_TEST_WORD   0x000FU /* R */

◆ RegisterAddress_RT_LAST_COMMAND

#define RegisterAddress_RT_LAST_COMMAND   0x000DU /* R/W */

◆ RegisterAddress_RT_MT_COMMAND_STACK_POINTER

#define RegisterAddress_RT_MT_COMMAND_STACK_POINTER   0x0003U /* R */

◆ RegisterAddress_RT_MT_DATA_STACK_ADDRESS

#define RegisterAddress_RT_MT_DATA_STACK_ADDRESS   0x000AU /* R/W */

◆ RegisterAddress_RT_MT_INTERRUPT_STATUS_QUEUE_POINTER

#define RegisterAddress_RT_MT_INTERRUPT_STATUS_QUEUE_POINTER   0x001FU /* R/W */

◆ RegisterAddress_RT_STATUS_WORD

#define RegisterAddress_RT_STATUS_WORD   0x000EU /* R */

◆ RegisterAddress_RT_SUBADDRESS_CONTROL_WORD

#define RegisterAddress_RT_SUBADDRESS_CONTROL_WORD   0x0004U /* R/W */

◆ RegisterAddress_SITAL_FIRMWARE_VERSION

#define RegisterAddress_SITAL_FIRMWARE_VERSION   0x001AU /* R */

◆ RegisterAddress_START_OR_RESET

#define RegisterAddress_START_OR_RESET   0x0003U /* W */

◆ RegisterAddress_TIME_TAG

#define RegisterAddress_TIME_TAG   0x0005U /* R/W */

◆ registerMask_ALL_BITS_OFF

#define registerMask_ALL_BITS_OFF   0x0000

◆ registerMask_ALL_BITS_ON

#define registerMask_ALL_BITS_ON   0xFFFF

◆ ROUND_UP_TO_NEAREST_MULTIPLE_OF_32

#define ROUND_UP_TO_NEAREST_MULTIPLE_OF_32 ( roundedNumber)
Value:
{ \
if (FALSE == (IS_MULTIPLE_OF_32(roundedNumber))) \
{ \
(roundedNumber) = ((((roundedNumber) >> 5) << 5) + 32); \
} \
}
#define IS_MULTIPLE_OF_32(testedNumber)
Definition naibrd_1553.c:1209

◆ rtAddressMap_BUSY_LOOKUP_TABLE

#define rtAddressMap_BUSY_LOOKUP_TABLE   0x0240 /* The address in device memory of the busy lookup table */

◆ rtAddressMap_COMMAND_ILLEGALIZATION_TABLE

#define rtAddressMap_COMMAND_ILLEGALIZATION_TABLE   0x0300 /* The address in device memory of the command illegalization table */

◆ rtAddressMap_COMMAND_STACK

#define rtAddressMap_COMMAND_STACK   0x0800 /* The address in device memory of the command stack */

◆ rtAddressMap_COMMAND_STACK_POINTER

#define rtAddressMap_COMMAND_STACK_POINTER   0x0100 /* The address in device memory of the command stack pointer */

◆ rtAddressMap_FREE_MEMORY

#define rtAddressMap_FREE_MEMORY   0x0400 /* The address in device memory where the free space begins */

◆ rtAddressMap_GLOBAL_CIRCULAR_DATA_POINTER

#define rtAddressMap_GLOBAL_CIRCULAR_DATA_POINTER   0x0101 /* The address in device memory of the global circular data pointer */

◆ rtAddressMap_ISQ

#define rtAddressMap_ISQ   0x0000 /* The address in device memory of the ISQ */

◆ rtAddressMap_MODE_CODE_DATA_TABLE

#define rtAddressMap_MODE_CODE_DATA_TABLE   0x0110 /* The address in device memory of the mode code data table */

◆ rtAddressMap_MODE_CODE_SELECTIVE_INTERRUPT_TABLE

#define rtAddressMap_MODE_CODE_SELECTIVE_INTERRUPT_TABLE   0x0108 /* The address in device memory of the mode code selective interrupt table */

◆ rtAddressMap_ModeCodeWord_BROADCAST_OVERRIDE_SELECTED_TRANSMITTER_SHUTDOWN

#define rtAddressMap_ModeCodeWord_BROADCAST_OVERRIDE_SELECTED_TRANSMITTER_SHUTDOWN   0x0135 /* The address in device memory of the mode code data table entry for broadcast-override-selected-transmitter-shutdown */

◆ rtAddressMap_ModeCodeWord_BROADCAST_SELECTED_TRANSMITTER_SHUTDOWN

#define rtAddressMap_ModeCodeWord_BROADCAST_SELECTED_TRANSMITTER_SHUTDOWN   0x0134 /* The address in device memory of the mode code data table entry for broadcast-selected-transmitter-shutdown */

◆ rtAddressMap_ModeCodeWord_BROADCAST_SYNCHRONIZE_WITH_DATA

#define rtAddressMap_ModeCodeWord_BROADCAST_SYNCHRONIZE_WITH_DATA   0x0131 /* The address in device memory of the mode code data table entry for broadcast-synchronize-with-data */

◆ rtAddressMap_ModeCodeWord_OVERRIDE_SELECTED_TRANSMITTER_SHUTDOWN

#define rtAddressMap_ModeCodeWord_OVERRIDE_SELECTED_TRANSMITTER_SHUTDOWN   0x0115 /* The address in device memory of the mode code data table entry for override-selected-transmitter-shutdown */

◆ rtAddressMap_ModeCodeWord_SELECTED_TRANSMITTER_SHUTDOWN

#define rtAddressMap_ModeCodeWord_SELECTED_TRANSMITTER_SHUTDOWN   0x0114 /* The address in device memory of the mode code data table entry for selected-transmitter-shutdown */

◆ rtAddressMap_ModeCodeWord_SYNCHRONIZE_WITH_DATA

#define rtAddressMap_ModeCodeWord_SYNCHRONIZE_WITH_DATA   0x0111 /* The address in device memory of the mode code data table entry for synchronize-with-data */

◆ rtAddressMap_ModeCodeWord_TRANSMIT_BUILT_IN_TEST

#define rtAddressMap_ModeCodeWord_TRANSMIT_BUILT_IN_TEST   0x0123 /* The address in device memory of the mode code data table entry for transmit-built-in-test */

◆ rtAddressMap_ModeCodeWord_TRANSMIT_LAST_COMMAND

#define rtAddressMap_ModeCodeWord_TRANSMIT_LAST_COMMAND   0x0122 /* The address in device memory of the mode code data table entry for transmit-last-command */

◆ rtAddressMap_ModeCodeWord_TRANSMIT_VECTOR_WORD

#define rtAddressMap_ModeCodeWord_TRANSMIT_VECTOR_WORD   0x0120 /* The address in device memory of the mode code data table entry for transmit-vector-word */

◆ rtAddressMap_SUBADDRESS_LOOKUP_TABLE_BROADCAST

#define rtAddressMap_SUBADDRESS_LOOKUP_TABLE_BROADCAST   0x0180 /* The address in device memory of the subaddress broadcast messages sub lookup table */

◆ rtAddressMap_SUBADDRESS_LOOKUP_TABLE_RX

#define rtAddressMap_SUBADDRESS_LOOKUP_TABLE_RX   0x0140 /* The address in device memory of the subaddress Rx messages sub lookup table */

◆ rtAddressMap_SUBADDRESS_LOOKUP_TABLE_SUBADDRESS_CONTROL_WORDS

#define rtAddressMap_SUBADDRESS_LOOKUP_TABLE_SUBADDRESS_CONTROL_WORDS   0x01A0 /* The address in device memory of the subaddress control words sub lookup table */

◆ rtAddressMap_SUBADDRESS_LOOKUP_TABLE_TX

#define rtAddressMap_SUBADDRESS_LOOKUP_TABLE_TX   0x0160 /* The address in device memory of the subaddress Tx messages sub lookup table */

◆ rtCommandIllegalizationTable_OFFSET_OF_ADDRESS_TYPE

#define rtCommandIllegalizationTable_OFFSET_OF_ADDRESS_TYPE   7 /* The index of the lowest of the bits of the address type field within an entry of the command illegalization table */

◆ rtCommandIllegalizationTable_OFFSET_OF_DIRECTION

#define rtCommandIllegalizationTable_OFFSET_OF_DIRECTION   6 /* The index of the lowest of the bits of the direction field within an entry of the command illegalization table */

◆ rtCommandIllegalizationTable_OFFSET_OF_SUBADDRESS

#define rtCommandIllegalizationTable_OFFSET_OF_SUBADDRESS   1 /* The index of the lowest of the bits of the subaddress field within an entry of the command illegalization table */

◆ rtCommandStackEntry_OFFSET_OF_BLOCK_STATUS_WORD

#define rtCommandStackEntry_OFFSET_OF_BLOCK_STATUS_WORD   0 /* The offset (in words) in a RT command stack entry of the block status word */

◆ rtCommandStackEntry_OFFSET_OF_COMMAND

#define rtCommandStackEntry_OFFSET_OF_COMMAND   3 /* The offset (in words) in a RT command stack entry of the received command */

◆ rtCommandStackEntry_OFFSET_OF_DATA_BLOCK_ADDRESS

#define rtCommandStackEntry_OFFSET_OF_DATA_BLOCK_ADDRESS   2 /* The offset (in words) in a RT command stack entry of the device memory address of the related data block */

◆ rtCommandStackEntry_OFFSET_OF_MODE_CODE_DATA

#define rtCommandStackEntry_OFFSET_OF_MODE_CODE_DATA   2 /* The offset (in words) in a RT command stack entry of the single mode code data word, in case of mode code messages with data */

◆ rtCommandStackEntry_OFFSET_OF_TIME_TAG

#define rtCommandStackEntry_OFFSET_OF_TIME_TAG   1 /* The offset (in words) in a RT command stack entry of the time tag */

◆ rtLookupTable_MESSAGE_TYPE_INTERRUPT_ENABLER

#define rtLookupTable_MESSAGE_TYPE_INTERRUPT_ENABLER   0x0018 /* The mask of the interrupt enabler field of each message type section within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_OFFSET_OF_MESSAGE_TYPE_INTERRUPT_ENABLER

#define rtLookupTable_OFFSET_OF_MESSAGE_TYPE_INTERRUPT_ENABLER   3 /* The index of the lowest of the bits of the interrupt enabler field of each message type section within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_DOUBLE_OR_COMMON_DATA_BLOCK

#define rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_DOUBLE_OR_COMMON_DATA_BLOCK   15 /* The index of the lowest of the bits of the double or common circular data block enabler field within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_BROADCAST

#define rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_BROADCAST   0 /* The index of the lowest of the bits of the message type broadcast section within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_RX

#define rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_RX   5 /* The index of the lowest of the bits of the message type Rx section within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_TX

#define rtLookupTable_OFFSET_OF_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_TX   10 /* The index of the lowest of the bits of the message type Tx section within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_DOUBLE_OR_COMMON_DATA_BLOCK

#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_DOUBLE_OR_COMMON_DATA_BLOCK   0x8000 /* The mask of the double or common circular data block enabler field within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_BROADCAST

#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_BROADCAST   0x001F /* The mask of the message type broadcast section within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_BROADCAST_COMPLEMENT

#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_BROADCAST_COMPLEMENT   0x7FE0 /* The complement of the mask of the message type broadcast section within a subaddress control word at the subaddress control word sub lookup table (not taking in account the double or common circular data block field) */

◆ rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_RX

#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_RX   0x03E0 /* The mask of the message type Rx section within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_RX_COMPLEMENT

#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_RX_COMPLEMENT   0x7C1F /* The complement of the mask of the message type Rx section within a subaddress control word at the subaddress control word sub lookup table (not taking in account the double or common circular data block field) */

◆ rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_TX

#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_TX   0x7C00 /* The mask of the message type Tx section within a subaddress control word at the subaddress control word sub lookup table */

◆ rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_TX_COMPLEMENT

#define rtLookupTable_SUBADDRESS_CONTROL_WORD_MESSAGE_TYPE_TX_COMPLEMENT   0x03FF /* The complement of the mask of the message type Tx section within a subaddress control word at the subaddress control word sub lookup table (not taking in account the double or common circular data block field) */

◆ rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_CONTROL_WORDS

#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_CONTROL_WORDS   3 /* The index of the sub lookup table of the subaddress lookup table that's dedicated for subaddress control words */

◆ rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_COUNT

#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_COUNT   4 /* The number of sub lookup tables that make up the subaddress lookup table */

◆ rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_MESSAGE_TYPE_BROADCAST

#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_MESSAGE_TYPE_BROADCAST   2 /* The index of the sub lookup table of the subaddress lookup table that's dedicated for message type broadcast */

◆ rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_MESSAGE_TYPE_RX

#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_MESSAGE_TYPE_RX   0 /* The index of the sub lookup table of the subaddress lookup table that's dedicated for message type Rx */

◆ rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_MESSAGE_TYPE_TX

#define rtLookupTable_SUBADDRESS_LOOKUP_SUBTABLE_MESSAGE_TYPE_TX   1 /* The index of the sub lookup table of the subaddress lookup table that's dedicated for message type Tx */

◆ rtMemoryObjectSize_DOUBLE_DATA_BLOCK

#define rtMemoryObjectSize_DOUBLE_DATA_BLOCK   64

◆ rtMemoryObjectSize_NORMAL_DATA_BLOCK

#define rtMemoryObjectSize_NORMAL_DATA_BLOCK   32

◆ rtMessageType_BROADCAST

#define rtMessageType_BROADCAST   2 /* Broadcast messages */

◆ rtMessageType_COUNT

#define rtMessageType_COUNT   3 /* The number of message types defined in regard with the subaddress lookup table, each of which has a dedicated sub lookup table */

◆ rtMessageType_RX

#define rtMessageType_RX   0 /* Rx messages */

◆ rtMessageType_TX

#define rtMessageType_TX   1 /* Tx messages */

◆ rtmtAddressMap_FREE_MEMORY

#define rtmtAddressMap_FREE_MEMORY   0x0400U /* The address in device memory where the free space begins */

◆ rtMtAddressMap_ISQ

#define rtMtAddressMap_ISQ   0x0000U /* The address in device memory of the ISQ */

◆ rtMtMemoryObjectSize_ISQ_ENTRY

#define rtMtMemoryObjectSize_ISQ_ENTRY   2U /* The size (in words) of a single ISQ entry in device memory */

◆ rtMtMessageContainerHostBuffer_MT

#define rtMtMessageContainerHostBuffer_MT   2U /* The MT host buffer is the part of the RT&MT combined host buffer from which a message should be retrieved */

◆ rtMtMessageContainerHostBuffer_NONE

#define rtMtMessageContainerHostBuffer_NONE   0U /* Neither the RT nor the MT host buffer parts of the RT&MT combined host buffer contains a message to be retrieved */

◆ rtMtMessageContainerHostBuffer_RT

#define rtMtMessageContainerHostBuffer_RT   1U /* The RT host buffer is the part of the RT&MT combined host buffer from which a message should be retrieved */

◆ SEGMENT_BASE_ADDRESS

#define SEGMENT_BASE_ADDRESS ( bitIndex)     ( (bitIndex) << 5 )

◆ SEGMENT_BOTTOM_ADDRESS

#define SEGMENT_BOTTOM_ADDRESS ( bitIndex)     ( ((bitIndex) << 5) + 31 )

Typedef Documentation

◆ BcStateStructure

typedef struct BcStateStructure BcStateStructure

◆ CircularDataBlockInformationStructure

typedef struct CircularDataBlockInformationStructure CircularDataBlockInformationStructure

◆ DeviceStateStructure

typedef struct DeviceStateStructure DeviceStateStructure

◆ GeneralPurposeQueueStateStructure

typedef struct GeneralPurposeQueueStateStructure GeneralPurposeQueueStateStructure

◆ HostBufferStructure

typedef struct HostBufferStructure HostBufferStructure

◆ HostCommandStructure

typedef struct HostCommandStructure HostCommandStructure

◆ HostDataBlockStructure

typedef struct HostDataBlockStructure HostDataBlockStructure

◆ HostDeviceMemoryMapStructure

typedef struct HostDeviceMemoryMapStructure HostDeviceMemoryMapStructure

◆ HostFrameStructure

typedef struct HostFrameStructure HostFrameStructure

◆ HostGeneralPurposeQueueStructure

typedef struct HostGeneralPurposeQueueStructure HostGeneralPurposeQueueStructure

◆ HostInterruptServiceQueueStateStructure

typedef struct HostInterruptServiceQueueStateStructure HostInterruptServiceQueueStateStructure

◆ HostMessageStructure

typedef struct HostMessageStructure HostMessageStructure

◆ MtStackStateStructure

typedef struct MtStackStateStructure MtStackStateStructure

◆ MtStateStructure

typedef struct MtStateStructure MtStateStructure

◆ naiCardInformationStructure

typedef struct naiCardInformationStructure naiCardInformationStructure

◆ naiDeviceCapabilitiesStructure

typedef struct naiDeviceCapabilitiesStructure naiDeviceCapabilitiesStructure

◆ NestingStackStructure

typedef struct NestingStackStructure NestingStackStructure

◆ RtStackStateStructure

typedef struct RtStackStateStructure RtStackStateStructure

◆ RtStateStructure

typedef struct RtStateStructure RtStateStructure

Enumeration Type Documentation

◆ nai_bm_to_host_cmd_code_t

Enumerator
BM_TO_HOST_1553_OPEN 
BM_TO_HOST_1553_CLOSE 
BM_TO_HOST_1553_INITIALIZE 
BM_TO_HOST_1553_FREE 
BM_TO_HOST_1553_READREG 
BM_TO_HOST_1553_WRITEREG 
BM_TO_HOST_1553_READAUXREG 
BM_TO_HOST_1553_WRITEAUXREG 
BM_TO_HOST_1553_READINTREG 
BM_TO_HOST_1553_WRITEINTREG 
BM_TO_HOST_1553_READMEM 
BM_TO_HOST_1553_WRITEMEM 
BM_TO_HOST_1553_SETTIMETAG 
BM_TO_HOST_1553_GETTIMETAG 
BM_TO_HOST_1553_RESETTIMETAG 
BM_TO_HOST_1553_SETTIMETAGRES 
BM_TO_HOST_1553_CONFIGOPSTATS 
BM_TO_HOST_1553_SETIRQCONFIG 
BM_TO_HOST_1553_SETIRQMANIP 
BM_TO_HOST_1553_SETINTSTEERING 
BM_TO_HOST_1553_SETINTVECTOR 
BM_TO_HOST_1553_GETINTSTATUS 
BM_TO_HOST_1553_CLEARINTLATCH 
BM_TO_HOST_1553_SETCLKFREQ 
BM_TO_HOST_1553_SETRESPTIMEOUT 
BM_TO_HOST_1553_CONFIGWATCHDOG 
BM_TO_HOST_1553_SETDCDRCONFIG 
BM_TO_HOST_1553_SETRAMPARITYCHK 
BM_TO_HOST_1553_INTRLOOPBACK 
BM_TO_HOST_1553_RTINITIALIZE 
BM_TO_HOST_1553_RTSETADDRSRC 
BM_TO_HOST_1553_RTGETADDRSRC 
BM_TO_HOST_1553_RTADDRRELATCH 
BM_TO_HOST_1553_RTSETADDR 
BM_TO_HOST_1553_RTGETADDR 
BM_TO_HOST_1553_RTSTART 
BM_TO_HOST_1553_RTSTOP 
BM_TO_HOST_1553_RTDATABLKGETSIZE 
BM_TO_HOST_1553_RTDATABLKCREATE 
BM_TO_HOST_1553_RTDATABLKGETADDR 
BM_TO_HOST_1553_RTDATABLKDELETE 
BM_TO_HOST_1553_RTDATABLKWRITE 
BM_TO_HOST_1553_RTDATABLKREAD 
BM_TO_HOST_1553_RTDATABLKMAP2SUBADD 
BM_TO_HOST_1553_RTDATABLKUNMAP 
BM_TO_HOST_1553_RTTXDATABLKSWAP 
BM_TO_HOST_1553_RTMCIRQENABLE 
BM_TO_HOST_1553_RTMCIRQDISABLE 
BM_TO_HOST_1553_RTMCGETIRQSTATUS 
BM_TO_HOST_1553_RTMCREADDATA 
BM_TO_HOST_1553_RTMCWRITEDATA 
BM_TO_HOST_1553_RTMSGLEGALENABLE 
BM_TO_HOST_1553_RTMSGLEGALDISABLE 
BM_TO_HOST_1553_RTMSGLEGALGETSTATUS 
BM_TO_HOST_1553_RTSTSBITSSET 
BM_TO_HOST_1553_RTSTSBITSUNSET 
BM_TO_HOST_1553_RTSTSBITSGET 
BM_TO_HOST_1553_RTMSGGETFROMSTKRAW 
BM_TO_HOST_1553_RTMSGGETFROMSTKDCD 
BM_TO_HOST_1553_RTBITWORDCONFIG 
BM_TO_HOST_1553_RTBITWORDREAD 
BM_TO_HOST_1553_RTBITWORDWRITE 
BM_TO_HOST_1553_BCCONFIG 
BM_TO_HOST_1553_BCSETMSGRETRYPOLICY 
BM_TO_HOST_1553_BCSTART 
BM_TO_HOST_1553_BCSTOP 
BM_TO_HOST_1553_BCCMDGETWORD 
BM_TO_HOST_1553_BCGETACTIVESTATE 
BM_TO_HOST_1553_BCDATABLKCREATE 
BM_TO_HOST_1553_BCDATABLKDELETE 
BM_TO_HOST_1553_BCDATABLKWRITE 
BM_TO_HOST_1553_BCDATABLKREAD 
BM_TO_HOST_1553_BCFRAMECREATE 
BM_TO_HOST_1553_BCFRAMEDELETE 
BM_TO_HOST_1553_BCCMDCREATE 
BM_TO_HOST_1553_BCCMDDELETE 
BM_TO_HOST_1553_BCMSGCREATEBC2RT 
BM_TO_HOST_1553_BCMSGCREATERT2BC 
BM_TO_HOST_1553_BCMSGCREATERT2RT 
BM_TO_HOST_1553_BCMSGCREATEMODE 
BM_TO_HOST_1553_BCMSGCREATEBC2BCST 
BM_TO_HOST_1553_BCMSGCREATERT2BCST 
BM_TO_HOST_1553_BCMSGCREATEBCSTMODE 
BM_TO_HOST_1553_BCMSGCREATE 
BM_TO_HOST_1553_BCMSGMODIFYBC2RT 
BM_TO_HOST_1553_BCMSGMODIFYRT2BC 
BM_TO_HOST_1553_BCMSGMODIFYRT2RT 
BM_TO_HOST_1553_BCMSGMODIFYMODE 
BM_TO_HOST_1553_BCMSGMODIFYBC2BCST 
BM_TO_HOST_1553_BCMSGMODIFYRT2BCST 
BM_TO_HOST_1553_BCMSGMODIFYBCSTMODE 
BM_TO_HOST_1553_BCMSGMODIFY 
BM_TO_HOST_1553_BCMSGDELETE 
BM_TO_HOST_1553_BCGETMSGBYIDRAW 
BM_TO_HOST_1553_BCGETMSGBYIDDCD 
BM_TO_HOST_1553_BCMSGGAPTIMERENABLE 
BM_TO_HOST_1553_BCSETGPFSTATE 
BM_TO_HOST_1553_BCGETCONDITIONSTATE 
BM_TO_HOST_1553_BCGPQREAD 
BM_TO_HOST_1553_BCGPQGETENTRIESCNT 
BM_TO_HOST_1553_BCGPQGETOPSTATS 
BM_TO_HOST_1553_BCASYNCCREATEBC2RT 
BM_TO_HOST_1553_BCASYNCCREATERT2BC 
BM_TO_HOST_1553_BCASYNCCREATERT2RT 
BM_TO_HOST_1553_BCASYNCCREATEMODE 
BM_TO_HOST_1553_BCASYNCCREATEBC2BCST 
BM_TO_HOST_1553_BCASYNCCREATERT2BCST 
BM_TO_HOST_1553_BCASYNCCREATEBCSTMODE 
BM_TO_HOST_1553_BCASYNCSENDATLOWPRIO 
BM_TO_HOST_1553_BCASYNCSENDATHIGHPRIO 
BM_TO_HOST_1553_BCASYNCMSGREMAINCOUNT 
BM_TO_HOST_1553_MTINITIALIZE 
BM_TO_HOST_1553_MTSTKGETOPSTATS 
BM_TO_HOST_1553_MTSTKSWAP 
BM_TO_HOST_1553_MTGETINFO 
BM_TO_HOST_1553_MTSTART 
BM_TO_HOST_1553_MTSTOP 
BM_TO_HOST_1553_MTPAUSE 
BM_TO_HOST_1553_MTCONTINUE 
BM_TO_HOST_1553_MTMSGMONITORENABLE 
BM_TO_HOST_1553_MTMSGMONITORDISABLE 
BM_TO_HOST_1553_MTMSGMONITORGETSTATUS 
BM_TO_HOST_1553_MTMSGGETFROMSTKRAW 
BM_TO_HOST_1553_MTMSGGETFROMSTKDCD 
BM_TO_HOST_1553_BCASYNCSENDONEATLOWPRIO 
BM_TO_HOST_1553_RTMTINITIALIZE 
BM_TO_HOST_1553_RTMTSTART 
BM_TO_HOST_1553_RTMTSTOP 
BM_TO_HOST_1553_REQUESTMOREDATA 
BM_TO_HOST_1553_READMEMMULTIPLE 
BM_TO_HOST_1553_WRITEMEMMULTIPLE 
BM_TO_HOST_1553_ERROR_UNKNOWN 
BM_TO_HOST_1553_ERROR_NO_PAYLOAD 

◆ nai_host_to_bm_cmd_code_t

Enumerator
HOST_TO_BM_1553_OPEN 
HOST_TO_BM_1553_CLOSE 
HOST_TO_BM_1553_INITIALIZE 
HOST_TO_BM_1553_FREE 
HOST_TO_BM_1553_READREG 
HOST_TO_BM_1553_WRITEREG 
HOST_TO_BM_1553_READAUXREG 
HOST_TO_BM_1553_WRITEAUXREG 
HOST_TO_BM_1553_READINTREG 
HOST_TO_BM_1553_WRITEINTREG 
HOST_TO_BM_1553_READMEM 
HOST_TO_BM_1553_WRITEMEM 
HOST_TO_BM_1553_SETTIMETAG 
HOST_TO_BM_1553_GETTIMETAG 
HOST_TO_BM_1553_RESETTIMETAG 
HOST_TO_BM_1553_SETTIMETAGRES 
HOST_TO_BM_1553_CONFIGOPSTATS 
HOST_TO_BM_1553_SETIRQCONFIG 
HOST_TO_BM_1553_SETIRQMANIP 
HOST_TO_BM_1553_SETINTSTEERING 
HOST_TO_BM_1553_SETINTVECTOR 
HOST_TO_BM_1553_GETINTSTATUS 
HOST_TO_BM_1553_CLEARINTLATCH 
HOST_TO_BM_1553_SETCLKFREQ 
HOST_TO_BM_1553_SETRESPTIMEOUT 
HOST_TO_BM_1553_CONFIGWATCHDOG 
HOST_TO_BM_1553_SETDCDRCONFIG 
HOST_TO_BM_1553_SETRAMPARITYCHK 
HOST_TO_BM_1553_INTRLOOPBACK 
HOST_TO_BM_1553_RTINITIALIZE 
HOST_TO_BM_1553_RTSETADDRSRC 
HOST_TO_BM_1553_RTGETADDRSRC 
HOST_TO_BM_1553_RTADDRRELATCH 
HOST_TO_BM_1553_RTSETADDR 
HOST_TO_BM_1553_RTGETADDR 
HOST_TO_BM_1553_RTSTART 
HOST_TO_BM_1553_RTSTOP 
HOST_TO_BM_1553_RTDATABLKGETSIZE 
HOST_TO_BM_1553_RTDATABLKCREATE 
HOST_TO_BM_1553_RTDATABLKGETADDR 
HOST_TO_BM_1553_RTDATABLKDELETE 
HOST_TO_BM_1553_RTDATABLKWRITE 
HOST_TO_BM_1553_RTDATABLKREAD 
HOST_TO_BM_1553_RTDATABLKMAP2SUBADD 
HOST_TO_BM_1553_RTDATABLKUNMAP 
HOST_TO_BM_1553_RTTXDATABLKSWAP 
HOST_TO_BM_1553_RTMCIRQENABLE 
HOST_TO_BM_1553_RTMCIRQDISABLE 
HOST_TO_BM_1553_RTMCGETIRQSTATUS 
HOST_TO_BM_1553_RTMCREADDATA 
HOST_TO_BM_1553_RTMCWRITEDATA 
HOST_TO_BM_1553_RTMSGLEGALENABLE 
HOST_TO_BM_1553_RTMSGLEGALDISABLE 
HOST_TO_BM_1553_RTMSGLEGALGETSTATUS 
HOST_TO_BM_1553_RTSTSBITSSET 
HOST_TO_BM_1553_RTSTSBITSUNSET 
HOST_TO_BM_1553_RTSTSBITSGET 
HOST_TO_BM_1553_RTMSGGETFROMSTKRAW 
HOST_TO_BM_1553_RTMSGGETFROMSTKDCD 
HOST_TO_BM_1553_RTBITWORDCONFIG 
HOST_TO_BM_1553_RTBITWORDREAD 
HOST_TO_BM_1553_RTBITWORDWRITE 
HOST_TO_BM_1553_BCCONFIG 
HOST_TO_BM_1553_BCSETMSGRETRYPOLICY 
HOST_TO_BM_1553_BCSTART 
HOST_TO_BM_1553_BCSTOP 
HOST_TO_BM_1553_BCCMDGETWORD 
HOST_TO_BM_1553_BCGETACTIVESTATE 
HOST_TO_BM_1553_BCDATABLKCREATE 
HOST_TO_BM_1553_BCDATABLKDELETE 
HOST_TO_BM_1553_BCDATABLKWRITE 
HOST_TO_BM_1553_BCDATABLKREAD 
HOST_TO_BM_1553_BCFRAMECREATE 
HOST_TO_BM_1553_BCFRAMEDELETE 
HOST_TO_BM_1553_BCCMDCREATE 
HOST_TO_BM_1553_BCCMDDELETE 
HOST_TO_BM_1553_BCMSGCREATEBC2RT 
HOST_TO_BM_1553_BCMSGCREATERT2BC 
HOST_TO_BM_1553_BCMSGCREATERT2RT 
HOST_TO_BM_1553_BCMSGCREATEMODE 
HOST_TO_BM_1553_BCMSGCREATEBC2BCST 
HOST_TO_BM_1553_BCMSGCREATERT2BCST 
HOST_TO_BM_1553_BCMSGCREATEBCSTMODE 
HOST_TO_BM_1553_BCMSGCREATE 
HOST_TO_BM_1553_BCMSGMODIFYBC2RT 
HOST_TO_BM_1553_BCMSGMODIFYRT2BC 
HOST_TO_BM_1553_BCMSGMODIFYRT2RT 
HOST_TO_BM_1553_BCMSGMODIFYMODE 
HOST_TO_BM_1553_BCMSGMODIFYBC2BCST 
HOST_TO_BM_1553_BCMSGMODIFYRT2BCST 
HOST_TO_BM_1553_BCMSGMODIFYBCSTMODE 
HOST_TO_BM_1553_BCMSGMODIFY 
HOST_TO_BM_1553_BCMSGDELETE 
HOST_TO_BM_1553_BCGETMSGBYIDRAW 
HOST_TO_BM_1553_BCGETMSGBYIDDCD 
HOST_TO_BM_1553_BCMSGGAPTIMERENABLE 
HOST_TO_BM_1553_BCSETGPFSTATE 
HOST_TO_BM_1553_BCGETCONDITIONSTATE 
HOST_TO_BM_1553_BCGPQREAD 
HOST_TO_BM_1553_BCGPQGETENTRIESCNT 
HOST_TO_BM_1553_BCGPQGETOPSTATS 
HOST_TO_BM_1553_BCASYNCCREATEBC2RT 
HOST_TO_BM_1553_BCASYNCCREATERT2BC 
HOST_TO_BM_1553_BCASYNCCREATERT2RT 
HOST_TO_BM_1553_BCASYNCCREATEMODE 
HOST_TO_BM_1553_BCASYNCCREATEBC2BCST 
HOST_TO_BM_1553_BCASYNCCREATERT2BCST 
HOST_TO_BM_1553_BCASYNCCREATEBCSTMODE 
HOST_TO_BM_1553_BCASYNCSENDATLOWPRIO 
HOST_TO_BM_1553_BCASYNCSENDATHIGHPRIO 
HOST_TO_BM_1553_BCASYNCMSGREMAINCOUNT 
HOST_TO_BM_1553_MTINITIALIZE 
HOST_TO_BM_1553_MTSTKGETOPSTATS 
HOST_TO_BM_1553_MTSTKSWAP 
HOST_TO_BM_1553_MTGETINFO 
HOST_TO_BM_1553_MTSTART 
HOST_TO_BM_1553_MTSTOP 
HOST_TO_BM_1553_MTPAUSE 
HOST_TO_BM_1553_MTCONTINUE 
HOST_TO_BM_1553_MTMSGMONITORENABLE 
HOST_TO_BM_1553_MTMSGMONITORDISABLE 
HOST_TO_BM_1553_MTMSGMONITORGETSTATUS 
HOST_TO_BM_1553_MTMSGGETFROMSTKRAW 
HOST_TO_BM_1553_MTMSGGETFROMSTKDCD 
HOST_TO_BM_1553_BCASYNCSENDONEATLOWPRIO 
HOST_TO_BM_1553_RTMTINITIALIZE 
HOST_TO_BM_1553_RTMTSTART 
HOST_TO_BM_1553_RTMTSTOP 
HOST_TO_BM_1553_REQUESTMOREDATA 
HOST_TO_BM_1553_READMEMMULTIPLE 
HOST_TO_BM_1553_WRITEMEMMULTIPLE 

Function Documentation

◆ bc_ConfigureDefault()

nai_1553_t bc_ConfigureDefault ( int16_t swDevice)

◆ bc_Frame_Write()

nai_1553_t bc_Frame_Write ( int16_t swDevice,
uint16_t wFrameId,
NestingStackStructure * nsspNestingStack )

◆ bc_Frame_WriteCommands()

nai_1553_t bc_Frame_WriteCommands ( int16_t swDevice,
uint16_t wFrameId,
NestingStackStructure * nsspNestingStack )

◆ bc_Frame_WriteMajor()

nai_1553_t bc_Frame_WriteMajor ( int16_t swDevice,
uint16_t wFrameId,
NestingStackStructure * nsspNestingStack )

◆ bc_Frame_WriteMinor()

nai_1553_t bc_Frame_WriteMinor ( int16_t swDevice,
uint16_t wFrameId,
NestingStackStructure * nsspNestingStack )

◆ bc_Gpf_SetState()

nai_1553_t bc_Gpf_SetState ( int16_t swDevice,
uint16_t wGpfNumber,
uint16_t wEffect )

◆ bc_Gpq_Fill_Host()

nai_1553_t bc_Gpq_Fill_Host ( int16_t swDevice)

◆ bc_Gpq_Read()

nai_1553_t bc_Gpq_Read ( int16_t swDevice,
naiGpqEntryStructure * gespGpqEntry,
bool_t bIsUserInitiatedGpqReadRequest )

◆ bc_Message_GetByIdRaw()

nai_1553_t bc_Message_GetByIdRaw ( int16_t swDevice,
int16_t swMessageId,
uint16_t * wapBuffer,
uint16_t wIsPurgeRequired )

◆ bc_Message_GetInformation()

nai_1553_t bc_Message_GetInformation ( int16_t swDevice,
uint16_t * wpMessageBuffer,
uint16_t * wpTxTime,
uint16_t * wpType,
uint16_t * wpDataWordsCount )

◆ bc_Message_Write()

nai_1553_t bc_Message_Write ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockIdForMessage1,
uint16_t wBcControlWordForMessage1,
uint16_t wCommandWord1ForMessage1,
uint16_t wCommandWord2ForMessage1,
uint16_t wGapTimeForMessage1,
int16_t swDataBlockIdForMessage2,
uint16_t wBcControlWordForMessage2,
uint16_t wCommandWord1ForMessage2,
uint16_t wCommandWord2ForMessage2,
uint16_t wGapTimeForMessage2,
uint32_t dwOptions,
HostMessageStructure * hmspMessage,
HostDataBlockStructure * hdbspDataBlock1,
HostDataBlockStructure * hdbspDataBlock2,
bool_t bIsNewMessage )

◆ convert16to32BitBuffer()

int32_t convert16to32BitBuffer ( int32_t bufferSize,
uint16_t * inarray16,
uint32_t * outarray32 )

◆ convert32to16BitBuffer()

int32_t convert32to16BitBuffer ( int32_t bufferSize,
uint32_t * inarray32,
uint16_t * outarray16 )

◆ Device_Memory_BottomSection_AllocateContinuity()

nai_1553_t Device_Memory_BottomSection_AllocateContinuity ( HostDeviceMemoryMapStructure * hdmmspDeviceMemoryMap,
uint32_t * dwpAllocationSize,
uint16_t wAlignment,
bool_t * bpIsAllocationSuccessfullyAccomplished,
uint32_t * dwpAllocationBaseAddress )

◆ Device_Memory_BottomSection_FreeAll()

nai_1553_t Device_Memory_BottomSection_FreeAll ( HostDeviceMemoryMapStructure * hdmmspDeviceMemoryMap)

◆ Device_Memory_Initialize()

nai_1553_t Device_Memory_Initialize ( HostDeviceMemoryMapStructure * hdmmspDeviceMemoryMap,
uint32_t dwRamSize )

◆ Device_Memory_TopSection_AllocateContinuity()

nai_1553_t Device_Memory_TopSection_AllocateContinuity ( HostDeviceMemoryMapStructure * hdmmspDeviceMemoryMap,
uint32_t dwBaseRegionAddress,
uint32_t dwBottomRegionAddress,
uint32_t * dwpAllocationSize,
uint16_t wAlignment,
bool_t * bpIsAllocationSuccessfullyAccomplished,
uint32_t * dwpAllocationBaseAddress )

◆ Device_Memory_TopSection_CatchRegion()

nai_1553_t Device_Memory_TopSection_CatchRegion ( HostDeviceMemoryMapStructure * hdmmspDeviceMemoryMap,
uint32_t dwBaseRegionAddress,
uint32_t dwBottomRegionAddress )

◆ Device_Memory_TopSection_FreeRegion()

nai_1553_t Device_Memory_TopSection_FreeRegion ( HostDeviceMemoryMapStructure * hdmmspDeviceMemoryMap,
uint32_t dwBaseRegionAddress,
uint32_t dwBottomRegionAddress )

◆ device_Reset()

nai_1553_t device_Reset ( int16_t swDevice)

◆ get1stNibble()

uint8_t get1stNibble ( uint32_t value)

◆ get2ndNibble()

uint8_t get2ndNibble ( uint32_t value)

◆ get3rdNibble()

uint8_t get3rdNibble ( uint32_t value)

◆ get4thNibble()

uint8_t get4thNibble ( uint32_t value)

◆ getHiWord()

uint16_t getHiWord ( uint32_t value)

◆ getLoWord()

uint16_t getLoWord ( uint32_t value)

◆ getWordCountFromCmdWord()

uint16_t getWordCountFromCmdWord ( uint16_t cmdWord)

◆ isFTxAssistedMode()

bool_t isFTxAssistedMode ( int32_t cardIndex,
int32_t module )

◆ M1553_Read16On32Bounds()

nai_status_t M1553_Read16On32Bounds ( int32_t cardIndex,
int32_t module,
uint32_t offset,
uint32_t stride,
uint32_t count,
uint32_t width,
void * data )

◆ M1553_ReadReg16On32Bounds()

nai_status_t M1553_ReadReg16On32Bounds ( int32_t cardIndex,
int32_t module,
uint32_t offset,
uint16_t * outdata )

◆ M1553_Write16On32Bounds()

nai_status_t M1553_Write16On32Bounds ( int32_t cardIndex,
int32_t module,
uint32_t offset,
uint32_t stride,
uint32_t count,
uint32_t width,
const void * data )

◆ M1553_WriteReg16On32Bounds()

nai_status_t M1553_WriteReg16On32Bounds ( int32_t cardIndex,
int32_t module,
uint32_t offset,
uint16_t data )

◆ M1553_WriteRegMask16On32Bounds()

nai_status_t M1553_WriteRegMask16On32Bounds ( int32_t cardIndex,
int32_t module,
uint32_t offset,
uint16_t mask,
uint16_t data )

◆ M1553_WriteZeros16()

nai_status_t M1553_WriteZeros16 ( int32_t cardIndex,
int32_t module,
uint32_t offset,
uint32_t count )

◆ M1553_WriteZeros32()

nai_status_t M1553_WriteZeros32 ( int32_t cardIndex,
int32_t module,
uint32_t offset,
uint32_t count )

◆ M1553BM_CheckResponse()

nai_1553_t M1553BM_CheckResponse ( uint32_t * rxbuffer,
uint16_t seq,
nai_bm_to_host_cmd_code_t cmdCode,
uint32_t * wordcount )

◆ makeDoubleWord()

uint32_t makeDoubleWord ( uint16_t hiWord,
uint16_t loWord )

◆ mt_ConfigureDefault()

nai_1553_t mt_ConfigureDefault ( int16_t swDevice)

◆ mt_Initialize()

nai_1553_t mt_Initialize ( int16_t swDevice,
uint16_t wStackMode,
uint16_t wCommandStackSize,
uint16_t wDataStackSize,
uint32_t dwOptions )

◆ mt_Message_GetFromStackRaw()

nai_1553_t mt_Message_GetFromStackRaw ( int16_t swDevice,
MtStackStateStructure * mssspTargetStackState,
uint16_t * wapBuffer,
uint16_t * wpMessageTimeTagRolloverCounter,
BOOLEAN bIsNextMessageRequired,
BOOLEAN bIsMessagePurgeRequired )

◆ mt_MessageCaptureTrigger_ExamineMessage()

nai_1553_t mt_MessageCaptureTrigger_ExamineMessage ( int16_t swDevice,
uint16_t * wapBuffer )

◆ mt_ResetStack()

nai_1553_t mt_ResetStack ( int16_t swDevice,
MtStackStateStructure * mssspTargetStackState )

◆ mt_ResetStacks()

nai_1553_t mt_ResetStacks ( int16_t swDevice)

◆ mt_Start()

nai_1553_t mt_Start ( int16_t swDevice)

◆ naibrd_1760_BcAsynchronousMessageCreateBcToBroadcast()

nai_1760_t naibrd_1760_BcAsynchronousMessageCreateBcToBroadcast ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t * wapBuffer )
extern

◆ naibrd_1760_BcAsynchronousMessageCreateBcToRt()

nai_1760_t naibrd_1760_BcAsynchronousMessageCreateBcToRt ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRt,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t * wapBuffer )
extern

◆ naibrd_1760_BcAsynchronousMessageCreateBroadcastMode()

nai_1760_t naibrd_1760_BcAsynchronousMessageCreateBroadcastMode ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wMessageDirection,
uint16_t wModeCommand,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t * wapBuffer )
extern

◆ naibrd_1760_BcAsynchronousMessageCreateMode()

nai_1760_t naibrd_1760_BcAsynchronousMessageCreateMode ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wRt,
uint16_t wMessageDirection,
uint16_t wModeCommand,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t * wapBuffer )
extern

◆ naibrd_1760_BcAsynchronousMessageCreateRtToBc()

nai_1760_t naibrd_1760_BcAsynchronousMessageCreateRtToBc ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wTransmitterRt,
uint16_t wTransmitterRtSubaddress,
uint16_t wWordCount,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t * wapBuffer )
extern

◆ naibrd_1760_BcAsynchronousMessageCreateRtToBroadcast()

nai_1760_t naibrd_1760_BcAsynchronousMessageCreateRtToBroadcast ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wTransmitterRt,
uint16_t wTransmitterRtSubaddress,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t * wapBuffer )
extern

◆ naibrd_1760_BcAsynchronousMessageCreateRtToRt()

nai_1760_t naibrd_1760_BcAsynchronousMessageCreateRtToRt ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRt,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wTransmitterRt,
uint16_t wTransmitterRtSubaddress,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t * wapBuffer )
extern

◆ naibrd_1760_BcAsynchronousMessageRemainingCount()

nai_1760_t naibrd_1760_BcAsynchronousMessageRemainingCount ( int16_t swDevice)
extern

◆ naibrd_1760_BcAsynchronousMessageSendAtHighPriority()

nai_1760_t naibrd_1760_BcAsynchronousMessageSendAtHighPriority ( int16_t swDevice,
uint16_t wMessageId,
uint16_t wTimeFactor )
extern

◆ naibrd_1760_BcAsynchronousMessageSendAtHighPriority_ExecuteOnce()

nai_1760_t naibrd_1760_BcAsynchronousMessageSendAtHighPriority_ExecuteOnce ( int16_t swDevice,
uint16_t wMessageId,
uint16_t wTimeFactor )
extern

◆ naibrd_1760_BcAsynchronousMessageSendAtLowPriority()

nai_1760_t naibrd_1760_BcAsynchronousMessageSendAtLowPriority ( int16_t swDevice,
uint16_t * wpRemainingMessageCount,
uint16_t wTimeFactor )
extern

◆ naibrd_1760_BcAsynchronousMessageSendAtLowPriority_ExecuteOnce()

nai_1760_t naibrd_1760_BcAsynchronousMessageSendAtLowPriority_ExecuteOnce ( int16_t swDevice,
uint16_t * wpRemainingMessageCount,
uint16_t wTimeFactor )
extern

◆ naibrd_1760_BcCommandCreate()

nai_1760_t naibrd_1760_BcCommandCreate ( int16_t swDevice,
int16_t swCommandId,
uint16_t wOpcode,
uint16_t wCondition,
uint32_t dwParameter1,
uint32_t dwParameter2,
uint32_t dwReserved )
extern

◆ naibrd_1760_BcCommandDelete()

nai_1760_t naibrd_1760_BcCommandDelete ( int16_t swDevice,
int16_t swCommandId )
extern

◆ naibrd_1760_BcCommandGetWord()

nai_1760_t naibrd_1760_BcCommandGetWord ( uint16_t wHardwareOpcode,
uint16_t wCondition,
uint16_t * wpCommandOpcode )
extern

◆ naibrd_1760_BcConfig()

nai_1760_t naibrd_1760_BcConfig ( int16_t swDevice,
uint32_t dwOptions )
extern

◆ naibrd_1760_BcConfigureMessageGapTimerEnable()

nai_1760_t naibrd_1760_BcConfigureMessageGapTimerEnable ( int16_t swDevice,
uint16_t bIsMessageGapTimeFieldEnabled )
extern

◆ naibrd_1760_BcDataBlockCreate()

nai_1760_t naibrd_1760_BcDataBlockCreate ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t wDataBlockSize,
uint16_t * wapBuffer,
uint16_t wBufferSize )
extern

◆ naibrd_1760_BcDataBlockDelete()

nai_1760_t naibrd_1760_BcDataBlockDelete ( int16_t swDevice,
int16_t swDataBlockId )
extern

◆ naibrd_1760_BcDataBlockRead()

nai_1760_t naibrd_1760_BcDataBlockRead ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t * wapBuffer,
uint16_t wBufferSize,
uint16_t wOffset )
extern

◆ naibrd_1760_BcDataBlockWrite()

nai_1760_t naibrd_1760_BcDataBlockWrite ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t * wapBuffer,
uint16_t wBufferSize,
uint16_t wOffset )
extern

◆ naibrd_1760_BcFrameCreate()

nai_1760_t naibrd_1760_BcFrameCreate ( int16_t swDevice,
int16_t swFrameId,
uint16_t wFrameType,
int16_t * swapCommandIds,
uint16_t wCommandCount,
uint16_t wFrameTime,
uint16_t wFlags )
extern

◆ naibrd_1760_BcFrameDelete()

nai_1760_t naibrd_1760_BcFrameDelete ( int16_t swDevice,
int16_t swFrameId )
extern

◆ naibrd_1760_BcGetActivationState()

nai_1760_t naibrd_1760_BcGetActivationState ( int16_t swDevice,
uint16_t * wpCurrentState )
extern

◆ naibrd_1760_BcGetConditionState()

nai_1760_t naibrd_1760_BcGetConditionState ( int16_t swDevice,
uint16_t wConditionCode,
uint16_t * wpCurrentState )
extern

◆ naibrd_1760_BcGetMessageByIdRaw()

nai_1760_t naibrd_1760_BcGetMessageByIdRaw ( int16_t swDevice,
int16_t swMessageId,
uint16_t * wapBuffer,
uint16_t wIsPurgeRequired )
extern

◆ naibrd_1760_BcGpqGetEntriesCount()

nai_1760_t naibrd_1760_BcGpqGetEntriesCount ( int16_t swDevice)
extern

◆ naibrd_1760_BcGpqGetOperationalStatistics()

nai_1760_t naibrd_1760_BcGpqGetOperationalStatistics ( int16_t swDevice,
naiGpqOperationalStatisticsStructure * gosspGpqOperationalStatistics,
uint16_t bIsResetOfHighestRecordedPercentageRequired )
extern

◆ naibrd_1760_BcGpqRead()

nai_1760_t naibrd_1760_BcGpqRead ( int16_t swDevice,
naiGpqEntryStructure * gespGpqEntry )
extern

◆ naibrd_1760_BcMessageCreate()

nai_1760_t naibrd_1760_BcMessageCreate ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockIdForMessage1,
uint16_t wBcControlWordForMessage1,
uint16_t wCommandWord1ForMessage1,
uint16_t wCommandWord2ForMessage1,
uint16_t wGapTimeForMessage1,
int16_t swDataBlockIdForMessage2,
uint16_t wBcControlWordForMessage2,
uint16_t wCommandWord1ForMessage2,
uint16_t wCommandWord2ForMessage2,
uint16_t wGapTimeForMessage2,
uint32_t dwOptions )
extern

◆ naibrd_1760_BcMessageCreateBcToBroadcast()

nai_1760_t naibrd_1760_BcMessageCreateBcToBroadcast ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wGapTime,
uint32_t dwOptions )
extern

◆ naibrd_1760_BcMessageCreateBcToRt()

nai_1760_t naibrd_1760_BcMessageCreateBcToRt ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRt,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wGapTime,
uint32_t dwOptions )
extern

◆ naibrd_1760_BcMessageCreateBroadcastMode()

nai_1760_t naibrd_1760_BcMessageCreateBroadcastMode ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wMessageDirection,
uint16_t wModeCommand,
uint16_t wGapTime,
uint32_t dwOptions )
extern

◆ naibrd_1760_BcMessageCreateMode()

nai_1760_t naibrd_1760_BcMessageCreateMode ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wRt,
uint16_t wMessageDirection,
uint16_t wModeCommand,
uint16_t wGapTime,
uint32_t dwOptions )
extern

◆ naibrd_1760_BcMessageCreateRtToBc()

nai_1760_t naibrd_1760_BcMessageCreateRtToBc ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wTransmitterRt,
uint16_t wTransmitterRtSubaddress,
uint16_t wWordCount,
uint16_t wGapTime,
uint32_t dwOptions )
extern

◆ naibrd_1760_BcMessageCreateRtToBroadcast()

nai_1760_t naibrd_1760_BcMessageCreateRtToBroadcast ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wTransmitterRt,
uint16_t wTransmitterRtSubaddress,
uint16_t wGapTime,
uint32_t dwOptions )
extern

◆ naibrd_1760_BcMessageCreateRtToRt()

nai_1760_t naibrd_1760_BcMessageCreateRtToRt ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRt,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wTransmitterRt,
uint16_t wTransmitterRtSubaddress,
uint16_t wGapTime,
uint32_t dwOptions )
extern

◆ naibrd_1760_BcMessageDecodeRaw()

nai_1760_t naibrd_1760_BcMessageDecodeRaw ( int16_t swDevice,
uint16_t * wapBuffer,
naiDecodedMessageStructure * dmspDecodedMessage )
extern

◆ naibrd_1760_BcMessageDelete()

nai_1760_t naibrd_1760_BcMessageDelete ( int16_t swDevice,
int16_t swMessageId )
extern

◆ naibrd_1760_BcMessageGetByIdDecoded()

nai_1760_t naibrd_1760_BcMessageGetByIdDecoded ( int16_t swDevice,
int16_t swMessageId,
naiDecodedMessageStructure * dmspDecodedMessage,
uint16_t wIsPurgeRequired )
extern

◆ naibrd_1760_BcMessageModify()

nai_1760_t naibrd_1760_BcMessageModify ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockIdForMessage1,
uint16_t wBcControlWordForMessage1,
uint16_t wCommandWord1ForMessage1,
uint16_t wCommandWord2ForMessage1,
uint16_t wGapTimeForMessage1,
int16_t swDataBlockIdForMessage2,
uint16_t wBcControlWordForMessage2,
uint16_t wCommandWord1ForMessage2,
uint16_t wCommandWord2ForMessage2,
uint16_t wGapTimeForMessage2,
uint16_t wModificationFlags )
extern

◆ naibrd_1760_BcMessageModifyBcToBroadcast()

nai_1760_t naibrd_1760_BcMessageModifyBcToBroadcast ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t wModificationFlags )
extern

◆ naibrd_1760_BcMessageModifyBcToRt()

nai_1760_t naibrd_1760_BcMessageModifyBcToRt ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRt,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t wModificationFlags )
extern

◆ naibrd_1760_BcMessageModifyBroadcastMode()

nai_1760_t naibrd_1760_BcMessageModifyBroadcastMode ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wMessageDirection,
uint16_t wModeCommand,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t wModificationFlags )
extern

◆ naibrd_1760_BcMessageModifyMode()

nai_1760_t naibrd_1760_BcMessageModifyMode ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wRt,
uint16_t wMessageDirection,
uint16_t wModeCommand,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t wModificationFlags )
extern

◆ naibrd_1760_BcMessageModifyRtToBc()

nai_1760_t naibrd_1760_BcMessageModifyRtToBc ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wTransmitterRt,
uint16_t wTransmitterRtSubaddress,
uint16_t wWordCount,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t wModificationFlags )
extern

◆ naibrd_1760_BcMessageModifyRtToBroadcast()

nai_1760_t naibrd_1760_BcMessageModifyRtToBroadcast ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wTransmitterRt,
uint16_t wTransmitterRtSubaddress,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t wModificationFlags )
extern

◆ naibrd_1760_BcMessageModifyRtToRt()

nai_1760_t naibrd_1760_BcMessageModifyRtToRt ( int16_t swDevice,
int16_t swMessageId,
int16_t swDataBlockId,
uint16_t wReceiverRt,
uint16_t wReceiverRtSubaddress,
uint16_t wWordCount,
uint16_t wTransmitterRt,
uint16_t wTransmitterRtSubaddress,
uint16_t wGapTime,
uint32_t dwOptions,
uint16_t wModificationFlags )
extern

◆ naibrd_1760_BcSetGpfState()

nai_1760_t naibrd_1760_BcSetGpfState ( int16_t swDevice,
uint16_t wGpfNumber,
uint16_t wEffect )
extern

◆ naibrd_1760_BcSetMessageRetryPolicy()

nai_1760_t naibrd_1760_BcSetMessageRetryPolicy ( int16_t swDevice,
uint16_t wNumberOfRetries,
uint16_t wFirstRetryBus,
uint16_t wSecondRetryBus,
uint16_t wReserved )
extern

◆ naibrd_1760_BcStart()

nai_1760_t naibrd_1760_BcStart ( int16_t swDevice,
int16_t swFrameId,
int32_t sdwFrameCount )
extern

◆ naibrd_1760_BcStop()

nai_1760_t naibrd_1760_BcStop ( int16_t swDevice)
extern

◆ naibrd_1760_Close()

nai_1760_t naibrd_1760_Close ( int16_t swDevice)
extern

◆ naibrd_1760_ConfigureWatchdogTimeout()

nai_1760_t naibrd_1760_ConfigureWatchdogTimeout ( int16_t swDevice,
uint16_t bIsWatchdogEnabled,
uint16_t wWatchdogTimeout )
extern

◆ naibrd_1760_EnableExecution()

nai_1760_t naibrd_1760_EnableExecution ( int16_t swDevice,
bool_t enabled )
extern

◆ naibrd_1760_Free()

nai_1760_t naibrd_1760_Free ( int16_t swDevice)
extern

◆ naibrd_1760_GetTimeTag()

nai_1760_t naibrd_1760_GetTimeTag ( int16_t swDevice,
uint16_t * wpTimeTag )
extern

◆ naibrd_1760_Initialize()

nai_1760_t naibrd_1760_Initialize ( int16_t swDevice,
uint16_t wAccess,
uint16_t wMode,
uint32_t dwSizeOfAllocatedMemory,
uint32_t dwRegistersAddress,
uint32_t dwMemoryAddress )
extern

◆ naibrd_1760_InternalLoopback()

nai_1760_t naibrd_1760_InternalLoopback ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t * busAPassed,
bool_t * busBPassed )
extern

◆ naibrd_1760_MtContinue()

nai_1760_t naibrd_1760_MtContinue ( int16_t swDevice)
extern

◆ naibrd_1760_MtGetInformation()

nai_1760_t naibrd_1760_MtGetInformation ( int16_t swDevice,
naiMtInformationStruct * mispMtInformation )
extern

◆ naibrd_1760_MtInitialize()

nai_1760_t naibrd_1760_MtInitialize ( int16_t swDevice,
uint16_t wStackMode,
uint16_t wCommandStackSize,
uint16_t wDataStackSize,
uint32_t dwOptions )
extern

◆ naibrd_1760_MtMessageDecodeRaw()

nai_1760_t naibrd_1760_MtMessageDecodeRaw ( int16_t swDevice,
uint16_t * wapBuffer,
naiDecodedMessageStructure * dmspDecodedMessage )
extern

◆ naibrd_1760_MtMessageGetFromStackDecoded()

nai_1760_t naibrd_1760_MtMessageGetFromStackDecoded ( int16_t swDevice,
naiDecodedMessageStructure * dmspDecodedMessage,
uint16_t wMessageLocationAndRemoval,
uint16_t wStackSelector )
extern

◆ naibrd_1760_MtMessageGetFromStackRaw()

nai_1760_t naibrd_1760_MtMessageGetFromStackRaw ( int16_t swDevice,
uint16_t * wapBuffer,
uint16_t wBufferSize,
uint16_t wStackSelector )
extern

◆ naibrd_1760_MtMessageMonitoringDisable()

nai_1760_t naibrd_1760_MtMessageMonitoringDisable ( int16_t swDevice,
uint16_t wRtAddress,
uint16_t wMessageDirection,
uint32_t dwRtSubaddressMask )
extern

◆ naibrd_1760_MtMessageMonitoringEnable()

nai_1760_t naibrd_1760_MtMessageMonitoringEnable ( int16_t swDevice,
uint16_t wRtAddress,
uint16_t wMessageDirection,
uint32_t dwRtSubaddressMask )
extern

◆ naibrd_1760_MtMessageMonitoringGetStatus()

nai_1760_t naibrd_1760_MtMessageMonitoringGetStatus ( int16_t swDevice,
uint16_t wRtAddress,
uint16_t wMessageDirection,
uint32_t * dwpRtSubaddressMask )
extern

◆ naibrd_1760_MtPause()

nai_1760_t naibrd_1760_MtPause ( int16_t swDevice)
extern

◆ naibrd_1760_MtStackGetOperationalStatistics()

nai_1760_t naibrd_1760_MtStackGetOperationalStatistics ( int16_t swDevice,
naiStackOperationalStatisticsStruct * sosspStackOperationalStatistics,
uint16_t wStackSelector,
uint16_t bIsResetOfHighestRecordedPercentageRequired )
extern

◆ naibrd_1760_MtStackSwap()

nai_1760_t naibrd_1760_MtStackSwap ( int16_t swDevice)
extern

◆ naibrd_1760_MtStart()

nai_1760_t naibrd_1760_MtStart ( int16_t swDevice)
extern

◆ naibrd_1760_MtStop()

nai_1760_t naibrd_1760_MtStop ( int16_t swDevice)
extern

◆ naibrd_1760_Open()

nai_1760_t naibrd_1760_Open ( int32_t cardIndex,
int32_t module,
int32_t channel,
int16_t swDevice )
extern

◆ naibrd_1760_ReadIntReg()

uint32_t naibrd_1760_ReadIntReg ( int16_t swDevice,
uint32_t wIntRegisterAddress )
extern

◆ naibrd_1760_ReadMem()

uint16_t naibrd_1760_ReadMem ( int16_t swDevice,
uint32_t wDeviceMemoryAddress )
extern

◆ naibrd_1760_ResetTimeTag()

nai_1760_t naibrd_1760_ResetTimeTag ( int16_t swDevice)
extern

◆ naibrd_1760_RT_GetAddress()

nai_1760_t naibrd_1760_RT_GetAddress ( int16_t swDevice,
uint8_t * outaddress )
extern

◆ naibrd_1760_RT_SetAddress()

nai_1760_t naibrd_1760_RT_SetAddress ( int16_t swDevice,
uint8_t address )
extern

◆ naibrd_1760_RtAddressRelatch()

nai_1760_t naibrd_1760_RtAddressRelatch ( int16_t swDevice)
extern

◆ naibrd_1760_RtBITWordConfigure()

nai_1760_t naibrd_1760_RtBITWordConfigure ( int16_t swDevice,
uint16_t wWordLocation )
extern

◆ naibrd_1760_RtBITWordRead()

nai_1760_t naibrd_1760_RtBITWordRead ( int16_t swDevice,
uint16_t wWordLocation,
uint16_t * wpWord )
extern

◆ naibrd_1760_RtBITWordWrite()

nai_1760_t naibrd_1760_RtBITWordWrite ( int16_t swDevice,
uint16_t wWord )
extern

◆ naibrd_1760_RtDataBlockCreate()

nai_1760_t naibrd_1760_RtDataBlockCreate ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t wDataBlockType,
uint16_t * wapBuffer,
uint16_t wBufferSize )
extern

◆ naibrd_1760_RtDataBlockDelete()

nai_1760_t naibrd_1760_RtDataBlockDelete ( int16_t swDevice,
int16_t swDataBlockId )
extern

◆ naibrd_1760_RtDataBlockGetAddress()

nai_1760_t naibrd_1760_RtDataBlockGetAddress ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t * wpDeviceMemoryAddress )
extern

◆ naibrd_1760_RtDataBlockGetSize()

nai_1760_t naibrd_1760_RtDataBlockGetSize ( uint16_t wDataBlockType,
uint16_t * wpSizeOfAllocatedDeviceMemory,
uint16_t * wpActualSizeOfDataBlock )
extern

◆ naibrd_1760_RtDataBlockMapToSubaddress()

nai_1760_t naibrd_1760_RtDataBlockMapToSubaddress ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t wSubaddress,
uint16_t wMessageTypes,
uint16_t wIrqOptions,
uint16_t bIsSubaddressLegalizationRequested )
extern

◆ naibrd_1760_RtDataBlockRead()

nai_1760_t naibrd_1760_RtDataBlockRead ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t * wapBuffer,
uint16_t wBufferSize,
uint16_t wOffset )
extern

◆ naibrd_1760_RtDataBlockUnmapFromSubaddress()

nai_1760_t naibrd_1760_RtDataBlockUnmapFromSubaddress ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t wSubaddress,
uint16_t wMessageTypes )
extern

◆ naibrd_1760_RtDataBlockWrite()

nai_1760_t naibrd_1760_RtDataBlockWrite ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t * wapBuffer,
uint16_t wBufferSize,
uint16_t wOffset )
extern

◆ naibrd_1760_RtGetAddress()

nai_1760_t naibrd_1760_RtGetAddress ( int16_t swDevice,
uint16_t * wpRtAddress )
extern

◆ naibrd_1760_RtGetAddressSource()

nai_1760_t naibrd_1760_RtGetAddressSource ( int16_t swDevice,
uint16_t * wpRtAddressSource )
extern

◆ naibrd_1760_RtInitialize()

nai_1760_t naibrd_1760_RtInitialize ( int16_t swDevice,
uint16_t wCommandStackSize,
uint32_t dwOptions )
extern

◆ naibrd_1760_RtMessageGetFromStackDecoded()

nai_1760_t naibrd_1760_RtMessageGetFromStackDecoded ( int16_t swDevice,
naiDecodedMessageStructure * dmspDecodedMessage,
uint16_t wMessageLocationAndRemoval )
extern

◆ naibrd_1760_RtMessageGetFromStackRaw()

nai_1760_t naibrd_1760_RtMessageGetFromStackRaw ( int16_t swDevice,
uint16_t * wapBuffer,
uint16_t wBufferSize )
extern

◆ naibrd_1760_RtMessageLegalityDisable()

nai_1760_t naibrd_1760_RtMessageLegalityDisable ( int16_t swDevice,
uint16_t wOwnAddressOrBroadcast,
uint16_t wMessageDirection,
uint16_t wSubaddress,
uint32_t dwWordCountOrModeCodeMask )
extern

◆ naibrd_1760_RtMessageLegalityEnable()

nai_1760_t naibrd_1760_RtMessageLegalityEnable ( int16_t swDevice,
uint16_t wOwnAddressOrBroadcast,
uint16_t wMessageDirection,
uint16_t wSubaddress,
uint32_t dwWordCountOrModeCodeMask )
extern

◆ naibrd_1760_RtMessageLegalityGetStatus()

nai_1760_t naibrd_1760_RtMessageLegalityGetStatus ( int16_t swDevice,
uint16_t wOwnAddressOrBroadcast,
uint16_t wMessageDirection,
uint16_t wSubaddress,
uint32_t * dwpMessageLegality )
extern

◆ naibrd_1760_RtModeCodeGetIrqStatus()

nai_1760_t naibrd_1760_RtModeCodeGetIrqStatus ( int16_t swDevice,
uint16_t wModeCodeType,
uint16_t * wpModeCodeIrq )
extern

◆ naibrd_1760_RtModeCodeIrqDisable()

nai_1760_t naibrd_1760_RtModeCodeIrqDisable ( int16_t swDevice,
uint16_t wModeCodeType,
uint16_t wModeCodeIrq )
extern

◆ naibrd_1760_RtModeCodeIrqEnable()

nai_1760_t naibrd_1760_RtModeCodeIrqEnable ( int16_t swDevice,
uint16_t wModeCodeType,
uint16_t wModeCodeIrq )
extern

◆ naibrd_1760_RtModeCodeReadData()

nai_1760_t naibrd_1760_RtModeCodeReadData ( int16_t swDevice,
uint16_t wDataContainingModeCode,
uint16_t * wpData )
extern

◆ naibrd_1760_RtModeCodeWriteData()

nai_1760_t naibrd_1760_RtModeCodeWriteData ( int16_t swDevice,
uint16_t wDataContainingModeCode,
uint16_t wData )
extern

◆ naibrd_1760_RtMtInitialize()

nai_1760_t naibrd_1760_RtMtInitialize ( int16_t swDevice,
uint16_t wRtCommandStackSize,
uint16_t wMtStackMode,
uint16_t wMtCommandStackSize,
uint16_t wMtDataStackSize,
uint32_t dwOptions )
extern

◆ naibrd_1760_RtMtStart()

nai_1760_t naibrd_1760_RtMtStart ( int16_t swDevice)
extern

◆ naibrd_1760_RtMtStop()

nai_1760_t naibrd_1760_RtMtStop ( int16_t swDevice)
extern

◆ naibrd_1760_RtResponseStatusBitsGet()

nai_1760_t naibrd_1760_RtResponseStatusBitsGet ( int16_t swDevice,
uint16_t * wpStatusEnablerMask )
extern

◆ naibrd_1760_RtResponseStatusBitsSet()

nai_1760_t naibrd_1760_RtResponseStatusBitsSet ( int16_t swDevice,
uint16_t wStatusEnablerMask )
extern

◆ naibrd_1760_RtResponseStatusBitsUnset()

nai_1760_t naibrd_1760_RtResponseStatusBitsUnset ( int16_t swDevice,
uint16_t wStatusEnablerMask )
extern

◆ naibrd_1760_RtSetAddress()

nai_1760_t naibrd_1760_RtSetAddress ( int16_t swDevice,
uint16_t wRtAddress )
extern

◆ naibrd_1760_RtStart()

nai_1760_t naibrd_1760_RtStart ( int16_t swDevice)
extern

◆ naibrd_1760_RtStop()

nai_1760_t naibrd_1760_RtStop ( int16_t swDevice)
extern

◆ naibrd_1760_RtTxDataBlockSwap()

nai_1760_t naibrd_1760_RtTxDataBlockSwap ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t wSubaddress )
extern

◆ naibrd_1760_SetInterruptSteering()

nai_1760_t naibrd_1760_SetInterruptSteering ( int16_t swDevice,
naibrd_int_steering_t steering )
extern

◆ naibrd_1760_SetIntVector()

nai_1553_t naibrd_1760_SetIntVector ( int16_t swDevice,
int32_t intvector )
extern

◆ naibrd_1760_SetIrqConfig()

nai_1760_t naibrd_1760_SetIrqConfig ( int16_t swDevice,
uint16_t wInterruptMode )
extern

◆ naibrd_1760_SetResponseTimeout()

nai_1760_t naibrd_1760_SetResponseTimeout ( int16_t swDevice,
uint16_t wResponseTimeout )
extern

◆ naibrd_1760_SetTimeTag()

nai_1760_t naibrd_1760_SetTimeTag ( int16_t swDevice,
uint16_t wTimeTag )
extern

◆ naibrd_1760_SetTimeTagResolution()

nai_1760_t naibrd_1760_SetTimeTagResolution ( int16_t swDevice,
uint16_t wTimeTagResolution )
extern

◆ naibrd_1760_WriteIntReg()

nai_1760_t naibrd_1760_WriteIntReg ( int16_t swDevice,
uint32_t wIntRegisterAddress,
uint32_t wIntRegisterValue )
extern

◆ naibrd_1760_WriteMem()

nai_1760_t naibrd_1760_WriteMem ( int16_t swDevice,
uint32_t wDeviceMemoryAddress,
uint16_t wDeviceMemoryValue )
extern

◆ pack16to32BitBuffer()

void pack16to32BitBuffer ( int32_t bufferSize,
uint16_t * inarray16,
uint32_t * outarray32 )

◆ read1553Block()

nai_status_t read1553Block ( uint8_t mode,
int32_t cardIndex,
int32_t module,
int32_t channel,
const uint32_t ** addr,
uint32_t offset,
uint32_t stride,
uint32_t count,
uint32_t width,
uint16_t * data )

◆ read1553Reg()

nai_status_t read1553Reg ( uint8_t mode,
int32_t cardIndex,
int32_t module,
int32_t channel,
const uint32_t ** addr,
uint32_t offset,
uint16_t * outdata )

◆ rt_ConfigureDefault()

nai_1553_t rt_ConfigureDefault ( int16_t swDevice)

◆ rt_DataBlock_GetSubaddressLookupInformation()

bool_t rt_DataBlock_GetSubaddressLookupInformation ( HostDataBlockStructure * hdbspDataBlock,
uint16_t * wpMappedSubaddress,
uint32_t * dwpLookupAddress,
uint32_t * dwpControlWordAddress )

◆ rt_Initialize()

nai_1553_t rt_Initialize ( int16_t swDevice,
uint16_t wCommandStackSize,
uint32_t dwOptions )

◆ rt_Message_GetFromStackRaw()

nai_1553_t rt_Message_GetFromStackRaw ( int16_t swDevice,
uint16_t * wapBuffer,
uint16_t * wpMessageTimeTagRolloverCounter,
bool_t bIsNextMessageRequired,
bool_t bIsMessagePurgeRequired )

◆ rt_Start()

nai_1553_t rt_Start ( int16_t swDevice)

◆ rtmt_ConfigureDefault()

nai_1553_t rtmt_ConfigureDefault ( int16_t swDevice)

◆ unpack32to16BitBuffer()

void unpack32to16BitBuffer ( int32_t bufferSize,
uint32_t * inarray32,
uint16_t * outarray16 )

◆ write1553Block()

nai_status_t write1553Block ( uint8_t mode,
int32_t cardIndex,
int32_t module,
int32_t channel,
const uint32_t ** addr,
uint32_t offset,
uint32_t stride,
uint32_t count,
uint32_t width,
const uint16_t * data )

◆ write1553Reg()

nai_status_t write1553Reg ( uint8_t mode,
int32_t cardIndex,
int32_t module,
int32_t channel,
const uint32_t ** addr,
uint32_t offset,
uint16_t data )

◆ write1553RegMask()

nai_status_t write1553RegMask ( uint8_t mode,
int32_t cardIndex,
int32_t module,
int32_t channel,
const uint32_t ** addr,
uint32_t offset,
uint16_t mask,
uint16_t data )

◆ write1553Zeros()

nai_status_t write1553Zeros ( uint8_t mode,
int32_t cardIndex,
int32_t module,
int32_t channel,
const uint32_t ** addr,
uint32_t offset,
uint32_t count )