EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdbmtcbini

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
366
Chapter 9 Bus Monitor Functions
9.1.21 ApiCmdBMTCBIni
Prototype:
AiInt16 ApiCmdBMTCBIni ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 tid,
AiUInt8 ten, TY_API_BM_TCB *ptcb );
Driver Command:
API_BM_INI_TCB (0xC5)
Purpose:
This function set up a complete Trigger Control Block structure which defines the
conditions evaluated by the Bus Monitor to generate a Start/Stop Trigger Event.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
t
t
i
i
d
d
Value
Description
0..255
Trigger Control Block Index
A
A
i
i
U
U
I
I
n
n
t
t
8
8
t
t
e
e
n
n
Trigger Control Block enable
Value
Constant
Description
0
API_DIS
Disable Trigger Control Block
1
API_ENA
Enable Trigger Control Block
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
B
B
M
M
_
_
T
T
C
C
B
B
*
*
p
p
t
t
c
c
b
b
Trigger Control Block description
typedef struct ty_api_bm_tcb
{
AiUInt8 tt;
AiUInt8 sot;
AiUInt8 tri;
AiUInt8 inv;
AiUInt8 tres;
AiUInt8 tset;
AiUInt8 tsp;
AiUInt8 next;
AiUInt8 eom;
AiUInt8 padding1;
AiUInt16 tdw;
AiUInt16 tmw;
AiUInt16 tuli;
AiUInt16 tlli;
} TY_API_BM_TCB;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
t
t
t
t
Trigger Type
Value
Constant
Description
0
API_BM_TRG_ERR_CONDITION
Trigger on Error Condition (Static)
1
API_BM_TRG_EXTERNAL_EVENT
Trigger on External event (Static)
2
API_BM_TRG_RECEIVED_WORD
Trigger on Received Word (Dynamic)
3
API_BM_TRG_DATA_VALUE
Trigger on Data Value (Dynamic)
4
API_BM_TRG_HS_EVENT
Trigger on High Speed Event (only valid
for STANAG3910 boards)

Table of Contents

Other manuals for Aim MIL-STD-1553