MIL-STD-1553 Reference Manual
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
Trigger Control Block Index
Trigger Control Block enable
Disable Trigger Control Block
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;
Trigger Type
Trigger on Error Condition (Static)
API_BM_TRG_EXTERNAL_EVENT
Trigger on External event (Static)
Trigger on Received Word (Dynamic)
Trigger on Data Value (Dynamic)
Trigger on High Speed Event (only valid
for STANAG3910 boards)