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

Functions

bool_t Get1553Address (naibrd_1553_rt_subaddress_t maxaddress, naibrd_1553_rt_subaddress_t defaddress, naibrd_1553_rt_subaddress_t *address)
 
bool_t Get1553MTCfg (uint32_t modid, int32_t defchan, int32_t *rtchan)
 
bool_t Get1553RTCfg (uint32_t modid, int32_t defchan, naibrd_1553_rt_address_t defaddr, int32_t *rtchan, naibrd_1553_rt_address_t *rtaddr)
 
bool_t Get1553BCCfg (uint32_t modid, int32_t defchan, int32_t *bcchan)
 
bool_t IsFTx1553 (uint32_t moduleID)
 
bool_t IsFTx1760 (uint32_t moduleID)
 
bool_t Get1553LogicalDevNum (int16_t defdevnum, int16_t *devnum)
 
bool_t Get1553RTAddressSource (bool_t defSoftware, bool_t *bSoftware)
 
bool_t Get1553BCSoftwareOverride (bool_t defSoftware, bool_t *bSoftware)
 
bool_t Get1553BCAsyncMsgType (bool_t defPriorityHigh, bool_t *bHighPriority)
 
bool_t Get1760EEPROMCopy (bool_t defCopyToEEPROM, bool_t *bCopyToEEPROM)
 
bool_t Get1553RxBufferType (naibrd_1553_rt_dataBlockType_t defrxbuffertype, naibrd_1553_rt_dataBlockType_t *rxbuffertype)
 
void Load1553MenuCommands (int32_t menuCmdCnt, nai_1553_cmdtbl_type menuCmds[])
 
void Display1553MenuCommands (int8_t *menuTitle)
 
bool_t Get1553CmdNum (int32_t cmdrequestCnt, int8_t *cmdrequest, int32_t *cmdNum)
 
void LoadIllegalization (int16_t devnum, int32_t channel)
 
void SaveIllegalization (int16_t devnum, int32_t channel)
 
void DisplayRegisters (int16_t devnum)
 
void DisplayAuxRegisters (int16_t devnum)
 
bool_t GetRTAddress (int32_t *nRTaddress)
 
bool_t GetTxRx (bool_t *bTxMsg)
 
bool_t GetSubaddress (int32_t *nSubaddress)
 
bool_t GetWordCount (int32_t *nWordCount)
 
int32_t MemoryTest (int16_t devnum)
 
int32_t MemoryTestFast (int16_t cardIndex, int16_t module, int16_t channel)
 

Variables

static int32_t g_MenuCmdCnt = 0
 
static nai_1553_cmdtbl_type NAI_MenuCmds [25]
 

Function Documentation

◆ Display1553MenuCommands()

void Display1553MenuCommands ( int8_t * menuTitle)

◆ DisplayAuxRegisters()

void DisplayAuxRegisters ( int16_t devnum)

◆ DisplayRegisters()

void DisplayRegisters ( int16_t devnum)

◆ Get1553Address()

bool_t Get1553Address ( naibrd_1553_rt_subaddress_t maxaddress,
naibrd_1553_rt_subaddress_t defaddress,
naibrd_1553_rt_subaddress_t * address )

◆ Get1553BCAsyncMsgType()

bool_t Get1553BCAsyncMsgType ( bool_t defPriorityHigh,
bool_t * bHighPriority )

◆ Get1553BCCfg()

bool_t Get1553BCCfg ( uint32_t modid,
int32_t defchan,
int32_t * bcchan )

◆ Get1553BCSoftwareOverride()

bool_t Get1553BCSoftwareOverride ( bool_t defSoftware,
bool_t * bSoftware )

◆ Get1553CmdNum()

bool_t Get1553CmdNum ( int32_t cmdrequestCnt,
int8_t * cmdrequest,
int32_t * cmdNum )

◆ Get1553LogicalDevNum()

bool_t Get1553LogicalDevNum ( int16_t defdevnum,
int16_t * devnum )

◆ Get1553MTCfg()

bool_t Get1553MTCfg ( uint32_t modid,
int32_t defchan,
int32_t * rtchan )

◆ Get1553RTAddressSource()

bool_t Get1553RTAddressSource ( bool_t defSoftware,
bool_t * bSoftware )

◆ Get1553RTCfg()

bool_t Get1553RTCfg ( uint32_t modid,
int32_t defchan,
naibrd_1553_rt_address_t defaddr,
int32_t * rtchan,
naibrd_1553_rt_address_t * rtaddr )

◆ Get1553RxBufferType()

bool_t Get1553RxBufferType ( naibrd_1553_rt_dataBlockType_t defrxbuffertype,
naibrd_1553_rt_dataBlockType_t * rxbuffertype )

◆ Get1760EEPROMCopy()

bool_t Get1760EEPROMCopy ( bool_t defCopyToEEPROM,
bool_t * bCopyToEEPROM )

◆ GetRTAddress()

bool_t GetRTAddress ( int32_t * nRTaddress)

◆ GetSubaddress()

bool_t GetSubaddress ( int32_t * nSubaddress)

◆ GetTxRx()

bool_t GetTxRx ( bool_t * bTxMsg)

◆ GetWordCount()

bool_t GetWordCount ( int32_t * nWordCount)

◆ IsFTx1553()

bool_t IsFTx1553 ( uint32_t moduleID)

◆ IsFTx1760()

bool_t IsFTx1760 ( uint32_t moduleID)

◆ Load1553MenuCommands()

void Load1553MenuCommands ( int32_t menuCmdCnt,
nai_1553_cmdtbl_type menuCmds[] )

◆ LoadIllegalization()

void LoadIllegalization ( int16_t devnum,
int32_t channel )

◆ MemoryTest()

int32_t MemoryTest ( int16_t devnum)

◆ MemoryTestFast()

int32_t MemoryTestFast ( int16_t cardIndex,
int16_t module,
int16_t channel )

◆ SaveIllegalization()

void SaveIllegalization ( int16_t devnum,
int32_t channel )

Variable Documentation

◆ g_MenuCmdCnt

int32_t g_MenuCmdCnt = 0
static

◆ NAI_MenuCmds

nai_1553_cmdtbl_type NAI_MenuCmds[25]
static