46
Software Library Reference Manual for VME 429
Section 3 - System Functions
3.7 Api429CmdIni
Prototype:
AiUInt8 Api429CmdIni( AiUInt8 b_Module, TY_API429_INI_INFO *px_IniPar );
Driver Command:
API429_INI (0x30)
Purpose:
This function is used to initialize the API429 board after a system or power-up reset
and to return API429 board specific information.
This function must be the first function called after a system or power-up reset.
Input
none
Output
T
T
Y
Y
_
_
A
A
P
P
I
I
4
4
2
2
9
9
_
_
I
I
N
N
I
I
_
_
I
I
N
N
F
F
O
O
*
*
p
p
x
x
_
_
I
I
n
n
i
i
P
P
a
a
r
r
Pointer to Initialize Parameter Data structure (api429.h)
typedef struct
{
AiUInt8 lca_id;
AiUInt8 padding1;
AiUInt16 padding2;
AiUInt16 asp_drv_id;
AiUInt16 asp_mon_id;
AiUInt16 asp_bite_id;
AiUInt16 api_fw_id;
AiUInt32 lca_chks;
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 board_type;
AiUInt32 board_config;
AiUInt32 board_serial;
AiUInt32 chn_cnt;
AiUInt32 pci[16];
} TY_API429_INI_INFO;
'
'
A
A
i
i
U
U
I
I
n
n
t
t
8
8
l
l
c
c
a
a
_
_
i
i
d
d
'
'
LCA identifier
'
'
A
A
i
i
U
U
I
I
n
n
t
t
8
8
p
p
a
a
d
d
d
d
i
i
n
n
g
g
1
1
'
'
Reserved (0)
'
'
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
p
p
a
a
d
d
d
d
i
i
n
n
g
g
2
2
'
'
Reserved (0)
Summary of Contents for AMC429
Page 2: ......