2#ifndef NAI_1553_UTILS_H
3#define NAI_1553_UTILS_H
5#define NAI_1553_MAX_CMD_STR_LEN 255
6#define NAI_1553_MAX_MENU_STR_LEN 255
10 int8_t
cmdstr[NAI_1553_MAX_CMD_STR_LEN];
11 int8_t
menustr[NAI_1553_MAX_MENU_STR_LEN];
13 bool_t (*
func)(int16_t devnum);
24bool_t
Get1553Address(naibrd_1553_rt_subaddress_t maxaddress, naibrd_1553_rt_subaddress_t defaddress, naibrd_1553_rt_subaddress_t *address);
25bool_t
Get1553MTCfg(uint32_t modid, int32_t defchan, int32_t *rtchan);
26bool_t
Get1553RTCfg(uint32_t modid, int32_t defchan, naibrd_1553_rt_address_t defaddr, int32_t *rtchan, naibrd_1553_rt_address_t *rtaddr);
27bool_t
Get1553BCCfg(uint32_t modid, int32_t defchan, int32_t *bcchan);
45int32_t
MemoryTestFast(int16_t cardIndex, int16_t module, int16_t channel);
void Load1553MenuCommands(int32_t menuCmdCnt, nai_1553_cmdtbl_type menuCmds[])
Definition m1553_common_utils.c:389
void DisplayAuxRegisters(int16_t devnum)
Definition m1553_common_utils.c:490
int32_t MemoryTestFast(int16_t cardIndex, int16_t module, int16_t channel)
Definition m1553_common_utils.c:673
bool_t Get1553MTCfg(uint32_t modid, int32_t defchan, int32_t *rtchan)
Definition m1553_common_utils.c:54
bool_t GetRTAddress(int32_t *nRTaddress)
Definition m1553_common_utils.c:507
bool_t IsSUMMIT1553(uint32_t moduleID)
bool_t GetSubaddress(int32_t *nSubaddress)
Definition m1553_common_utils.c:570
bool_t Get1553RTAddressSource(bool_t defSoftware, bool_t *bSoftware)
Definition m1553_common_utils.c:214
bool_t Get1553BCAsyncMsgType(bool_t defPriorityHigh, bool_t *bHighPriority)
Definition m1553_common_utils.c:276
bool_t GetTxRx(bool_t *bTxMsg)
Definition m1553_common_utils.c:537
bool_t Get1553BCSoftwareOverride(bool_t defSoftware, bool_t *bSoftware)
Definition m1553_common_utils.c:245
bool_t Get1553LogicalDevNum(int16_t defdevnum, int16_t *devnum)
Definition m1553_common_utils.c:183
bool_t Get1553RTCfg(uint32_t modid, int32_t defchan, naibrd_1553_rt_address_t defaddr, int32_t *rtchan, naibrd_1553_rt_address_t *rtaddr)
Definition m1553_common_utils.c:74
bool_t IsFTx1760(uint32_t moduleID)
Definition m1553_common_utils.c:167
bool_t Get1553RxBufferType(naibrd_1553_rt_dataBlockType_t defrxbuffertype, naibrd_1553_rt_dataBlockType_t *rxbuffertype)
Definition m1553_common_utils.c:338
bool_t Get1760EEPROMCopy(bool_t defCopyToEEPROM, bool_t *bCopyToEEPROM)
Definition m1553_common_utils.c:307
void Display1553MenuCommands(int8_t *menuTitle)
Definition m1553_common_utils.c:403
void SaveIllegalization(int16_t devnum, int32_t channel)
Definition m1553_common_utils.c:455
bool_t GetWordCount(int32_t *nWordCount)
Definition m1553_common_utils.c:600
void LoadIllegalization(int16_t devnum, int32_t channel)
Definition m1553_common_utils.c:431
bool_t Get1553Address(naibrd_1553_rt_subaddress_t maxaddress, naibrd_1553_rt_subaddress_t defaddress, naibrd_1553_rt_subaddress_t *address)
Definition m1553_common_utils.c:23
bool_t Get1553BCCfg(uint32_t modid, int32_t defchan, int32_t *bcchan)
Definition m1553_common_utils.c:113
int32_t MemoryTest(int16_t devnum)
Definition m1553_common_utils.c:630
void Menu1553Command(int32_t cmd, int16_t devnum)
void DisplayRegisters(int16_t devnum)
Definition m1553_common_utils.c:473
struct _nai_1553_cmdtbl nai_1553_cmdtbl_type
bool_t IsFTx1553(uint32_t moduleID)
Definition m1553_common_utils.c:134
enum naibrd_1553_rt_dataBlockType naibrd_1553_rt_dataBlockType_t
Definition m1553_common_utils.h:9
bool_t(* func)(int16_t devnum)
Definition m1553_common_utils.h:13
int8_t cmdstr[NAI_1553_MAX_CMD_STR_LEN]
Definition m1553_common_utils.h:10
int32_t cmdnum
Definition m1553_common_utils.h:12
int8_t menustr[NAI_1553_MAX_MENU_STR_LEN]
Definition m1553_common_utils.h:11