190
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Receiver Functions
typedef struct {
AiUInt32
ul_TtHigh;
AiUInt32
ul_TtLow;
} TY_FDX_FW_IRIG_TIME;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
T
T
t
t
H
H
i
i
g
g
h
h
;
;
Timetag word in firmware format. The higher part of the time tag, contains the minutes of
hour, hours of day and day of year.
For further description see Firmware specification.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
T
T
t
t
L
L
o
o
w
w
;
;
Timetag word in firmware format. The lower part of the time tag, contains the
Microseconds of second, seconds of minutes and minutes of hour.
To get a ‘C’ structured information of the Time Tag you can use the functions
FdxFwIrig2StructIrig ().
Figure 4.4.3.4-2 shows a more detailed structure of an AFDX Frame.
Figure 4.4.3.4-2: AFDX Frame Layout
AFDX- Frame Layout
31
24
23
16
15
8
7
0
MAC Destination Address
Byte 2
Byte 3
Byte 4
Byte 5
Byte 4
Byte 5
Byte 0
Byte 1
MAC Source Address
Byte 0
Byte 1
Byte 2
Byte 3
Leng
Byte 0
Byte 1
IP-Header
20 bytes
Received IP-Payload
( 802.3 defines: 25 to 1479 bytes
but it may be less or more
at Frame size violation case )
SN
AFDX Fr
ame
Frame Check Sequence
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR