186
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Receiver Functions
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
a
a
x
x
R
R
e
e
a
a
d
d
B
B
y
y
t
t
e
e
s
s
,
,
The maximum number of bytes that can be written to the provided data buffer.
Output:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
M
M
O
O
N
N
_
_
Q
Q
U
U
E
E
U
U
E
E
_
_
R
R
E
E
A
A
D
D
_
_
O
O
U
U
T
T
*
*
p
p
x
x
_
_
Q
Q
u
u
e
e
u
u
e
e
R
R
e
e
a
a
d
d
O
O
u
u
t
t
Pointer to output data structure.
typedef struct {
AiUInt32
ul_EntryRead;
AiUInt32
ul_BytesRead;
AiUInt32
ul_Synchronized;
void
*pv_ReadBuffer;
}
TY_FDX_MON_QUEUE_READ_OUT;
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
y
y
R
R
e
e
a
a
d
d
Number of Entries actually read.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
y
y
t
t
e
e
s
s
R
R
e
e
a
a
d
d
Number of Bytes actually read.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
y
y
n
n
c
c
h
h
r
r
o
o
n
n
i
i
z
z
e
e
d
d
Capture mode FDX_MON_SINGLE, FDX_MON_SELECTIVE:
Signals the number of overwrites which have occurred in the monitor queue. Frames will then
be read starting at the current location of the monitor queue write pointer used by the firmware.
For buffer overflow, existing data in the buffer is overwritten. Pointers of the data buffer are
then re-synchronized and ul_Synchronized is increased by one (loss of data). Set to 0 when
receiver is started.
Capture mode FDX_MON_SINGLE, FDX_MON_CONTINUOUS
A value greater than zero indicates an error:
Value:
Description:
FDX_SLQ_HW_ERROR
Second level queue hardware error.
FDX_SLQ_OVERFLOW_ERROR
Second level queue overflow error.
FDX_SLQ_UNKNOWN_STATUS_ERROR
Second level queue unknown status error.
v
v
o
o
i
i
d
d
*
*
p
p
v
v
_
_
R
R
e
e
a
a
d
d
B
B
u
u
f
f
f
f
e
e
r
r
Pointer to the data buffer where the Entries should be stored. The size of this buffer should
correspond to
ul_MaxReadBytes.
One Entry specifies one Message, which means one complete MAC frame transferred on the
network. For special system information and administration a Fixed sized Header is preceded.
Figure 4.4.3.4-1 shows the schematic of such an entry.