
Reference Manual AFDX / ARINC 664 Application Interface Library
207
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
4
4
.
.
2
2
F
F
d
d
x
x
C
C
m
m
d
d
M
M
o
o
n
n
C
C
o
o
n
n
t
t
C
C
a
a
p
p
P
P
r
r
o
o
v
v
i
i
d
d
e
e
M
M
e
e
m
m
o
o
r
r
y
y
Prototype:
AiReturn FdxCmdMonContCapProvideMemory (
AiUInt32 ul_Handle,
const TY_FDX_MON_CONTCAP_PROVIDE_MEM
*px_MonContCapProvideMem);
Driver Command:
FDX_MON_CONTCAP_PROVIDE_MEM
Purpose:
This function is used to provide user memory for enhanced continuous capture mode. To
prevent loss of received data some rules for setting up this memory shall be considered.
If expecting huge data traffic the best performance will be achieved by setting up buffers which
have a quarter of the used global Monitor Buffer for the BIU firmware in Global RAM.
The provided buffers shall have in a minimum a half of the used global Monitor Buffer for the
BIU firmware in Global RAM. Better is to provide more
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
M
M
O
O
N
N
_
_
C
C
O
O
N
N
T
T
C
C
A
A
P
P
_
_
P
P
R
R
O
O
V
V
I
I
D
D
E
E
_
_
M
M
E
E
M
M
*
*
p
p
x
x
_
_
M
M
o
o
n
n
C
C
o
o
n
n
t
t
C
C
a
a
p
p
P
P
r
r
o
o
v
v
i
i
d
d
e
e
M
M
e
e
m
m
Pointer to a Continuous Capture Buffer Setup structure to provide Receiver
Memory.
typedef struct {
AiUInt32
ul_QueueId;
AiUInt32
ul_MemoryQalifier;
AiUInt32
ul_UserIdent;
AiAddr
pv_Memory;
AiUInt32
ul_BufferSize;
}
TY_FDX_MON_CONTCAP_PROVIDE_MEM;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
Q
Q
u
u
e
e
u
u
e
e
I
I
d
d
Queue Identifier which is returned on creation of the queue to identify the Queue.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
e
e
m
m
o
o
r
r
y
y
Q
Q
a
a
l
l
i
i
f
f
i
i
e
e
r
r
This parameter is to set information for the handling of the memory buffer.
Value:
Description:
FDX_CC_MEM_DEFAULT
Normal use of the Data Buffer which means after
writing to the Data Buffer it will no longer be used
by the Library.
FDX_CC_MEM_REUSABLE
After writing to the Data Buffer the user must be
copy the buffer because this buffer will be kept in
a cyclic queue of buffers.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
s
s
e
e
r
r
I
I
d
d
e
e
n
n
t
t
A User Identifier which can be set by user for easy buffer identification.
A
A
i
i
A
A
d
d
d
d
r
r
p
p
v
v
_
_
M
M
e
e
m
m
o
o
r
r
y
y
Pointer to the start of the memory buffer in host environment.
Summary of Contents for AFDX / ARINC 664
Page 2: ......