![Aim AFDX / ARINC 664 Скачать руководство пользователя страница 141](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730141.webp)
Reference Manual AFDX / ARINC 664 Application Interface Library
129
Section 4 – Function Reference: Transmitter Functions
Layout of one Queue Entry:
Entry Layout
Fixed Header
Fixed Frame Header
Layout dependent on
ul_HeaderType
and
uc_FrameType
parameter
(see following description)
AFDX Fr
ame
AFDX- FRAME data to transmit
(dependent on the Payload Buffer and Payload Generation mode, see description below)
( 802.3 defines: 64 to 1518 bytes)
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
F
F
R
R
A
A
M
M
E
E
_
_
H
H
E
E
A
A
D
D
E
E
R
R
x
x
_
_
T
T
x
x
F
F
r
r
a
a
m
m
e
e
H
H
e
e
a
a
d
d
e
e
r
r
typedef struct {
AiUInt8
uc_FrameType;
TY_FDX_TX_FRAME_ATTRIB
x_FrameAttrib;
TY_FDX_TX_INSTR_ATTRIB
x_InstrAttrib;
} TY_FDX_TX_FRAME_HEADER;
Note:
The FdxInitTxFrameHeader function supports a default initialization of this
structure (see this function in the chapter ‘Target Independent
Administration Functions’
For detailed description of the x_TxFrameHeader Structure refer to description of
command FdxCmdTxQueueWrite.
Output:
None
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR
4
4
.
.
3
3
.
.
6
6
T
T
h
h
e
e
o
o
r
r
i
i
e
e
o
o
f
f
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
On the following page you can find a schematic which shows the layout of memory
organisaton in BIU related Global RAM for the generic transmitter part.
Basically each transmit channel has a Transmit Queue which is organized as a contoguous
part of memory used as a cyclic queue. This memory can contain Frames to transmit and also
Instructions. Instructions are commands like described in the Reference Manual to control
transmission in several ways. Transmit Frames can be provided either directly in the Transmit
Queue, which means the memory of the Transmit queue is used to store the Transmit Frame
Header followed by the Frame Data for transmission. Or the Frame data can be provided in a
Buffer Queue which is controlled by some entries in the Frame Header.
Normally a Transmit Frame is stored in the Transmit Queue with its Frame Header and a
reference to a Buffer Queue with the size of one buffer. If the command