![Aim AFDX / ARINC 664 Скачать руководство пользователя страница 138](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730138.webp)
126
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
5
5
G
G
e
e
n
n
e
e
r
r
i
i
c
c
T
T
r
r
a
a
n
n
s
s
m
m
i
i
t
t
t
t
e
e
r
r
S
S
u
u
b
b
-
-
Q
Q
u
u
e
e
u
u
e
e
-
-
F
F
u
u
n
n
c
c
t
t
i
i
o
o
n
n
s
s
4
4
.
.
3
3
.
.
5
5
.
.
1
1
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
S
S
u
u
b
b
Q
Q
u
u
e
e
u
u
e
e
C
C
r
r
e
e
a
a
t
t
e
e
Prototype:
AiReturn FdxCmdTxSubQueueCreate (
AiUInt32 ul_Handle,
const TY_FDX_TX_SUB_QUEUE_CREATE_IN
*px_TxSubQueueCreateIn,
TY_FDX_TX_SUB_QUEUE_CREATE_OUT
*px_TxSubQueueCreateOut );
Driver Command:
FDX_TX_SUB_QUEUE_CREATE
Purpose:
This function is used to create a queue of AFDX Frames which can be used as a Sub Queue.
The Sub Queue will be called from the main Queue by a call instruction. After transmission of
the Sub Queue execution will be return to the next transfer or command in the main queue right
after the call to the sub queue.
Input:
C
C
o
o
n
n
s
s
t
t
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
S
S
U
U
B
B
_
_
Q
Q
U
U
E
E
U
U
E
E
_
_
C
C
R
R
E
E
A
A
T
T
E
E
_
_
I
I
N
N
*
*
p
p
x
x
_
_
T
T
x
x
S
S
u
u
b
b
Q
Q
u
u
e
e
u
u
e
e
C
C
r
r
e
e
a
a
t
t
e
e
I
I
n
n
typedef struct {
AiUInt32
ul_QueueSize;
}
TY_FDX_TX_SUB_QUEUE_CREATE_IN;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
Q
Q
u
u
e
e
u
u
e
e
S
S
i
i
z
z
e
e
Specifies the size of the Queue in Byte. This means the memory which is allocated in BIU
associated memory. If this value is set to zero, an internal default queue size will be selected.
In most cases one frame or instruction needs 64 Bytes of memory in the transmit queue. The
buffer for real frame data will be allocated in memory by the SubQueueWrite command.
Output:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
S
S
U
U
B
B
_
_
Q
Q
U
U
E
E
U
U
E
E
_
_
C
C
R
R
E
E
A
A
T
T
E
E
_
_
O
O
U
U
T
T
*
*
p
p
x
x
_
_
T
T
x
x
S
S
u
u
b
b
Q
Q
u
u
e
e
u
u
e
e
C
C
r
r
e
e
a
a
t
t
e
e
O
O
u
u
t
t
typedef struct {
AiUInt32
ul_SubQueueHandle;
}
TY_FDX_TX_SUB_QUEUE_CREATE_OUT;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
u
u
b
b
Q
Q
u
u
e
e
u
u
e
e
H
H
a
a
n
n
d
d
l
l
e
e
A returned handle for all further access to this Sub Transmit queue.
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR