EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdini

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
77
Chapter 3 System Functions
3.1.7 ApiCmdIni
Prototype:
AiInt16 ApiCmdIni( AiUInt32 ul_ModuleHandle, AiUInt8 mode, TY_API_INI_INFO *pini );
Driver Command:
API_INI (0x30)
Purpose:
This function is used to initialize the AIM board after system or power-up reset and to
return AIM board specific information.
Input
A
A
i
i
U
U
I
I
n
n
t
t
8
8
m
m
o
o
d
d
e
e
Initialization mode
Value
Constant
Description
0
API_INIT_MODE_ALL
Initialize global variables for BIU1 and BIU2
1
API_INIT_MODE_READ
Read initialize parameters only
Output
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
I
I
N
N
I
I
_
_
I
I
N
N
F
F
O
O
*
*
p
p
i
i
n
n
i
i
Board initialization parameter
typedef struct ty_api_ini_info
{
AiUInt8 bt[4];
AiUInt8 chns;
AiUInt8 prot;
AiUInt8 emod;
AiUInt8 irg;
AiUInt8 res1;
AiUInt8 padd1;
AiUInt16 padd2;
AiUInt16 pbi_id_biu1;
AiUInt16 asp_mon_id;
AiUInt16 asp_bite_id;
AiUInt16 pbi_id_biu2;
AiUInt32 board_config;
AiUInt32 glb_mem_size;
AiUInt32 glb_mem_addr;
AiUInt32 loc_dram_size;
AiUInt32 loc_dram_addr;
AiUInt32 shared_dram_size;
AiUInt32 shared_dram_addr;
AiUInt32 flash_ram_size;
AiUInt32 flash_ram_addr;
AiUInt32 pci[16];
AiUInt32 board_type;
AiUInt32 board_sub_type;
AiUInt32 hardware_variant;
} TY_API_INI_INFO;

Table of Contents

Other manuals for Aim MIL-STD-1553