MIL-STD-1553 Reference Manual
Chapter 6 – FIFO Functions
6.1 ApiCmdBCAssignFifo
Prototype:
AiInt16 ApiCmdBCAssignFifo ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 con,
AiUInt8 f_id, AiUInt16 xid );
Driver Command:
API_FIFO_BC_ASSIGN (0xA3)
Purpose:
This function is used to assign a BC-RT transfer type or BC Broadcast transfer type to
a specified FIFO in the FIFO pool. The FIFO becomes the source of the BC message
buffer data transmitted. The FIFO pool must already be defined using the library
function ApiCmdFifoIni. FIFO data insertion into the BC Transmit Data Buffer is
performed in within an internal interrupt service routine, whenever the selected BC
Transfer is executed.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
c
c
o
o
n
n
BC FIFO Control
BC Transfer ID
Note: See Section 1.3.5 for the range allowed for this parameter.
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.