![background image](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730129.webp)
Reference Manual AFDX / ARINC 664 Application Interface Library
117
Section 4 – Function Reference: Transmitter Functions
This parameter describes the size in Bytes for one Buffer in the Buffer Queue. The maximum
size for a buffer can be up to 2044 Bytes. Minimum size is 64. The value can be given here as
a Byte value, but it will be aligned to internally 64 Byte.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
u
u
f
f
f
f
e
e
r
r
Q
Q
u
u
e
e
u
u
e
e
M
M
o
o
d
d
e
e
This parameter defines the Buffer Queue Mode for the Queue.
Value
Description
FDX_TX_BUF_QUEUE_CYC
The Queue works is cyclic mode. This means, each time the
associated frame is transmitted, the internal buffer index is
incremented, for using the next buffer in the queue for the next
transmission of the frame. If end of Buffer Queue is reached, a
wrap around is performed.
FDX_TX_BUF_QUEUE_SNG
The Queue works in single mode. This means, each time the
associated frame is transmitted, the internal buffer index is
incremented, for using the next buffer in the queue for the next
transmission of the frame. If end of Buffer Queue is reached, a
wrap around is performed and the last Buffer in the queue will be
used for all following frames.
FDX_TX_BUF_QUEUE_HOST
The Queue works in host controlled mode. This means, the
Buffer from the current Internal Buffer Index (after allocation, this
is Index 0) will be used for transmission until it is changed via the
host by using the
FdxCmdTxBufferQueueCtrl
command.
The Buffer Queue Mode can be changed during operation by using the
FdxCmdTxBufferQueueCtrl
command.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
u
u
f
f
f
f
e
e
r
r
I
I
n
n
d
d
e
e
x
x
This parameter describes initial Buffer Index of the Queue. Therefore the value must be in the
range between 0 (first buffer in queue) and the “
ul_BuffersInQueue
– 1” , given at this function.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
u
u
f
f
f
f
e
e
r
r
P
P
a
a
y
y
l
l
o
o
a
a
d
d
M
M
o
o
d
d
e
e
;
;
It is importand, that all transfers sharing this Buffer Queue are set up with the same Payload
Buffer Mode so assingne the Buffer Queue with the corresponding Mode to check within the
Transfer setup the correct mode.
See the following table for the possible Values
Value:
Description:
FDX_TX_FRAME_PBM_MAC
MAC- Payload is provided in the separate Buffer Queue.
That means, the BIU- Processor fetches the Frame Header
Words and the first 16 bytes of the frame data out from this
entry and switches then to the separate buffer queue. Thus,
the complete MAC- Header and the two static bytes of the
IP- Header are used from this entry and the rest of the
frame payload is used from the separate buffer queue.
FDX_TX_FRAME_PBM_UDP
UDP- Payload is provided in the separate Buffer Queue.
That means, the BIU- Processor fetches the Frame Header
Words and the first 40 bytes of the frame data out from this
entry and switches then to the separate buffer queue. Thus,
the complete MAC- Header, the IP- Header and 6 bytes of
the UDP- Header are used from this entry and the
remainder of the frame payload is used from the separate
buffer queue. That means, the 2 bytes of the UDP-
Checksum (always zero) and the UDP- payload resides in
the separate buffer.
FDX_TX_FRAME_PBM_FULL
The full MAC-Frame is provided in the separate Buffer
Queue. That means, the BIU- Processor fetches the Frame
Header Words out from this entry and switches then to the
separate buffer queue.
Summary of Contents for AFDX / ARINC 664
Page 2: ......