MIL-STD-1553 Reference Manual
Chapter 6 – FIFO Functions
6.2 ApiCmdFifoIni
Prototype:
AiInt16 ApiCmdFifoIni ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 fifo_nbr,
AiUInt16 buf_nbr );
Driver Command:
API_FIFO_INI (0xA0)
Purpose:
This function allocates and initializes up to 32 FIFOs in the shared ASP Local RAM
Area. Each FIFO can consist of a minimum of 2 and a maximum of 128 32-word
buffers. Once initialized, the FIFO can become the source of either RT and/or BC
message buffer data transmission by using either the ApiCmdBCAssignFifo and/or
the ApiCmdRTSAAssignFifo functions.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
f
f
i
i
f
f
o
o
_
_
n
n
b
b
r
r
Number of FIFOs in Buffer pool
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
b
b
u
u
f
f
_
_
n
n
b
b
r
r
Number of Buffer’s in one FIFO
Return Value
All API functions return API_OK if no error occurred. If the return value is not equal
to API_OK the function ApiGetErrorDescription can be used to obtain an error
description.