
Reference Manual AFDX / ARINC 664 Application Interface Library
215
Section 4 – Function Reference: Target Independent Administration Functions
4
4
.
.
5
5
.
.
3
3
F
F
d
d
x
x
F
F
w
w
I
I
r
r
i
i
g
g
2
2
S
S
t
t
r
r
u
u
c
c
t
t
I
I
r
r
i
i
g
g
Prototype:
AiReturn FdxFwIrig2StructIrig ( const TY_FDX_FW_IRIG_TIME *px_FwIrigTime,
TY_FDX_IRIG_TIME *px_IrigTime )
Driver Command:
none
Purpose:
This function can be used to convert an IRIG time in the format used by the Firmware to a
structured format. This function is helpful since the format of the IRIG time used by the
firmware is different to the format often used in the Application Library.
Input:
TY_FDX_FW_IRIG_TIME *px_FwIrigTime
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, containing the minutes of
hour, hours of day and day of year.
Firmware Timetag High
31 ............... 24
23 ....... 20
19 ........................... 11
10 ............................... 6
5 ................................. 0
Reserved Sub-micro
seconds
1)
Days of year
1 to 365
Hours of day
0 to 23
Minutes of hour
0 to 59
1)
Only valid for APX-GNET in steps of 100ns.
Firmware Timetag Low
31 ............................... 26
25 ...................................... 20
19 .............................................. 0
Minutes of hour
0 to 59
Seconds of minute
0 to 59
Microseconds of second
0 to 999.999
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, containing the Microseconds
of second, seconds of minutes and minutes of hour.