|
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) |
|