Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
m1553_bc_common_utils.h File Reference

Go to the source code of this file.

Typedefs

typedef enum M1553ModeCodes M1553ModeCodes_t
 
typedef enum M1553MsgType M1553MsgType_t
 
typedef enum M1553MsgDirectionForModeCode M1553MsgDirectionForModeCode_t
 

Enumerations

enum  M1553ModeCodes {
  DynamicBusControl_0x00 , Syncronize_0x01 , TransmitStatusWord_0x02 , InitiateSelfTest_0x03 ,
  TransmitterShutdown_0x04 , OverrideTransmitterShutdown_0x05 , InhibitTerminalFlag_0x06 , OverrideInhibitTerminalFlag_0x07 ,
  ResetRemoteTerminal_0x08 , TransmitVectorWord_0x10 = 16u , SyncronizeWdata_0x11 , TransmitLastCommandWord_0x12 ,
  TransmitBITWord_0x13 , SelectedTransmitterShutDown_0x14 , Ovveride_SelectedTransmitter_Shoutdown_0x15
}
 
enum  M1553MsgType {
  M1553_MSGTYPE_BCTORT = 1 , M1553_MSGTYPE_RTTOBC , M1553_MSGTYPE_RTTORT , M1553_MSGTYPE_MODECODE_TX ,
  M1553_MSGTYPE_MODECODE_RX
}
 
enum  M1553MsgDirectionForModeCode { M1553_MSGTYPE_MODECODE_DIRECTION_TX = M1553_MSGTYPE_MODECODE_TX , M1553_MSGTYPE_MODECODE_DIRECTION_RX = M1553_MSGTYPE_MODECODE_RX }
 

Functions

bool_t GetBus (uint32_t *usBus)
 
bool_t GetMsgDirection (bool_t *bcToRt)
 
bool_t GetMsgTypeAndCheckForQuit (M1553MsgType_t *msgType)
 
bool_t AskAndCheckForValidModeCodeAndCheckForQuit (M1553MsgDirectionForModeCode_t modeCodeDirection, M1553ModeCodes_t *modeCodeCommand, bool_t *isValidModeCodeCommand)
 

Typedef Documentation

◆ M1553ModeCodes_t

◆ M1553MsgDirectionForModeCode_t

◆ M1553MsgType_t

Enumeration Type Documentation

◆ M1553ModeCodes

Enumerator
DynamicBusControl_0x00 
Syncronize_0x01 
TransmitStatusWord_0x02 
InitiateSelfTest_0x03 
TransmitterShutdown_0x04 
OverrideTransmitterShutdown_0x05 
InhibitTerminalFlag_0x06 
OverrideInhibitTerminalFlag_0x07 
ResetRemoteTerminal_0x08 
TransmitVectorWord_0x10 
SyncronizeWdata_0x11 
TransmitLastCommandWord_0x12 
TransmitBITWord_0x13 
SelectedTransmitterShutDown_0x14 
Ovveride_SelectedTransmitter_Shoutdown_0x15 

◆ M1553MsgDirectionForModeCode

Enumerator
M1553_MSGTYPE_MODECODE_DIRECTION_TX 
M1553_MSGTYPE_MODECODE_DIRECTION_RX 

◆ M1553MsgType

Enumerator
M1553_MSGTYPE_BCTORT 
M1553_MSGTYPE_RTTOBC 
M1553_MSGTYPE_RTTORT 
M1553_MSGTYPE_MODECODE_TX 
M1553_MSGTYPE_MODECODE_RX 

Function Documentation

◆ AskAndCheckForValidModeCodeAndCheckForQuit()

bool_t AskAndCheckForValidModeCodeAndCheckForQuit ( M1553MsgDirectionForModeCode_t modeCodeDirection,
M1553ModeCodes_t * modeCodeCommand,
bool_t * isValidModeCodeCommand )

◆ GetBus()

bool_t GetBus ( uint32_t * usBus)

◆ GetMsgDirection()

bool_t GetMsgDirection ( bool_t * bcToRt)

◆ GetMsgTypeAndCheckForQuit()

bool_t GetMsgTypeAndCheckForQuit ( M1553MsgType_t * msgType)