Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
naibrd_1760.c File Reference

Typedefs

typedef struct GeneralPurposeQueueStateStructure_1760 GeneralPurposeQueueStateStructure_1760
 
typedef struct HostGeneralPurposeQueueStructure_1760 HostGeneralPurposeQueueStructure_1760
 
typedef struct HostDeviceMemoryMapStructure_1760 HostDeviceMemoryMapStructure_1760
 
typedef struct HostMessageStructure_1760 HostMessageStructure_1760
 
typedef struct HostCommandStructure_1760 HostCommandStructure_1760
 
typedef struct HostBufferStructure_1760 HostBufferStructure_1760
 
typedef struct HostDataBlockStructure_1760 HostDataBlockStructure_1760
 
typedef struct HostFrameStructure_1760 HostFrameStructure_1760
 
typedef struct BcStateStructure_1760 BcStateStructure_1760
 
typedef struct naiDeviceCapabilitiesStructure_1760 naiDeviceCapabilitiesStructure_1760
 
typedef struct HostInterruptServiceQueueStateStructure_1760 HostInterruptServiceQueueStateStructure_1760
 
typedef struct RtStackStateStructure_1760 RtStackStateStructure_1760
 
typedef struct CircularDataBlockInformationStructure_1760 CircularDataBlockInformationStructure_1760
 
typedef struct RtStateStructure_1760 RtStateStructure_1760
 
typedef struct MtStackStateStructure_1760 MtStackStateStructure_1760
 
typedef struct MtStateStructure_1760 MtStateStructure_1760
 
typedef struct NestingStackStructure_1760 NestingStackStructure_1760
 
typedef struct device_state_t device_state_t
 

Functions

static int32_t GetChannelCount (uint32_t modId)
 
static naibrd_1760_t verify_channel (uint32_t modid, int32_t channel)
 
naibrd_1760_t naibrd_1760_Open (int32_t cardIndex, int32_t module, int32_t channel, int16_t swDevice)
 
naibrd_1760_t naibrd_1760_Close (int16_t swDevice)
 
uint16_t naibrd_1760_ReadMem (int16_t swDevice, uint32_t wDeviceMemoryAddress)
 
naibrd_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)
 
naibrd_1760_t naibrd_1760_WriteIntReg (int16_t swDevice, uint32_t wIntRegisterAddress, uint32_t wIntRegisterValue)
 
naibrd_1760_t naibrd_1760_Initialize (int16_t swDevice, uint16_t wAccess, uint16_t wMode, uint32_t dwSizeOfAllocatedMemory, uint32_t dwRegistersAddress, uint32_t dwMemoryAddress)
 
naibrd_1760_t naibrd_1760_Free (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_SetResponseTimeout (int16_t swDevice, uint16_t wResponseTimeout)
 
naibrd_1760_t naibrd_1760_ConfigureWatchdogTimeout (int16_t swDevice, uint16_t bIsWatchdogEnabled, uint16_t wWatchdogTimeout)
 
naibrd_1760_t naibrd_1760_SetTimeTag (int16_t swDevice, uint16_t wTimeTag)
 
naibrd_1760_t naibrd_1760_GetTimeTag (int16_t swDevice, uint16_t *wpTimeTag)
 
naibrd_1760_t naibrd_1760_ResetTimeTag (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_SetTimeTagResolution (int16_t swDevice, uint16_t wTimeTagResolution)
 
naibrd_1760_t naibrd_1760_EnableExecution (int16_t swDevice, bool_t enabled)
 
naibrd_1760_t naibrd_1760_BcConfig (int16_t swDevice, uint32_t dwOptions)
 
naibrd_1760_t naibrd_1760_BcStart (int16_t swDevice, int16_t swFrameId, int32_t sdwFrameCount)
 
naibrd_1760_t naibrd_1760_BcDataBlockWrite (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 
naibrd_1760_t naibrd_1760_BcGetActivationState (int16_t swDevice, uint16_t *wpCurrentState)
 
naibrd_1760_t naibrd_1760_BcDataBlockRead (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 
naibrd_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)
 
naibrd_1760_t naibrd_1760_BcCommandDelete (int16_t swDevice, int16_t swCommandId)
 
naibrd_1760_t naibrd_1760_BcMessageDecodeRaw (int16_t swDevice, uint16_t *wapBuffer, naibrd_1553_msgstruct_t *dmspDecodedMessage)
 
naibrd_1760_t naibrd_1760_BcMessageGetByIdDecoded (int16_t swDevice, int16_t swMessageId, naibrd_1553_msgstruct_t *dmspDecodedMessage, uint16_t wIsPurgeRequired)
 
naibrd_1760_t naibrd_1760_BcConfigureMessageGapTimerEnable (int16_t swDevice, uint16_t bIsMessageGapTimeFieldEnabled)
 
naibrd_1760_t naibrd_1760_BcGetConditionState (int16_t swDevice, uint16_t wConditionCode, uint16_t *wpCurrentState)
 
naibrd_1760_t naibrd_1760_BcDataBlockCreate (int16_t swDevice, int16_t swDataBlockId, uint16_t wDataBlockSize, uint16_t *wapBuffer, uint16_t wBufferSize)
 
naibrd_1760_t naibrd_1760_BcDataBlockDelete (int16_t swDevice, int16_t swDataBlockId)
 
naibrd_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)
 
naibrd_1760_t naibrd_1760_BcMessageDelete (int16_t swDevice, int16_t swMessageId)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_1760_t naibrd_1760_BcFrameDelete (int16_t swDevice, int16_t swFrameId)
 
naibrd_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)
 
naibrd_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)
 
naibrd_1760_t naibrd_1760_BcGetMessageByIdRaw (int16_t swDevice, int16_t swMessageId, uint16_t *wapBuffer, uint16_t wIsPurgeRequired)
 
naibrd_1760_t naibrd_1760_BcStop (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_BcCommandGetWord (uint16_t wHardwareOpcode, uint16_t wCondition, uint16_t *wpCommandOpcode)
 
naibrd_1760_t naibrd_1760_BcSetMessageRetryPolicy (int16_t swDevice, uint16_t wNumberOfRetries, uint16_t wFirstRetryBus, uint16_t wSecondRetryBus, uint16_t wReserved)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_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)
 
naibrd_1760_t naibrd_1760_BcAsynchronousMessageSendAtLowPriority_ExecuteOnce (int16_t swDevice, uint16_t *wpRemainingMessageCount, uint16_t wTimeFactor)
 
naibrd_1760_t naibrd_1760_BcAsynchronousMessageSendAtLowPriority (int16_t swDevice, uint16_t *wpRemainingMessageCount, uint16_t wTimeFactor)
 
naibrd_1760_t naibrd_1760_BcAsynchronousMessageSendAtHighPriority_ExecuteOnce (int16_t swDevice, uint16_t wMessageId, uint16_t wTimeFactor)
 
naibrd_1760_t naibrd_1760_BcAsynchronousMessageSendAtHighPriority (int16_t swDevice, uint16_t wMessageId, uint16_t wTimeFactor)
 
naibrd_1760_t naibrd_1760_BcAsynchronousMessageRemainingCount (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_RT_SetAddress (int16_t swDevice, uint8_t address)
 
naibrd_1760_t naibrd_1760_RT_GetAddress (int16_t swDevice, uint8_t *outaddress)
 
naibrd_1760_t naibrd_1760_RtInitialize (int16_t swDevice, uint16_t wCommandStackSize, uint32_t dwOptions)
 
naibrd_1760_t naibrd_1760_RtSetAddressSource (int16_t swDevice, uint16_t wRtAddressSource)
 
naibrd_1760_t naibrd_1760_RtGetAddressSource (int16_t swDevice, uint16_t *wpRtAddressSource)
 
naibrd_1760_t naibrd_1760_RtAddressRelatch (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_RtSetAddress (int16_t swDevice, uint16_t wRtAddress)
 
naibrd_1760_t naibrd_1760_RtGetAddress (int16_t swDevice, uint16_t *wpRtAddress)
 
naibrd_1760_t naibrd_1760_RtStart (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_RtStop (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_RtDataBlockGetSize (uint16_t wDataBlockType, uint16_t *wpSizeOfAllocatedDeviceMemory, uint16_t *wpActualSizeOfDataBlock)
 
naibrd_1760_t naibrd_1760_RtDataBlockCreate (int16_t swDevice, int16_t swDataBlockId, uint16_t wDataBlockType, uint16_t *wapBuffer, uint16_t wBufferSize)
 
naibrd_1760_t naibrd_1760_RtDataBlockGetAddress (int16_t swDevice, int16_t swDataBlockId, uint16_t *wpDeviceMemoryAddress)
 
naibrd_1760_t naibrd_1760_RtDataBlockDelete (int16_t swDevice, int16_t swDataBlockId)
 
naibrd_1760_t naibrd_1760_RtDataBlockWrite (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 
naibrd_1760_t naibrd_1760_RtDataBlockRead (int16_t swDevice, int16_t swDataBlockId, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wOffset)
 
naibrd_1760_t naibrd_1760_RtDataBlockMapToSubaddress (int16_t swDevice, int16_t swDataBlockId, uint16_t wSubaddress, uint16_t wMessageTypes, uint16_t wIrqOptions, uint16_t bIsSubaddressLegalizationRequested)
 
naibrd_1760_t naibrd_1760_RtDataBlockUnmapFromSubaddress (int16_t swDevice, int16_t swDataBlockId, uint16_t wSubaddress, uint16_t wMessageTypes)
 
naibrd_1760_t naibrd_1760_RtTxDataBlockSwap (int16_t swDevice, int16_t swDataBlockId, uint16_t wSubaddress)
 
naibrd_1760_t naibrd_1760_RtModeCodeIrqEnable (int16_t swDevice, uint16_t wModeCodeType, uint16_t wModeCodeIrq)
 
naibrd_1760_t naibrd_1760_RtModeCodeIrqDisable (int16_t swDevice, uint16_t wModeCodeType, uint16_t wModeCodeIrq)
 
naibrd_1760_t naibrd_1760_RtModeCodeGetIrqStatus (int16_t swDevice, uint16_t wModeCodeType, uint16_t *wpModeCodeIrq)
 
naibrd_1760_t naibrd_1760_RtModeCodeReadData (int16_t swDevice, uint16_t wDataContainingModeCode, uint16_t *wpData)
 
naibrd_1760_t naibrd_1760_RtModeCodeWriteData (int16_t swDevice, uint16_t wDataContainingModeCode, uint16_t wData)
 
naibrd_1760_t naibrd_1760_RtMessageLegalityEnable (int16_t swDevice, uint16_t wOwnAddressOrBroadcast, uint16_t wMessageDirection, uint16_t wSubaddress, uint32_t dwWordCountOrModeCodeMask)
 
naibrd_1760_t naibrd_1760_RtMessageLegalityDisable (int16_t swDevice, uint16_t wOwnAddressOrBroadcast, uint16_t wMessageDirection, uint16_t wSubaddress, uint32_t dwWordCountOrModeCodeMask)
 
naibrd_1760_t naibrd_1760_RtMessageLegalityGetStatus (int16_t swDevice, uint16_t wOwnAddressOrBroadcast, uint16_t wMessageDirection, uint16_t wSubaddress, uint32_t *dwpMessageLegality)
 
naibrd_1760_t naibrd_1760_RtResponseStatusBitsSet (int16_t swDevice, uint16_t wStatusEnablerMask)
 
naibrd_1760_t naibrd_1760_RtResponseStatusBitsUnset (int16_t swDevice, uint16_t wStatusEnablerMask)
 
naibrd_1760_t naibrd_1760_RtResponseStatusBitsGet (int16_t swDevice, uint16_t *wpStatusEnablerMask)
 
naibrd_1760_t naibrd_1760_RtMessageGetFromStackRaw (int16_t swDevice, uint16_t *wapBuffer, uint16_t wBufferSize)
 
naibrd_1760_t naibrd_1760_RtMessageGetFromStackDecoded (int16_t swDevice, naibrd_1553_msgstruct_t *dmspDecodedMessage, uint16_t wMessageLocationAndRemoval)
 
naibrd_1760_t naibrd_1760_RtBITWordConfigure (int16_t swDevice, uint16_t wWordLocation)
 
naibrd_1760_t naibrd_1760_RtBITWordRead (int16_t swDevice, uint16_t wWordLocation, uint16_t *wpWord)
 
naibrd_1760_t naibrd_1760_RtBITWordWrite (int16_t swDevice, uint16_t wWord)
 
naibrd_1760_t naibrd_1760_SetIrqConfig (int16_t swDevice, uint16_t wInterruptMode)
 
naibrd_1760_t naibrd_1760_SetInterruptSteering (int16_t swDevice, naibrd_int_steering_t steering)
 
naibrd_1553_t naibrd_1760_SetIntVector (int16_t swDevice, int32_t intvector)
 
naibrd_1760_t naibrd_1760_MtInitialize (int16_t swDevice, uint16_t wStackMode, uint16_t wCommandStackSize, uint16_t wDataStackSize, uint32_t dwOptions)
 
naibrd_1760_t naibrd_1760_MtStart (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_MtStop (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_MtMessageDecodeRaw (int16_t swDevice, uint16_t *wapBuffer, naibrd_1553_msgstruct_t *dmspDecodedMessage)
 
naibrd_1760_t naibrd_1760_MtMessageGetFromStackRaw (int16_t swDevice, uint16_t *wapBuffer, uint16_t wBufferSize, uint16_t wStackSelector)
 
naibrd_1760_t naibrd_1760_MtMessageGetFromStackDecoded (int16_t swDevice, naibrd_1553_msgstruct_t *dmspDecodedMessage, uint16_t wMessageLocationAndRemoval, uint16_t wStackSelector)
 
naibrd_1760_t naibrd_1760_MtMessageMonitoringEnable (int16_t swDevice, uint16_t wRtAddress, uint16_t wMessageDirection, uint32_t dwRtSubaddressMask)
 
naibrd_1760_t naibrd_1760_MtMessageMonitoringDisable (int16_t swDevice, uint16_t wRtAddress, uint16_t wMessageDirection, uint32_t dwRtSubaddressMask)
 
naibrd_1760_t naibrd_1760_MtMessageMonitoringGetStatus (int16_t swDevice, uint16_t wRtAddress, uint16_t wMessageDirection, uint32_t *dwpRtSubaddressMask)
 
naibrd_1760_t naibrd_1760_MtPause (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_MtContinue (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_RtMtInitialize (int16_t swDevice, uint16_t wRtCommandStackSize, uint16_t wMtStackMode, uint16_t wMtCommandStackSize, uint16_t wMtDataStackSize, uint32_t dwOptions)
 
naibrd_1760_t naibrd_1760_RtMtStart (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_RtMtStop (int16_t swDevice)
 
naibrd_1760_t naibrd_1760_InternalLoopback (int32_t cardIndex, int32_t module, int32_t channel, bool_t *busAPassed, bool_t *busBPassed)
 
naibrd_1760_t Device_Memory_TopSection_FreeRegion_1760 (HostDeviceMemoryMapStructure_1760 *hdmmspDeviceMemoryMap, uint32_t dwBaseRegionAddress, uint32_t dwBottomRegionAddress)
 
naibrd_1760_t Device_Memory_TopSection_AllocateContinuity_1760 (HostDeviceMemoryMapStructure_1760 *hdmmspDeviceMemoryMap, uint32_t dwBaseRegionAddress, uint32_t dwBottomRegionAddress, uint32_t *dwpAllocationSize, uint16_t wAlignment, bool_t *bpIsAllocationSuccessfullyAccomplished, uint32_t *dwpAllocationBaseAddress)
 
naibrd_1760_t Device_Memory_TopSection_CatchRegion_1760 (HostDeviceMemoryMapStructure_1760 *hdmmspDeviceMemoryMap, uint32_t dwBaseRegionAddress, uint32_t dwBottomRegionAddress)
 
naibrd_1760_t Device_Memory_Initialize_1760 (HostDeviceMemoryMapStructure_1760 *hdmmspDeviceMemoryMap, uint32_t dwRamSize)
 
naibrd_1760_t Device_Memory_BottomSection_AllocateContinuity_1760 (HostDeviceMemoryMapStructure_1760 *hdmmspDeviceMemoryMap, uint32_t *dwpAllocationSize, uint16_t wAlignment, bool_t *bpIsAllocationSuccessfullyAccomplished, uint32_t *dwpAllocationBaseAddress)
 
naibrd_1760_t Device_Memory_BottomSection_FreeAll_1760 (HostDeviceMemoryMapStructure_1760 *hdmmspDeviceMemoryMap)
 
int32_t convert16to32BitBuffer_1760 (int32_t bufferSize, uint16_t *inarray16, uint32_t *outarray32)
 
int32_t convert32to16BitBuffer_1760 (int32_t bufferSize, uint32_t *inarray32, uint16_t *outarray16)
 
nai_status_t M1760_WriteZeros32 (int32_t cardIndex, int32_t module, uint32_t offset, uint32_t count)
 
naibrd_1760_t device_Reset_1760 (int16_t swDevice)
 
naibrd_1760_t bc_Message_Write_1760 (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_1760 *hmspMessage, HostDataBlockStructure_1760 *hdbspDataBlock1, HostDataBlockStructure_1760 *hdbspDataBlock2, bool_t bIsNewMessage)
 
naibrd_1760_t bc_Message_GetInformation_1760 (int16_t swDevice, uint16_t *wpMessageBuffer, uint16_t *wpTxTime, uint16_t *wpType, uint16_t *wpDataWordsCount)
 
naibrd_1760_t bc_Message_GetByIdRaw_1760 (int16_t swDevice, int16_t swMessageId, uint16_t *wapBuffer, uint16_t wIsPurgeRequired)
 
naibrd_1760_t bc_ConfigureDefault_1760 (int16_t swDevice)
 
naibrd_1760_t bc_Frame_WriteCommands_1760 (int16_t swDevice, uint16_t wFrameId, NestingStackStructure_1760 *nsspNestingStack)
 
naibrd_1760_t bc_Frame_WriteMinor_1760 (int16_t swDevice, uint16_t wFrameId, NestingStackStructure_1760 *nsspNestingStack)
 
naibrd_1760_t bc_Frame_WriteMajor_1760 (int16_t swDevice, uint16_t wFrameId, NestingStackStructure_1760 *nsspNestingStack, uint32_t frameCount)
 
naibrd_1760_t bc_Frame_Write_1760 (int16_t swDevice, uint16_t wFrameId, NestingStackStructure_1760 *nsspNestingStack, uint32_t frameCount)
 
naibrd_1760_t bc_Gpf_SetState_1760 (int16_t swDevice, uint16_t wGpfNumber, uint16_t wEffect)
 
naibrd_1760_t bc_Gpq_Fill_Host_1760 (int16_t swDevice)
 
naibrd_1760_t rt_Initialize_1760 (int16_t swDevice, uint16_t wCommandStackSize, uint32_t dwOptions)
 
naibrd_1760_t rt_update_software_stack_1760 (int16_t swDevice)
 
bool_t rt_DataBlock_GetSubaddressLookupInformation_1760 (HostDataBlockStructure_1760 *hdbspDataBlock, uint16_t *wpMappedSubaddress, bool_t *bIsTx)
 
naibrd_1760_t mt_Message_GetFromStackRaw_1760 (int16_t swDevice, MtStackStateStructure_1760 *mssspTargetStackState, uint16_t *wapBuffer, uint16_t *wpMessageTimeTagRolloverCounter, bool_t bIsNextMessageRequired, bool_t bIsMessagePurgeRequired)
 
naibrd_1760_t mt_ConfigureDefault_1760 (int16_t swDevice)
 
naibrd_1760_t mt_ResetStack_1760 (int16_t swDevice, MtStackStateStructure_1760 *mssspTargetStackState)
 
naibrd_1760_t mt_Start_1760 (int16_t swDevice)
 
naibrd_1760_t mt_Initialize_1760 (int16_t swDevice, uint16_t wStackMode, uint16_t wCommandStackSize, uint16_t wDataStackSize, uint32_t dwOptions)
 
naibrd_1760_t mt_ResetStacks_1760 (int16_t swDevice)
 
naibrd_1760_t rtmt_ConfigureDefault_1760 (int16_t swDevice)
 
void convertMIW2BlockStatusWord (uint16_t miw, uint16_t *blockstatusword)
 
bool_t IsIllegal (device_state_t *dsspDeviceState, uint16_t cmdWord)
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_MasterReset (int16_t swDevice)
 Performs Master Reset on the Channel.
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_GetDeviceReady (int16_t swDevice, bool_t *ready)
 Reads the ready status from bit 15 of the Master Status and Reset Register (0x1).
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_SetChannelConfig (int16_t swDevice, uint32_t value)
 Set the channel configuration register.
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_GetChannelConfig (int16_t swDevice, uint32_t *outvalue)
 Read the channel configuration register.
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_SetChannelControl (int16_t swDevice, uint32_t value)
 Set the channel control register.
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_GetChannelControl (int16_t swDevice, uint32_t *outvalue)
 Get the channel control register.
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_CoreWriteEnable (int16_t swDevice, bool_t enable)
 Enable or disable writes to 1760 core registers.
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_SetEEPROMUnlock (int16_t swDevice)
 Write 2-part "unlock code" to address 0x4E to enable writes to EEPROM for RT1 auto-initialization. Note that the RT1ENA bit 6 in the Master Configuration Register 0x0 must be set to 1 while RT1STEX bit 4 is set to 0 before this function is called.
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_SetEECOPY (int16_t swDevice, bool_t assert)
 Sets the EEPROM Copy Input. The EECOPY input pin must be driven high for at least 1 ms, then driven low to write to EEPROM. The READY output goes low, indicating EEPROM is being written to. EEPROM copy is complete when the READY output goes high.
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_SetIrqManipulate (int16_t swDevice, uint16_t bIsInterruptEnabled, uint16_t wHardwareIrqMask, uint16_t wBcIrqMask, uint16_t wRtIrqMask, uint16_t wMtIrqMask, void(*funcpExternalIsr)(void *param, uint32_t vector))
 Enables the interrupt conditions specified by the interrupt mask. NOTE: This function is only supported for FTJ/FTK modules. Please use naibrd_1553_SetIrqManipulate for FT[1-9].
 
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_GetIntStatus (int16_t swDevice, uint16_t *wHardwareStatus, uint16_t *wBcStatus, uint16_t *wRtStatus, uint16_t *wMtStatus)
 Reads the interrupt status pending registers. NOTE: This function is only supported for FTJ/FTK modules. Please use naibrd_1553_GetIntStatus for FT[1-9].
 

Variables

static const uint32_t mil_1760_GEN5_32bit_reg_memory [] = NAI_1760_GEN5_32BIT_REG_MEMORY_ADD
 
static const uint32_t mil_1760_GEN5_32bit_reg_bcgpqpt [] = NAI_1760_GEN5_BC_GPQP_ADD
 
static const uint32_t mil_1760_GEN5_32bit_reg_bcinitinstpt [] = NAI_1760_GEN5_32BIT_REG_BC_INITIAL_INSTRUCTION_POINTER_ADD
 
static const uint32_t mil_1760_reg_int_dyn [] = NAI_1760_GEN5_INTERRUPTS_DYN_ADD
 
static const uint32_t mil_1760_reg_int_enable [] = NAI_1760_GEN5_INTERRUPT_ENABLE_ADD
 
static const uint32_t mil_1760_reg_int_edge_level_select [] = NAI_1760_GEN5_EDGE_LEVEL_SELECT_ADD
 
static const uint32_t mil_1760_reg_reset [] = NAI_1760_GEN5_RESET_ADD
 
static const uint32_t mil_1760_reg_config [] = NAI_1760_GEN5_CONFIGURATION_ADD
 
static const uint32_t mil_1760_reg_control [] = NAI_1760_GEN5_CONTROL_ADD
 
static const uint32_t mil_1760_reg_corereg [] = NAI_1760_GEN5_CORE_ADD
 
static const uint32_t mil_1760_reg_master_config [] = NAI_1760_GEN5_MASTER_CONFIGURATION_ADD
 
static const uint32_t mil_1760_reg_master_status [] = NAI_1760_GEN5_MASTER_STATUS_ADD
 
static const uint32_t mil_1760_reg_hw_pending_int [] = NAI_1760_GEN5_HARDWARE_PENDING_INTERRUPT_ADD
 
static const uint32_t mil_1760_reg_hw_int_enable [] = NAI_1760_GEN5_HARDWARE_INTERRUPT_ENABLE_ADD
 
static const uint32_t mil_1760_reg_hw_int_output_enable [] = NAI_1760_GEN5_HARDWARE_INTERRUPT_OUTPUT_ENABLE_ADD
 
static const uint32_t mil_1760_reg_bc_config [] = NAI_1760_GEN5_BC_CONFIGUTATION_ADD
 
static const uint32_t mil_1760_reg_bc_int_enable [] = NAI_1760_GEN5_BC_INTERRUPT_ENABLE_ADD
 
static const uint32_t mil_1760_reg_bc_int_output_enable [] = NAI_1760_GEN5_BC_INTERRUPT_OUTPUT_ENABLE_ADD
 
static const uint32_t mil_1760_reg_rt_int_enable [] = NAI_1760_GEN5_RT_INTERRUPT_ENABLE_ADD
 
static const uint32_t mil_1760_reg_rt_int_output_enable [] = NAI_1760_GEN5_RT_INTERRUPT_OUTPUT_ENABLE_ADD
 
static const uint32_t mil_1760_reg_mt_smt_int_enable [] = NAI_1760_GEN5_MT_SMT_INTERRUPT_ENABLE_ADD
 
static const uint32_t mil_1760_reg_mt_smt_int_output_enable [] = NAI_1760_GEN5_MT_SMT_INTERRUPT_OUTPUT_ENABLE_ADD
 
static const uint32_t mil_1760_reg_time_tag_counter_config [] = NAI_1760_GEN5_TIME_TAG_COUNTER_CONFIGURATION_ADD
 
static const uint32_t mil_1760_reg_eeprom_checksum_lock_unlock [] = NAI_1760_GEN5_EEPROM_CHECKSUM_LOCK_UNLOCK_ADD
 
static const uint32_t mil_1760_reg_rt1_config [] = NAI_1760_GEN5_RT1_CONFIGURATION_ADD
 
static const uint32_t mil_1760_reg_rt1_oper_status [] = NAI_1760_GEN5_RT1_OPERATIONAL_STATUS_ADD
 
static const uint32_t mil_1760_reg_rt1_status_word_bits [] = NAI_1760_GEN5_RT1_STATUS_WORD_BITS_ADD
 
static const uint32_t mil_1760_reg_rt1_alt_bit_word [] = NAI_1760_GEN5_RT1_ALTERNATE_BIT_WORD_ADD
 
static const uint32_t mil_1760_reg_mt_time_tag_counter_low [] = NAI_1760_GEN5_MT_TIME_TAG_COUNTER_LOW_ADD
 
static const uint32_t mil_1760_reg_mt_time_tag_utility_low [] = NAI_1760_GEN5_MT_TIME_TAG_UTILITY_LOW_ADD
 
static const uint32_t mil_1760_reg_bc_time_tag_counter [] = NAI_1760_GEN5_BC_TIME_TAG_COUNTER_ADD
 
static const uint32_t mil_1760_reg_bc_time_tag_utility [] = NAI_1760_GEN5_BC_TIME_TAG_UTILITY_ADD
 
static const uint32_t mil_1760_reg_rt1_time_tag_counter [] = NAI_1760_GEN5_RT1_TIME_TAG_COUNTER_ADD
 
static const uint32_t mil_1760_reg_rt1_time_tag_utility [] = NAI_1760_GEN5_RT1_TIME_TAG_UTILITY_ADD
 
static const uint32_t mil_1760_reg_rt_pending_int [] = NAI_1760_GEN5_RT_PENDING_INTERRUPT_ADD
 
static const uint32_t mil_1760_reg_bc_pending_int [] = NAI_1760_GEN5_BC_PENDING_INTERRUPT_ADD
 
static const uint32_t mil_1760_reg_mt_pending_int [] = NAI_1760_GEN5_MT_PENDING_INTERRUPT_ADD
 
static const uint32_t mil_1760_reg_rt1_illegalization_table [] = NAI_1760_GEN5_RT1_ILLEGALIZATION_TABLE_ADD
 
static const uint32_t mil_1760_reg_rt1_descriptor_table [] = NAI_1760_GEN5_RT1_DESCRIPTOR_TABLE_ADD
 
static const uint32_t mil_1760_reg_BC_GPF [] = NAI_1760_GEN5_BC_GPF_ADD
 
static const uint32_t mil_1760_reg_BC_Condition_Code [] = NAI_1760_GEN5_BC_CONDITION_CODE_ADD
 
static const uint32_t mil_1760_reg_SMT [] = NAI_1760_GEN5_MT_SMT
 
static const uint32_t mil_1760_reg_mt_addr_list_pointer [] = MAI_1760_GEN5_MT_BUS_MONITOR_ADDRESS_LIST
 
static const uint32_t mil_1760_reg_mt_address_list_A [] = NAI_1760_GEN5_MT_SMT_ADDRESS_LIST_A
 
static const uint32_t mil_1760_reg_mt_address_list_B [] = NAI_1760_GEN5_MT_SMT_ADDRESS_LIST_B
 
static const uint32_t mil_1760_reg_mt_filter_table [] = NAI_1760_GEN5_MT_SMT_FILTER_TABLE
 
static const uint32_t mil_1760_GEN5_reg_memory [] = NAI_1760_GEN5_CORE_ADD
 
static uint32_t wBuffer32 [MAX_BLOCK_ARRAY_SIZE]
 
static device_state_t s_dssaDevices [NAIBRD_1760_MAX_NUM_DEVICES]
 

Typedef Documentation

◆ BcStateStructure_1760

typedef struct BcStateStructure_1760 BcStateStructure_1760

◆ CircularDataBlockInformationStructure_1760

typedef struct CircularDataBlockInformationStructure_1760 CircularDataBlockInformationStructure_1760

◆ device_state_t

typedef struct device_state_t device_state_t

◆ GeneralPurposeQueueStateStructure_1760

typedef struct GeneralPurposeQueueStateStructure_1760 GeneralPurposeQueueStateStructure_1760

◆ HostBufferStructure_1760

typedef struct HostBufferStructure_1760 HostBufferStructure_1760

◆ HostCommandStructure_1760

typedef struct HostCommandStructure_1760 HostCommandStructure_1760

◆ HostDataBlockStructure_1760

typedef struct HostDataBlockStructure_1760 HostDataBlockStructure_1760

◆ HostDeviceMemoryMapStructure_1760

typedef struct HostDeviceMemoryMapStructure_1760 HostDeviceMemoryMapStructure_1760

◆ HostFrameStructure_1760

typedef struct HostFrameStructure_1760 HostFrameStructure_1760

◆ HostGeneralPurposeQueueStructure_1760

typedef struct HostGeneralPurposeQueueStructure_1760 HostGeneralPurposeQueueStructure_1760

◆ HostInterruptServiceQueueStateStructure_1760

typedef struct HostInterruptServiceQueueStateStructure_1760 HostInterruptServiceQueueStateStructure_1760

◆ HostMessageStructure_1760

typedef struct HostMessageStructure_1760 HostMessageStructure_1760

◆ MtStackStateStructure_1760

typedef struct MtStackStateStructure_1760 MtStackStateStructure_1760

◆ MtStateStructure_1760

typedef struct MtStateStructure_1760 MtStateStructure_1760

◆ naiDeviceCapabilitiesStructure_1760

typedef struct naiDeviceCapabilitiesStructure_1760 naiDeviceCapabilitiesStructure_1760

◆ NestingStackStructure_1760

typedef struct NestingStackStructure_1760 NestingStackStructure_1760

◆ RtStackStateStructure_1760

typedef struct RtStackStateStructure_1760 RtStackStateStructure_1760

◆ RtStateStructure_1760

typedef struct RtStateStructure_1760 RtStateStructure_1760

Function Documentation

◆ bc_ConfigureDefault_1760()

naibrd_1760_t bc_ConfigureDefault_1760 ( int16_t swDevice)

◆ bc_Frame_Write_1760()

naibrd_1760_t bc_Frame_Write_1760 ( int16_t swDevice,
uint16_t wFrameId,
NestingStackStructure_1760 * nsspNestingStack,
uint32_t frameCount )

◆ bc_Frame_WriteCommands_1760()

naibrd_1760_t bc_Frame_WriteCommands_1760 ( int16_t swDevice,
uint16_t wFrameId,
NestingStackStructure_1760 * nsspNestingStack )

◆ bc_Frame_WriteMajor_1760()

naibrd_1760_t bc_Frame_WriteMajor_1760 ( int16_t swDevice,
uint16_t wFrameId,
NestingStackStructure_1760 * nsspNestingStack,
uint32_t frameCount )

◆ bc_Frame_WriteMinor_1760()

naibrd_1760_t bc_Frame_WriteMinor_1760 ( int16_t swDevice,
uint16_t wFrameId,
NestingStackStructure_1760 * nsspNestingStack )

◆ bc_Gpf_SetState_1760()

naibrd_1760_t bc_Gpf_SetState_1760 ( int16_t swDevice,
uint16_t wGpfNumber,
uint16_t wEffect )

◆ bc_Gpq_Fill_Host_1760()

naibrd_1760_t bc_Gpq_Fill_Host_1760 ( int16_t swDevice)

◆ bc_Message_GetByIdRaw_1760()

naibrd_1760_t bc_Message_GetByIdRaw_1760 ( int16_t swDevice,
int16_t swMessageId,
uint16_t * wapBuffer,
uint16_t wIsPurgeRequired )

◆ bc_Message_GetInformation_1760()

naibrd_1760_t bc_Message_GetInformation_1760 ( int16_t swDevice,
uint16_t * wpMessageBuffer,
uint16_t * wpTxTime,
uint16_t * wpType,
uint16_t * wpDataWordsCount )

◆ bc_Message_Write_1760()

naibrd_1760_t bc_Message_Write_1760 ( 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_1760 * hmspMessage,
HostDataBlockStructure_1760 * hdbspDataBlock1,
HostDataBlockStructure_1760 * hdbspDataBlock2,
bool_t bIsNewMessage )

◆ convert16to32BitBuffer_1760()

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

◆ convert32to16BitBuffer_1760()

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

◆ convertMIW2BlockStatusWord()

void convertMIW2BlockStatusWord ( uint16_t miw,
uint16_t * blockstatusword )

◆ Device_Memory_BottomSection_AllocateContinuity_1760()

naibrd_1760_t Device_Memory_BottomSection_AllocateContinuity_1760 ( HostDeviceMemoryMapStructure_1760 * hdmmspDeviceMemoryMap,
uint32_t * dwpAllocationSize,
uint16_t wAlignment,
bool_t * bpIsAllocationSuccessfullyAccomplished,
uint32_t * dwpAllocationBaseAddress )

◆ Device_Memory_BottomSection_FreeAll_1760()

naibrd_1760_t Device_Memory_BottomSection_FreeAll_1760 ( HostDeviceMemoryMapStructure_1760 * hdmmspDeviceMemoryMap)

◆ Device_Memory_Initialize_1760()

naibrd_1760_t Device_Memory_Initialize_1760 ( HostDeviceMemoryMapStructure_1760 * hdmmspDeviceMemoryMap,
uint32_t dwRamSize )

◆ Device_Memory_TopSection_AllocateContinuity_1760()

naibrd_1760_t Device_Memory_TopSection_AllocateContinuity_1760 ( HostDeviceMemoryMapStructure_1760 * hdmmspDeviceMemoryMap,
uint32_t dwBaseRegionAddress,
uint32_t dwBottomRegionAddress,
uint32_t * dwpAllocationSize,
uint16_t wAlignment,
bool_t * bpIsAllocationSuccessfullyAccomplished,
uint32_t * dwpAllocationBaseAddress )

◆ Device_Memory_TopSection_CatchRegion_1760()

naibrd_1760_t Device_Memory_TopSection_CatchRegion_1760 ( HostDeviceMemoryMapStructure_1760 * hdmmspDeviceMemoryMap,
uint32_t dwBaseRegionAddress,
uint32_t dwBottomRegionAddress )

◆ Device_Memory_TopSection_FreeRegion_1760()

naibrd_1760_t Device_Memory_TopSection_FreeRegion_1760 ( HostDeviceMemoryMapStructure_1760 * hdmmspDeviceMemoryMap,
uint32_t dwBaseRegionAddress,
uint32_t dwBottomRegionAddress )

◆ device_Reset_1760()

naibrd_1760_t device_Reset_1760 ( int16_t swDevice)

◆ GetChannelCount()

static int32_t GetChannelCount ( uint32_t modId)
static

◆ IsIllegal()

bool_t IsIllegal ( device_state_t * dsspDeviceState,
uint16_t cmdWord )

◆ M1760_WriteZeros32()

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

◆ mt_ConfigureDefault_1760()

naibrd_1760_t mt_ConfigureDefault_1760 ( int16_t swDevice)

◆ mt_Initialize_1760()

naibrd_1760_t mt_Initialize_1760 ( int16_t swDevice,
uint16_t wStackMode,
uint16_t wCommandStackSize,
uint16_t wDataStackSize,
uint32_t dwOptions )

◆ mt_Message_GetFromStackRaw_1760()

naibrd_1760_t mt_Message_GetFromStackRaw_1760 ( int16_t swDevice,
MtStackStateStructure_1760 * mssspTargetStackState,
uint16_t * wapBuffer,
uint16_t * wpMessageTimeTagRolloverCounter,
bool_t bIsNextMessageRequired,
bool_t bIsMessagePurgeRequired )

◆ mt_ResetStack_1760()

naibrd_1760_t mt_ResetStack_1760 ( int16_t swDevice,
MtStackStateStructure_1760 * mssspTargetStackState )

◆ mt_ResetStacks_1760()

naibrd_1760_t mt_ResetStacks_1760 ( int16_t swDevice)

◆ mt_Start_1760()

naibrd_1760_t mt_Start_1760 ( int16_t swDevice)

◆ naibrd_1760_BcAsynchronousMessageCreateBcToBroadcast()

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

Called by naibrd_1553_BcAsynchronousMessageCreateBcToBroadcast

◆ naibrd_1760_BcAsynchronousMessageCreateBcToRt()

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

Called by naibrd_1553_BcAsynchronousMessageCreateBcToRt

◆ naibrd_1760_BcAsynchronousMessageCreateBroadcastMode()

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

Called by naibrd_1553_BcAsynchronousMessageCreateBroadcastMode

◆ naibrd_1760_BcAsynchronousMessageCreateMode()

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

Called by naibrd_1553_BcAsynchronousMessageCreateMode

◆ naibrd_1760_BcAsynchronousMessageCreateRtToBc()

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

Called by naibrd_1553_BcAsynchronousMessageCreateRtToBc

◆ naibrd_1760_BcAsynchronousMessageCreateRtToBroadcast()

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

Called by naibrd_1553_BcAsynchronousMessageCreateRtToBroadcast

◆ naibrd_1760_BcAsynchronousMessageCreateRtToRt()

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

Called by naibrd_1553_BcAsynchronousMessageCreateRtToRt

◆ naibrd_1760_BcAsynchronousMessageRemainingCount()

naibrd_1760_t naibrd_1760_BcAsynchronousMessageRemainingCount ( int16_t swDevice)

Called by naibrd_1553_BcAsynchronousMessageRemainingCount

◆ naibrd_1760_BcAsynchronousMessageSendAtHighPriority()

naibrd_1760_t naibrd_1760_BcAsynchronousMessageSendAtHighPriority ( int16_t swDevice,
uint16_t wMessageId,
uint16_t wTimeFactor )

Called by naibrd_1553_BcAsynchronousMessageSendAtHighPriority

◆ naibrd_1760_BcAsynchronousMessageSendAtHighPriority_ExecuteOnce()

naibrd_1760_t naibrd_1760_BcAsynchronousMessageSendAtHighPriority_ExecuteOnce ( int16_t swDevice,
uint16_t wMessageId,
uint16_t wTimeFactor )

Called by naibrd_1553_BcAsynchronousMessageSendAtHighPriority_ExecuteOnce

◆ naibrd_1760_BcAsynchronousMessageSendAtLowPriority()

naibrd_1760_t naibrd_1760_BcAsynchronousMessageSendAtLowPriority ( int16_t swDevice,
uint16_t * wpRemainingMessageCount,
uint16_t wTimeFactor )

Called by naibrd_1553_BcAsynchronousMessageSendAtLowPriority

◆ naibrd_1760_BcAsynchronousMessageSendAtLowPriority_ExecuteOnce()

naibrd_1760_t naibrd_1760_BcAsynchronousMessageSendAtLowPriority_ExecuteOnce ( int16_t swDevice,
uint16_t * wpRemainingMessageCount,
uint16_t wTimeFactor )

Called by naibrd_1553_BcAsynchronousMessageSendAtLowPriority_ExecuteOnce

◆ naibrd_1760_BcCommandCreate()

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

Called by naibrd_1553_BcCommandCreate

◆ naibrd_1760_BcCommandDelete()

naibrd_1760_t naibrd_1760_BcCommandDelete ( int16_t swDevice,
int16_t swCommandId )

Called by naibrd_1553_BcCommandDelete

◆ naibrd_1760_BcCommandGetWord()

naibrd_1760_t naibrd_1760_BcCommandGetWord ( uint16_t wHardwareOpcode,
uint16_t wCondition,
uint16_t * wpCommandOpcode )

Internal use only.

◆ naibrd_1760_BcConfig()

naibrd_1760_t naibrd_1760_BcConfig ( int16_t swDevice,
uint32_t dwOptions )

Called by naibrd_1553_BcConfig

◆ naibrd_1760_BcConfigureMessageGapTimerEnable()

naibrd_1760_t naibrd_1760_BcConfigureMessageGapTimerEnable ( int16_t swDevice,
uint16_t bIsMessageGapTimeFieldEnabled )

Called by naibrd_1553_BcConfigureMessageGapTimerEnable

◆ naibrd_1760_BcDataBlockCreate()

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

Called by naibrd_1553_BcDataBlockCreate

◆ naibrd_1760_BcDataBlockDelete()

naibrd_1760_t naibrd_1760_BcDataBlockDelete ( int16_t swDevice,
int16_t swDataBlockId )

Called by naibrd_1553_BcDataBlockDelete

◆ naibrd_1760_BcDataBlockRead()

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

Called by naibrd_1553_BcDataBlockRead

◆ naibrd_1760_BcDataBlockWrite()

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

Called by naibrd_1553_BcDataBlockWrite

◆ naibrd_1760_BcFrameCreate()

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

Called by naibrd_1553_BcFrameCreate

◆ naibrd_1760_BcFrameDelete()

naibrd_1760_t naibrd_1760_BcFrameDelete ( int16_t swDevice,
int16_t swFrameId )

Called by naibrd_1553_BcFrameDelete

◆ naibrd_1760_BcGetActivationState()

naibrd_1760_t naibrd_1760_BcGetActivationState ( int16_t swDevice,
uint16_t * wpCurrentState )

Called by naibrd_1553_BcGetActivationState

◆ naibrd_1760_BcGetConditionState()

naibrd_1760_t naibrd_1760_BcGetConditionState ( int16_t swDevice,
uint16_t wConditionCode,
uint16_t * wpCurrentState )

Called by naibrd_1553_BcGetConditionState

◆ naibrd_1760_BcGetMessageByIdRaw()

naibrd_1760_t naibrd_1760_BcGetMessageByIdRaw ( int16_t swDevice,
int16_t swMessageId,
uint16_t * wapBuffer,
uint16_t wIsPurgeRequired )

Called by naibrd_1553_BcGetMessageByIdRaw

◆ naibrd_1760_BcMessageCreate()

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

Called by naibrd_1553_BcMessageCreate

◆ naibrd_1760_BcMessageCreateBcToBroadcast()

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

Called by naibrd_1553_BcMessageCreateBcToBroadcast

◆ naibrd_1760_BcMessageCreateBcToRt()

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

Called by naibrd_1553_BcMessageCreateBcToRt

◆ naibrd_1760_BcMessageCreateBroadcastMode()

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

Called by naibrd_1553_BcMessageCreateBroadcastMode

◆ naibrd_1760_BcMessageCreateMode()

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

Called by naibrd_1553_BcMessageCreateMode

◆ naibrd_1760_BcMessageCreateRtToBc()

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

Called by naibrd_1553_BcMessageCreateRtToBc

◆ naibrd_1760_BcMessageCreateRtToBroadcast()

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

Called by naibrd_1553_BcMessageCreateRtToBroadcast

◆ naibrd_1760_BcMessageCreateRtToRt()

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

Called by naibrd_1553_BcMessageCreateRtToRt

◆ naibrd_1760_BcMessageDecodeRaw()

naibrd_1760_t naibrd_1760_BcMessageDecodeRaw ( int16_t swDevice,
uint16_t * wapBuffer,
naibrd_1553_msgstruct_t * dmspDecodedMessage )

Called by naibrd_1553_BcMessageDecodeRaw

◆ naibrd_1760_BcMessageDelete()

naibrd_1760_t naibrd_1760_BcMessageDelete ( int16_t swDevice,
int16_t swMessageId )

Called by naibrd_1553_BcMessageDelete

◆ naibrd_1760_BcMessageGetByIdDecoded()

naibrd_1760_t naibrd_1760_BcMessageGetByIdDecoded ( int16_t swDevice,
int16_t swMessageId,
naibrd_1553_msgstruct_t * dmspDecodedMessage,
uint16_t wIsPurgeRequired )

Called by naibrd_1553_BcMessageGetByIdDecoded

◆ naibrd_1760_BcMessageModify()

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

Called by naibrd_1553_BcMessageModify

◆ naibrd_1760_BcMessageModifyBcToBroadcast()

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

Called by naibrd_1553_BcMessageModifyBcToBroadcast

◆ naibrd_1760_BcMessageModifyBcToRt()

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

Called by naibrd_1553_BcMessageModifyBcToRt

◆ naibrd_1760_BcMessageModifyBroadcastMode()

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

Called by naibrd_1553_BcMessageModifyBroadcastMode

◆ naibrd_1760_BcMessageModifyMode()

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

Called by naibrd_1553_BcMessageModifyMode

◆ naibrd_1760_BcMessageModifyRtToBc()

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

Called by naibrd_1553_BcMessageModifyRtToBc

◆ naibrd_1760_BcMessageModifyRtToBroadcast()

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

Called by naibrd_1553_BcMessageModifyRtToBroadcast

◆ naibrd_1760_BcMessageModifyRtToRt()

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

Called by naibrd_1553_BcMessageModifyRtToRt

◆ naibrd_1760_BcSetMessageRetryPolicy()

naibrd_1760_t naibrd_1760_BcSetMessageRetryPolicy ( int16_t swDevice,
uint16_t wNumberOfRetries,
uint16_t wFirstRetryBus,
uint16_t wSecondRetryBus,
uint16_t wReserved )

Called by naibrd_1553_BcSetMessageRetryPolicy

◆ naibrd_1760_BcStart()

naibrd_1760_t naibrd_1760_BcStart ( int16_t swDevice,
int16_t swFrameId,
int32_t sdwFrameCount )

Called by naibrd_1553_BcStart

◆ naibrd_1760_BcStop()

naibrd_1760_t naibrd_1760_BcStop ( int16_t swDevice)

Called by naibrd_1553_BcStop

◆ naibrd_1760_Close()

naibrd_1760_t naibrd_1760_Close ( int16_t swDevice)

Called by naibrd_1553_Close

◆ naibrd_1760_ConfigureWatchdogTimeout()

naibrd_1760_t naibrd_1760_ConfigureWatchdogTimeout ( int16_t swDevice,
uint16_t bIsWatchdogEnabled,
uint16_t wWatchdogTimeout )

Called by naibrd_1553_ConfigureWatchdogTimeout

◆ naibrd_1760_EnableExecution()

naibrd_1760_t naibrd_1760_EnableExecution ( int16_t swDevice,
bool_t enabled )

Internal use only.

◆ naibrd_1760_Free()

naibrd_1760_t naibrd_1760_Free ( int16_t swDevice)

Called by naibrd_1553_Free

◆ naibrd_1760_GetTimeTag()

naibrd_1760_t naibrd_1760_GetTimeTag ( int16_t swDevice,
uint16_t * wpTimeTag )

Called by naibrd_1553_GetTimeTag This function will get the time tag only if a mode is set (BC, RT or MT), otherwise error.

◆ naibrd_1760_Initialize()

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

Called by naibrd_1553_Initialize

◆ naibrd_1760_InternalLoopback()

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

Called by naibrd_1553_InternalLoopback

◆ naibrd_1760_MtContinue()

naibrd_1760_t naibrd_1760_MtContinue ( int16_t swDevice)

Called by naibrd_1553_MtContinue

◆ naibrd_1760_MtInitialize()

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

Called by naibrd_1553_MtInitialize

◆ naibrd_1760_MtMessageDecodeRaw()

naibrd_1760_t naibrd_1760_MtMessageDecodeRaw ( int16_t swDevice,
uint16_t * wapBuffer,
naibrd_1553_msgstruct_t * dmspDecodedMessage )

Called by naibrd_1553_MtMessageDecodeRaw

◆ naibrd_1760_MtMessageGetFromStackDecoded()

naibrd_1760_t naibrd_1760_MtMessageGetFromStackDecoded ( int16_t swDevice,
naibrd_1553_msgstruct_t * dmspDecodedMessage,
uint16_t wMessageLocationAndRemoval,
uint16_t wStackSelector )

Called by naibrd_1553_MtMessageGetFromStackDecoded

◆ naibrd_1760_MtMessageGetFromStackRaw()

naibrd_1760_t naibrd_1760_MtMessageGetFromStackRaw ( int16_t swDevice,
uint16_t * wapBuffer,
uint16_t wBufferSize,
uint16_t wStackSelector )

Called by naibrd_1553_MtMessageGetFromStackRaw

◆ naibrd_1760_MtMessageMonitoringDisable()

naibrd_1760_t naibrd_1760_MtMessageMonitoringDisable ( int16_t swDevice,
uint16_t wRtAddress,
uint16_t wMessageDirection,
uint32_t dwRtSubaddressMask )

Called by naibrd_1553_MtMessageMonitoringDisable

◆ naibrd_1760_MtMessageMonitoringEnable()

naibrd_1760_t naibrd_1760_MtMessageMonitoringEnable ( int16_t swDevice,
uint16_t wRtAddress,
uint16_t wMessageDirection,
uint32_t dwRtSubaddressMask )

Called by naibrd_1553_MtMessageMonitoringEnable

◆ naibrd_1760_MtMessageMonitoringGetStatus()

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

Called by naibrd_1553_MtMessageMonitoringGetStatus

◆ naibrd_1760_MtPause()

naibrd_1760_t naibrd_1760_MtPause ( int16_t swDevice)

Called by naibrd_1553_MtPause

◆ naibrd_1760_MtStart()

naibrd_1760_t naibrd_1760_MtStart ( int16_t swDevice)

Called by naibrd_1553_MtStart

◆ naibrd_1760_MtStop()

naibrd_1760_t naibrd_1760_MtStop ( int16_t swDevice)

Called by naibrd_1553_MtStop

◆ naibrd_1760_Open()

naibrd_1760_t naibrd_1760_Open ( int32_t cardIndex,
int32_t module,
int32_t channel,
int16_t swDevice )

Called by naibrd_1553_Open

◆ naibrd_1760_ReadIntReg()

uint32_t naibrd_1760_ReadIntReg ( int16_t swDevice,
uint32_t wIntRegisterAddress )

Called by naibrd_1553_ClearIntLatch

◆ naibrd_1760_ReadMem()

uint16_t naibrd_1760_ReadMem ( int16_t swDevice,
uint32_t wDeviceMemoryAddress )

Internal use only.

◆ naibrd_1760_ResetTimeTag()

naibrd_1760_t naibrd_1760_ResetTimeTag ( int16_t swDevice)

Called by naibrd_1553_ResetTimeTag This function will reset the time tag only if a mode is set (BC, RT or MT), otherwise error.

◆ naibrd_1760_RT_GetAddress()

naibrd_1760_t naibrd_1760_RT_GetAddress ( int16_t swDevice,
uint8_t * outaddress )

Internal use only.

◆ naibrd_1760_RT_SetAddress()

naibrd_1760_t naibrd_1760_RT_SetAddress ( int16_t swDevice,
uint8_t address )

Internal use only.

◆ naibrd_1760_RtAddressRelatch()

naibrd_1760_t naibrd_1760_RtAddressRelatch ( int16_t swDevice)

Called by naibrd_1553_RtAddressRelatch

◆ naibrd_1760_RtBITWordConfigure()

naibrd_1760_t naibrd_1760_RtBITWordConfigure ( int16_t swDevice,
uint16_t wWordLocation )

◆ naibrd_1760_RtBITWordRead()

naibrd_1760_t naibrd_1760_RtBITWordRead ( int16_t swDevice,
uint16_t wWordLocation,
uint16_t * wpWord )

◆ naibrd_1760_RtBITWordWrite()

naibrd_1760_t naibrd_1760_RtBITWordWrite ( int16_t swDevice,
uint16_t wWord )

◆ naibrd_1760_RtDataBlockCreate()

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

Called by naibrd_1553_RtDataBlockCreate

◆ naibrd_1760_RtDataBlockDelete()

naibrd_1760_t naibrd_1760_RtDataBlockDelete ( int16_t swDevice,
int16_t swDataBlockId )

Called by naibrd_1553_RtDataBlockDelete

◆ naibrd_1760_RtDataBlockGetAddress()

naibrd_1760_t naibrd_1760_RtDataBlockGetAddress ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t * wpDeviceMemoryAddress )

Called by naibrd_1553_RtDataBlockGetAddress

◆ naibrd_1760_RtDataBlockGetSize()

naibrd_1760_t naibrd_1760_RtDataBlockGetSize ( uint16_t wDataBlockType,
uint16_t * wpSizeOfAllocatedDeviceMemory,
uint16_t * wpActualSizeOfDataBlock )

Internal use only.

◆ naibrd_1760_RtDataBlockMapToSubaddress()

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

Called by naibrd_1553_RtDataBlockMapToSubaddress NOTE: For FTJ/FTK modules, if the data block is a circular buffer, the broadcast and normal buffers will be the same. There is no choice to separate them. A separate broadcast buffer can be mapped if the buffer is ping-pong or single, however. In the case of ping-pong or single buffers, a separate broadcast buffer can be mapped using this function by setting wMessageTypes as NAIBRD_1553_RT_MESSAGE_TYPE_BROADCAST. The separate broadcast buffer must be a single 32 word buffer. NOTE: Even though this function will allow a double buffer to be mapped to a tx Subaddress, 2 single buffers should be used with the TxSwap function to implement Tx ping-pong buffering at the application level.

◆ naibrd_1760_RtDataBlockRead()

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

Called by naibrd_1553_RtDataBlockRead

◆ naibrd_1760_RtDataBlockUnmapFromSubaddress()

naibrd_1760_t naibrd_1760_RtDataBlockUnmapFromSubaddress ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t wSubaddress,
uint16_t wMessageTypes )

Called by naibrd_1553_RtDataBlockUnmapFromSubaddress

◆ naibrd_1760_RtDataBlockWrite()

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

Called by naibrd_1553_RtDataBlockWrite

◆ naibrd_1760_RtGetAddress()

naibrd_1760_t naibrd_1760_RtGetAddress ( int16_t swDevice,
uint16_t * wpRtAddress )

Called by naibrd_1553_RtGetAddress

◆ naibrd_1760_RtGetAddressSource()

naibrd_1760_t naibrd_1760_RtGetAddressSource ( int16_t swDevice,
uint16_t * wpRtAddressSource )

Called by naibrd_1553_RtGetAddressSource

◆ naibrd_1760_RtInitialize()

naibrd_1760_t naibrd_1760_RtInitialize ( int16_t swDevice,
uint16_t wCommandStackSize,
uint32_t dwOptions )

Called by naibrd_1553_RtInitialize

◆ naibrd_1760_RtMessageGetFromStackDecoded()

naibrd_1760_t naibrd_1760_RtMessageGetFromStackDecoded ( int16_t swDevice,
naibrd_1553_msgstruct_t * dmspDecodedMessage,
uint16_t wMessageLocationAndRemoval )

Called by naibrd_1553_RtMessageGetFromStackDecoded NOTE: wMessageLocationAndRemoval is ignored for FTJ/FTK. The obtained message will always be the first one to arrive.

◆ naibrd_1760_RtMessageGetFromStackRaw()

naibrd_1760_t naibrd_1760_RtMessageGetFromStackRaw ( int16_t swDevice,
uint16_t * wapBuffer,
uint16_t wBufferSize )

Called by naibrd_1553_RtMessageGetFromStackRaw NOTE: There is no concept of an RT stack in the Holt 1760 device (FTJ/FTK). This function checks all descriptor blocks for new messages and if any, the message is pushed on to a software implemented RT stack.

◆ naibrd_1760_RtMessageLegalityDisable()

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

Called by naibrd_1553_RtMessageLegalityDisable

◆ naibrd_1760_RtMessageLegalityEnable()

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

Called by naibrd_1553_RtMessageLegalityEnable

◆ naibrd_1760_RtMessageLegalityGetStatus()

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

Called by naibrd_1553_RtMessageLegalityGetStatus

◆ naibrd_1760_RtModeCodeGetIrqStatus()

naibrd_1760_t naibrd_1760_RtModeCodeGetIrqStatus ( int16_t swDevice,
uint16_t wModeCodeType,
uint16_t * wpModeCodeIrq )

Called by naibrd_1553_RtModeCodeGetIrqStatus

◆ naibrd_1760_RtModeCodeIrqDisable()

naibrd_1760_t naibrd_1760_RtModeCodeIrqDisable ( int16_t swDevice,
uint16_t wModeCodeType,
uint16_t wModeCodeIrq )

Called by naibrd_1760_RtModeCodeIrqEnable

◆ naibrd_1760_RtModeCodeIrqEnable()

naibrd_1760_t naibrd_1760_RtModeCodeIrqEnable ( int16_t swDevice,
uint16_t wModeCodeType,
uint16_t wModeCodeIrq )

Called by naibrd_1553_RtModeCodeIrqEnable

◆ naibrd_1760_RtModeCodeReadData()

naibrd_1760_t naibrd_1760_RtModeCodeReadData ( int16_t swDevice,
uint16_t wDataContainingModeCode,
uint16_t * wpData )

Called by naibrd_1553_RtModeCodeReadData

◆ naibrd_1760_RtModeCodeWriteData()

naibrd_1760_t naibrd_1760_RtModeCodeWriteData ( int16_t swDevice,
uint16_t wDataContainingModeCode,
uint16_t wData )

Called by naibrd_1553_RtModeCodeWriteData

◆ naibrd_1760_RtMtInitialize()

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

Called by naibrd_1553_RtMtInitialize

◆ naibrd_1760_RtMtStart()

naibrd_1760_t naibrd_1760_RtMtStart ( int16_t swDevice)

Called by naibrd_1553_RtMtStart

◆ naibrd_1760_RtMtStop()

naibrd_1760_t naibrd_1760_RtMtStop ( int16_t swDevice)

Called by naibrd_1553_RtMtStop

◆ naibrd_1760_RtResponseStatusBitsGet()

naibrd_1760_t naibrd_1760_RtResponseStatusBitsGet ( int16_t swDevice,
uint16_t * wpStatusEnablerMask )

Called by naibrd_1553_RtResponseStatusBitsGet

◆ naibrd_1760_RtResponseStatusBitsSet()

naibrd_1760_t naibrd_1760_RtResponseStatusBitsSet ( int16_t swDevice,
uint16_t wStatusEnablerMask )

Called by naibrd_1553_RtResponseStatusBitsSet

◆ naibrd_1760_RtResponseStatusBitsUnset()

naibrd_1760_t naibrd_1760_RtResponseStatusBitsUnset ( int16_t swDevice,
uint16_t wStatusEnablerMask )

Called by naibrd_1553_RtResponseStatusBitsUnset

◆ naibrd_1760_RtSetAddress()

naibrd_1760_t naibrd_1760_RtSetAddress ( int16_t swDevice,
uint16_t wRtAddress )

Called by naibrd_1553_RtSetAddress

◆ naibrd_1760_RtSetAddressSource()

naibrd_1760_t naibrd_1760_RtSetAddressSource ( int16_t swDevice,
uint16_t wRtAddressSource )

◆ naibrd_1760_RtStart()

naibrd_1760_t naibrd_1760_RtStart ( int16_t swDevice)

Called by naibrd_1553_RtStart

◆ naibrd_1760_RtStop()

naibrd_1760_t naibrd_1760_RtStop ( int16_t swDevice)

Called by naibrd_1553_RtStop

◆ naibrd_1760_RtTxDataBlockSwap()

naibrd_1760_t naibrd_1760_RtTxDataBlockSwap ( int16_t swDevice,
int16_t swDataBlockId,
uint16_t wSubaddress )

Called by naibrd_1553_RtTxDataBlockSwap. For Tx ping-pong buffering, 2 single data blocks should be created for use with this function.

◆ naibrd_1760_SetInterruptSteering()

naibrd_1760_t naibrd_1760_SetInterruptSteering ( int16_t swDevice,
naibrd_int_steering_t steering )

Called by naibrd_1553_SetInterruptSteering

◆ naibrd_1760_SetIntVector()

naibrd_1553_t naibrd_1760_SetIntVector ( int16_t swDevice,
int32_t intvector )

Called by naibrd_1553_SetIntVector

◆ naibrd_1760_SetIrqConfig()

naibrd_1760_t naibrd_1760_SetIrqConfig ( int16_t swDevice,
uint16_t wInterruptMode )

Called by naibrd_1553_SetIrqConfig

◆ naibrd_1760_SetResponseTimeout()

naibrd_1760_t naibrd_1760_SetResponseTimeout ( int16_t swDevice,
uint16_t wResponseTimeout )

Called by naibrd_1553_SetResponseTimeout

◆ naibrd_1760_SetTimeTag()

naibrd_1760_t naibrd_1760_SetTimeTag ( int16_t swDevice,
uint16_t wTimeTag )

Called by naibrd_1553_SetTimeTag This function will set the time tag only if a mode is set (BC, RT or MT), otherwise error.

◆ naibrd_1760_SetTimeTagResolution()

naibrd_1760_t naibrd_1760_SetTimeTagResolution ( int16_t swDevice,
uint16_t wTimeTagResolution )

Called by naibrd_1553_SetTimeTagResolution

◆ naibrd_1760_WriteIntReg()

naibrd_1760_t naibrd_1760_WriteIntReg ( int16_t swDevice,
uint32_t wIntRegisterAddress,
uint32_t wIntRegisterValue )

Called by naibrd_1553_ClearIntLatch

◆ naibrd_1760_WriteMem()

naibrd_1760_t naibrd_1760_WriteMem ( int16_t swDevice,
uint32_t wDeviceMemoryAddress,
uint16_t wDeviceMemoryValue )

Internal use only.

◆ rt_DataBlock_GetSubaddressLookupInformation_1760()

bool_t rt_DataBlock_GetSubaddressLookupInformation_1760 ( HostDataBlockStructure_1760 * hdbspDataBlock,
uint16_t * wpMappedSubaddress,
bool_t * bIsTx )

◆ rt_Initialize_1760()

naibrd_1760_t rt_Initialize_1760 ( int16_t swDevice,
uint16_t wCommandStackSize,
uint32_t dwOptions )

◆ rt_update_software_stack_1760()

naibrd_1760_t rt_update_software_stack_1760 ( int16_t swDevice)

◆ rtmt_ConfigureDefault_1760()

naibrd_1760_t rtmt_ConfigureDefault_1760 ( int16_t swDevice)

◆ verify_channel()

static naibrd_1760_t verify_channel ( uint32_t modid,
int32_t channel )
static

Variable Documentation

◆ mil_1760_GEN5_32bit_reg_bcgpqpt

const uint32_t mil_1760_GEN5_32bit_reg_bcgpqpt[] = NAI_1760_GEN5_BC_GPQP_ADD
static

◆ mil_1760_GEN5_32bit_reg_bcinitinstpt

const uint32_t mil_1760_GEN5_32bit_reg_bcinitinstpt[] = NAI_1760_GEN5_32BIT_REG_BC_INITIAL_INSTRUCTION_POINTER_ADD
static

◆ mil_1760_GEN5_32bit_reg_memory

const uint32_t mil_1760_GEN5_32bit_reg_memory[] = NAI_1760_GEN5_32BIT_REG_MEMORY_ADD
static

◆ mil_1760_GEN5_reg_memory

const uint32_t mil_1760_GEN5_reg_memory[] = NAI_1760_GEN5_CORE_ADD
static

◆ mil_1760_reg_BC_Condition_Code

const uint32_t mil_1760_reg_BC_Condition_Code[] = NAI_1760_GEN5_BC_CONDITION_CODE_ADD
static

◆ mil_1760_reg_bc_config

const uint32_t mil_1760_reg_bc_config[] = NAI_1760_GEN5_BC_CONFIGUTATION_ADD
static

◆ mil_1760_reg_BC_GPF

const uint32_t mil_1760_reg_BC_GPF[] = NAI_1760_GEN5_BC_GPF_ADD
static

◆ mil_1760_reg_bc_int_enable

const uint32_t mil_1760_reg_bc_int_enable[] = NAI_1760_GEN5_BC_INTERRUPT_ENABLE_ADD
static

◆ mil_1760_reg_bc_int_output_enable

const uint32_t mil_1760_reg_bc_int_output_enable[] = NAI_1760_GEN5_BC_INTERRUPT_OUTPUT_ENABLE_ADD
static

◆ mil_1760_reg_bc_pending_int

const uint32_t mil_1760_reg_bc_pending_int[] = NAI_1760_GEN5_BC_PENDING_INTERRUPT_ADD
static

◆ mil_1760_reg_bc_time_tag_counter

const uint32_t mil_1760_reg_bc_time_tag_counter[] = NAI_1760_GEN5_BC_TIME_TAG_COUNTER_ADD
static

◆ mil_1760_reg_bc_time_tag_utility

const uint32_t mil_1760_reg_bc_time_tag_utility[] = NAI_1760_GEN5_BC_TIME_TAG_UTILITY_ADD
static

◆ mil_1760_reg_config

const uint32_t mil_1760_reg_config[] = NAI_1760_GEN5_CONFIGURATION_ADD
static

◆ mil_1760_reg_control

const uint32_t mil_1760_reg_control[] = NAI_1760_GEN5_CONTROL_ADD
static

◆ mil_1760_reg_corereg

const uint32_t mil_1760_reg_corereg[] = NAI_1760_GEN5_CORE_ADD
static

◆ mil_1760_reg_eeprom_checksum_lock_unlock

const uint32_t mil_1760_reg_eeprom_checksum_lock_unlock[] = NAI_1760_GEN5_EEPROM_CHECKSUM_LOCK_UNLOCK_ADD
static

◆ mil_1760_reg_hw_int_enable

const uint32_t mil_1760_reg_hw_int_enable[] = NAI_1760_GEN5_HARDWARE_INTERRUPT_ENABLE_ADD
static

◆ mil_1760_reg_hw_int_output_enable

const uint32_t mil_1760_reg_hw_int_output_enable[] = NAI_1760_GEN5_HARDWARE_INTERRUPT_OUTPUT_ENABLE_ADD
static

◆ mil_1760_reg_hw_pending_int

const uint32_t mil_1760_reg_hw_pending_int[] = NAI_1760_GEN5_HARDWARE_PENDING_INTERRUPT_ADD
static

◆ mil_1760_reg_int_dyn

const uint32_t mil_1760_reg_int_dyn[] = NAI_1760_GEN5_INTERRUPTS_DYN_ADD
static

◆ mil_1760_reg_int_edge_level_select

const uint32_t mil_1760_reg_int_edge_level_select[] = NAI_1760_GEN5_EDGE_LEVEL_SELECT_ADD
static

◆ mil_1760_reg_int_enable

const uint32_t mil_1760_reg_int_enable[] = NAI_1760_GEN5_INTERRUPT_ENABLE_ADD
static

◆ mil_1760_reg_master_config

const uint32_t mil_1760_reg_master_config[] = NAI_1760_GEN5_MASTER_CONFIGURATION_ADD
static

◆ mil_1760_reg_master_status

const uint32_t mil_1760_reg_master_status[] = NAI_1760_GEN5_MASTER_STATUS_ADD
static

◆ mil_1760_reg_mt_addr_list_pointer

const uint32_t mil_1760_reg_mt_addr_list_pointer[] = MAI_1760_GEN5_MT_BUS_MONITOR_ADDRESS_LIST
static

◆ mil_1760_reg_mt_address_list_A

const uint32_t mil_1760_reg_mt_address_list_A[] = NAI_1760_GEN5_MT_SMT_ADDRESS_LIST_A
static

◆ mil_1760_reg_mt_address_list_B

const uint32_t mil_1760_reg_mt_address_list_B[] = NAI_1760_GEN5_MT_SMT_ADDRESS_LIST_B
static

◆ mil_1760_reg_mt_filter_table

const uint32_t mil_1760_reg_mt_filter_table[] = NAI_1760_GEN5_MT_SMT_FILTER_TABLE
static

◆ mil_1760_reg_mt_pending_int

const uint32_t mil_1760_reg_mt_pending_int[] = NAI_1760_GEN5_MT_PENDING_INTERRUPT_ADD
static

◆ mil_1760_reg_mt_smt_int_enable

const uint32_t mil_1760_reg_mt_smt_int_enable[] = NAI_1760_GEN5_MT_SMT_INTERRUPT_ENABLE_ADD
static

◆ mil_1760_reg_mt_smt_int_output_enable

const uint32_t mil_1760_reg_mt_smt_int_output_enable[] = NAI_1760_GEN5_MT_SMT_INTERRUPT_OUTPUT_ENABLE_ADD
static

◆ mil_1760_reg_mt_time_tag_counter_low

const uint32_t mil_1760_reg_mt_time_tag_counter_low[] = NAI_1760_GEN5_MT_TIME_TAG_COUNTER_LOW_ADD
static

◆ mil_1760_reg_mt_time_tag_utility_low

const uint32_t mil_1760_reg_mt_time_tag_utility_low[] = NAI_1760_GEN5_MT_TIME_TAG_UTILITY_LOW_ADD
static

◆ mil_1760_reg_reset

const uint32_t mil_1760_reg_reset[] = NAI_1760_GEN5_RESET_ADD
static

◆ mil_1760_reg_rt1_alt_bit_word

const uint32_t mil_1760_reg_rt1_alt_bit_word[] = NAI_1760_GEN5_RT1_ALTERNATE_BIT_WORD_ADD
static

◆ mil_1760_reg_rt1_config

const uint32_t mil_1760_reg_rt1_config[] = NAI_1760_GEN5_RT1_CONFIGURATION_ADD
static

◆ mil_1760_reg_rt1_descriptor_table

const uint32_t mil_1760_reg_rt1_descriptor_table[] = NAI_1760_GEN5_RT1_DESCRIPTOR_TABLE_ADD
static

◆ mil_1760_reg_rt1_illegalization_table

const uint32_t mil_1760_reg_rt1_illegalization_table[] = NAI_1760_GEN5_RT1_ILLEGALIZATION_TABLE_ADD
static

◆ mil_1760_reg_rt1_oper_status

const uint32_t mil_1760_reg_rt1_oper_status[] = NAI_1760_GEN5_RT1_OPERATIONAL_STATUS_ADD
static

◆ mil_1760_reg_rt1_status_word_bits

const uint32_t mil_1760_reg_rt1_status_word_bits[] = NAI_1760_GEN5_RT1_STATUS_WORD_BITS_ADD
static

◆ mil_1760_reg_rt1_time_tag_counter

const uint32_t mil_1760_reg_rt1_time_tag_counter[] = NAI_1760_GEN5_RT1_TIME_TAG_COUNTER_ADD
static

◆ mil_1760_reg_rt1_time_tag_utility

const uint32_t mil_1760_reg_rt1_time_tag_utility[] = NAI_1760_GEN5_RT1_TIME_TAG_UTILITY_ADD
static

◆ mil_1760_reg_rt_int_enable

const uint32_t mil_1760_reg_rt_int_enable[] = NAI_1760_GEN5_RT_INTERRUPT_ENABLE_ADD
static

◆ mil_1760_reg_rt_int_output_enable

const uint32_t mil_1760_reg_rt_int_output_enable[] = NAI_1760_GEN5_RT_INTERRUPT_OUTPUT_ENABLE_ADD
static

◆ mil_1760_reg_rt_pending_int

const uint32_t mil_1760_reg_rt_pending_int[] = NAI_1760_GEN5_RT_PENDING_INTERRUPT_ADD
static

◆ mil_1760_reg_SMT

const uint32_t mil_1760_reg_SMT[] = NAI_1760_GEN5_MT_SMT
static

◆ mil_1760_reg_time_tag_counter_config

const uint32_t mil_1760_reg_time_tag_counter_config[] = NAI_1760_GEN5_TIME_TAG_COUNTER_CONFIGURATION_ADD
static

◆ s_dssaDevices

device_state_t s_dssaDevices[NAIBRD_1760_MAX_NUM_DEVICES]
static

◆ wBuffer32

uint32_t wBuffer32[MAX_BLOCK_ARRAY_SIZE]
static