196
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
3
3
.
.
8
8
F
F
d
d
x
x
C
C
m
m
d
d
M
M
o
o
n
n
T
T
C
C
B
B
S
S
e
e
t
t
u
u
p
p
Prototype:
AiReturn FdxCmdMonTCBSetup (
AiUInt32 ul_Handle,
AiUInt32 ul_TCBIndex,
const TY_FDX_MON_TCB_SET
*px_MonTCBSet);
Driver Command:
FDX_MON_TCB_SET (0x00008091)
Purpose:
This function is used to setup one Monitor Trigger Control Block (TCB), specifying a trigger
event as trigger condition. See Figure 4.4.3.7-1 , which shows the dependencies and
functionality of the trigger engine. This function is also used to setup a Hardware Trigger
Control Block for APX-GNET 2/4 Board. For this case some limitations mut be cared fore. The
main limitation is, that there can only ba one hardware TCB per port
Input:
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
T
T
C
C
B
B
I
I
n
n
d
d
e
e
x
x
Index of the Monitor Trigger Control Block to setup. Valid range is 1...253 (FDh).
For HW TCB ul_TCBIndex can only be 1.
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
R
R
G
G
_
_
T
T
C
C
B
B
_
_
S
S
E
E
T
T
*
*
p
p
x
x
_
_
M
M
o
o
n
n
T
T
C
C
B
B
S
S
e
e
t
t
Structure to setup a Trigger Control Block.
typedef struct {
AiUInt32
ul_TrgType;
TY_FDX_MON_TCB_SET_GEN
x_GenTrg;
TY_FDX_MON_TCB_SET_ERR
x_ErrTrg;
AiUInt32
ul_NextTrueIndex;
AiUInt32
ul_NextFalseIndex;
AiUInt32
ul_TriggerBits;
AiUint32
ul_TCBEx;
TY_FDX_IRIG_TIME
x_TriggerTime;
AiUInt32 ul_TimeDuration;
/* Time duration in ms */
AiUInt32 ul_TriggerVl;
/* VL for specified Trigger */
}
TY_FDX_MON_TCB_SET;