204
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
4
4
.
.
1
1
F
F
d
d
x
x
C
C
m
m
d
d
M
M
o
o
n
n
Q
Q
u
u
e
e
u
u
e
e
C
C
o
o
n
n
t
t
C
C
a
a
p
p
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Prototype:
AiReturn FdxCmdMonQueueContCapControl (
AiUInt32 ul_Handle,
const TY_FDX_MON_QUEUE_CONTCAP_CTRL_IN
*px_MonQueueContCapControl,
TY_FDX_MON_QUEUE_CTRL_OUT *px_QueueCtrlOut);
Driver Command:
FDX_MON_QUEUE_CONTCAP_CONTROL
Purpose:
This function is used to control the extended continuous capture mode of the Monitor.
This function controls creation or deletion of queues, associated with the chronological monitor.
The function returns a queue ID which must be used for all continuous capture Queue related
functions.
Operating mode must be defined by using
FdxCmdRxModeControl
and
FdxCmdMonCaptureControl
before using this function. This function is only valid if capture
mode is set to FDX_MON_CONTINUOUS_SE by the function
FdxCmdMonCaptureControl
.
For this case capture data will be captured in BIU related memory buffer, which is associated to
generate data transfer to the host, every quarter buffer is filled. Additionally user defined
condition for data transfer (Timeout, Trigger or Host command) can be defined. By occurrence
of one of these user defined conditions data transmission will be forced for a provided data
buffer, regardless of bulk of available data. Before Receiver is started User memory for data
storage must be provided by function
FdxCmdMonContCapProvideMemory
to prevent lost of
data. The user will be informed about available data with the associated call-back function
provided with the call of this control function.
Input:
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
_
_
C
C
O
O
N
N
T
T
C
C
A
A
P
P
_
_
C
C
T
T
R
R
L
L
_
_
I
I
N
N
*
*
p
p
x
x
_
_
M
M
o
o
n
n
Q
Q
u
u
e
e
u
u
e
e
C
C
o
o
n
n
t
t
C
C
a
a
p
p
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Pointer to a Continuous Capture Setup structure with following members.
typedef AiReturn (*TY_FUNC_PTR_FDX_CONT_CAP_CALLBACK)(
AiUInt32
ul_Handle,
TY_FDX_MON_CONTCAP_PROVIDE_MEM
x_ContCapBufferInfo
,
AiUInt32
ul_Info);
typedef struct {
AiUInt32
ul_QueueCtrl;
AiUInt32
ul_QueueId;
AiUInt32
ul_QueueMemorySize;
AiUInt32
ul_Timeout;
AiUInt32
ul_TriggerTCBIndex;
TY_FUNC_PTR_FDX_CONT_CAP_CALLBACK
pf_CaptureCallback;
}
TY_FDX_MON_QUEUE_CONTCAP_CTRL_IN;
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
C
C
t
t
r
r
l
l
Queue Control Code
Summary of Contents for AFDX / ARINC 664
Page 2: ......