Reference Manual AFDX / ARINC 664 Application Interface Library
179
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
3
3
C
C
h
h
r
r
o
o
n
n
o
o
l
l
o
o
g
g
i
i
c
c
a
a
l
l
M
M
o
o
n
n
i
i
t
t
o
o
r
r
These functions are only applicable, if the receive port is switched to chronological mode.
4
4
.
.
4
4
.
.
3
3
.
.
1
1
F
F
d
d
x
x
C
C
m
m
d
d
M
M
o
o
n
n
C
C
a
a
p
p
t
t
u
u
r
r
e
e
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Prototype:
AiReturn FdxCmdMonCaptureControl (
AiUInt32 ul_Handle,
const TY_FDX_MON_CAP_MODE *px_MonCapMode);
Driver Command:
FDX_MON_CAP_CONTROL (0x00008090)
Purpose:
This function is to control the capture mode of the Monitor.
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
M
M
O
O
N
N
_
_
C
C
A
A
P
P
_
_
M
M
O
O
D
D
E
E
*
*
p
p
x
x
_
_
M
M
o
o
n
n
C
C
a
a
p
p
M
M
o
o
d
d
e
e
Pointer to a Capture Mode Setup structure
typedef struct {
AiUInt32
ul_CaptureMode;
AiUInt32
ul_TriggerPosition;
AiUInt32
ul_Strobe;
}
TY_FDX_MON_CAP_MODE;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
C
C
a
a
p
p
t
t
u
u
r
r
e
e
M
M
o
o
d
d
e
e
There are several capture modes which can be selected by the user
Mode
Value
Description
Single
FDX_MON_SINGLE
The Monitor buffer in the target will be filled one
time. Then the capturing stops.
The data will be available after first frame
captured.
Continuous
FDX_MON_CONTINUOUS
The Monitor buffer in the target will be filled in a
cyclic manner. This means. if the buffer is filled
up one time it will be filled again. The oldest
frame will be overwritten by the newest frame.
The data will be available after first frame
captured.
Continuous_2
1)
FDX_MON_CONTINUOUS_SE
The Monitor buffer is organized in the same way
as in the continuous mode. The data will be
available at the interface in prior provided
memory buffers. It will be transferred directly by
DMA to the host buffer.
Selective
FDX_MON_SELECTIVE
Frames are stored to the buffer which match a
Start Trigger Condition which can be forced by
using TCBs (Trigger Control Blocks) to control the
frames which are captured (e.g. capture only if an
external event has become true, capture only
erroneous frames or frames which have a specific
bit pattern set ….)
Selective
Continuous
1)
FDX_MON_CONT_SELECTIVE
Same mode as described for Selectiv but in
Continuous Capture Mode.
Selective
Continuous_2
1)
FDX_MON_CONT_SE_SELECTIV
E
Same mode as described for Selectiv but in
Continuous Capture Second Edition Mode.
Summary of Contents for AFDX / ARINC 664
Page 2: ......