MIL-STD-1553 Reference Manual
Chapter 6 – FIFO Functions
6.5 ApiCmdRTSAAssignFifo
Prototype:
AiInt16 ApiCmdRTSAAssignFifo ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 con,
AiUInt8 f_id, AiUInt8 rt, AiUInt8 sa );
Driver Command:
API_FIFO_RTSA_ASSIGN (0xA4)
Purpose:
This function is used to assign an RT Transmit Subaddress to a specified FIFO in the
FIFO pool. The FIFO becomes the source of the RT Transmit Subaddress message
buffer data transmitted. The FIFO pool has to be already defined using the library
function ApiCmdFifoIni. FIFO data insertion into the RT Transmit Subaddress
Message Buffer is performed within an internal interrupt service routine, whenever the
selected Transmit Subaddress is accessed by a Bus Controller transmit command.
The RT Transmit Subaddress must already be enabled when this command is applied.
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
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.