EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdrtsaassignfifo

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
192
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
Value
Constant
Description
0
API_DIS
Disable
1
API_ENA
Enable
A
A
i
i
U
U
I
I
n
n
t
t
8
8
f
f
_
_
i
i
d
d
Value
Description
1..32
FIFO Id
A
A
i
i
U
U
I
I
n
n
t
t
8
8
r
r
t
t
Value
Description
0..31
Remote Terminal Address
A
A
i
i
U
U
I
I
n
n
t
t
8
8
s
s
a
a
Value
Description
1..30
RT Subaddress
O
O
u
u
t
t
p
p
u
u
t
t
n
n
o
o
n
n
e
e
Return Value
A
A
i
i
I
I
n
n
t
t
1
1
6
6
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.

Table of Contents

Other manuals for Aim MIL-STD-1553