![Aim AFDX / ARINC 664 Скачать руководство пользователя страница 200](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730200.webp)
188
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Receiver Functions
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
F
F
R
R
A
A
M
M
E
E
_
_
B
B
U
U
F
F
F
F
E
E
R
R
_
_
H
H
E
E
A
A
D
D
E
E
R
R
This is a structural description of the frame buffer header
typedef struct _fdx_frame_buffer_header {
AiUInt32
ul_Prev;
AiUInt32
ul_Next;
AiUInt32
ul_EntryControl;
AiUInt32
ul_Reserved;
TY_FDX_FRAME_HEADER_INFO
x_FrameHeaderInfo;
TY_FDX_FW_IRIG_TIME
x_FwIrigTime;
}
TY_FDX_FRAME_BUFFER_HEADER;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
P
P
r
r
e
e
v
v
;
;
A pointer to the previous Frame.
If this frame is the first in a List, this pointer points to itself.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
N
N
e
e
x
x
t
t
;
;
A pointer to the next Frame.
If this frame is the last in a list and not already updated, it points to itself
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
E
E
n
n
t
t
r
r
y
y
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Additional Information about the captured frame
Value
Bit
Description
Buffer Type
31..30
Buffer Entry Type
0: Default Receive Buffer Entry
other values: Reserved
Payload store mode
29..27
Which payload store mode is selected for this frame.
0: Received frame completely stored
1: Frame Header, MAC,IP Header and 20 Bytes if IP
Payload stored
2: Frame Header, MAC,IP Header stored
3: Frame Header and MAC Header stored
other values: Reserved
Start Trigger Flag
26
Captured asserted Start Trigger condition
25..24
Reserved
AFDX Port Map ID
23..16
User defined Port Number which is associated to the
physical port( PortMapID see FdxCmdRxPortInit).
Reserved 15..14
Speed Mode
13
0: 100 Mbit/sec
1: 10 Mbit/sec
Traffic shaping checked
12
The VL specific Traffic shaping verification was
applied to this Frame.
Sequence No checked
11
The sequence number integrity check was applied to
this Frame.
Frame size checked
10
The VL specific Frame size check was applied to this
Frame.
Reserved
9...0
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
F
F
R
R
A
A
M
M
E
E
_
_
H
H
E
E
A
A
D
D
E
E
R
R
_
_
I
I
N
N
F
F
O
O
x
x
_
_
F
F
r
r
a
a
m
m
e
e
H
H
e
e
a
a
d
d
e
e
r
r
I
I
n
n
f
f
o
o
;
;
This structure contains information about the received frame.
typedef struct {
// Frame Header Word 0:
AiUInt16
uw_VlId;
AiUInt16
uw_ErrorField;
// Frame Header Word 1:
AiUInt32
ul_FrameHeaderWord_1;
// Frame Header Word 2:
AiUInt8
uc_SequenceNr;
AiUInt8
uc_Reserved1;
AiUInt16
uw_BufferSize;
}
TY_FDX_FRAME_HEADER_INFO;