MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.19 ApiCmdBMStatusRead
Prototype:
AiInt16 ApiCmdBMStatusRead ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_BM_STATUS_DSP *pdsp );
Driver Command:
API_BM_STATUS_READ (0xB9)
Purpose:
This command is used to read the current execution status of the AIM board
Chronological Bus Monitor.
I
I
n
n
p
p
u
u
t
t
n
n
o
o
n
n
e
e
O
O
u
u
t
t
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
B
B
M
M
_
_
S
S
T
T
A
A
T
T
U
U
S
S
_
_
D
D
S
S
P
P
*
*
p
p
d
d
s
s
p
p
BM Status information
typedef struct ty_api_bm_status_dsp
{
AiUInt8 men;
AiUInt8 msw;
AiUInt8 msp;
AiUInt8 padding1;
AiUInt32 glb_msg_cnt;
AiUInt32 glb_err_cnt;
AiUInt32 glb_word_cnt_sec;
AiUInt32 glb_word_cnt_pri;
AiUInt32 glb_msg_cnt_sec;
AiUInt32 glb_msg_cnt_pri;
AiUInt32 glb_err_cnt_sec;
AiUInt32 glb_err_cnt_pri;
AiUInt32 bus_load_sec;
AiUInt32 bus_load_pri;
AiUInt32 bus_load_sec_avg;
AiUInt32 bus_load_pri_avg;
} TY_API_BM_STATUS_DSP;
Monitor Enable Status Word
T
T
R
R
I
I
G
G
0
0
(
(
R
R
e
e
s
s
e
e
r
r
v
v
e
e
d
d
f
f
o
o
r
r
M
M
o
o
n
n
i
i
t
t
o
o
r
r
T
T
r
r
i
i
g
g
g
g
e
e
r
r
I
I
n
n
t
t
e
e
r
r
r
r
u
u
p
p
t
t
a
a
s
s
s
s
e
e
r
r
t
t
e
e
d
d
)
)
S
S
T
T
O
O
P
P
0
0
(
(
R
R
e
e
s
s
e
e
r
r
v
v
e
e
d
d
f
f
o
o
r
r
M
M
o
o
n
n
i
i
t
t
o
o
r
r
S
S
t
t
o
o
p
p
I
I
n
n
t
t
e
e
r
r
r
r
u
u
p
p
t
t
a
a
s
s
s
s
e
e
r
r
t
t
e
e
d
d
)
)
S
S
T
T
A
A
R
R
T
T
0
0
(
(
R
R
e
e
s
s
e
e
r
r
v
v
e
e
d
d
f
f
o
o
r
r
M
M
o
o
n
n
i
i
t
t
o
o
r
r
S
S
t
t
a
a
r
r
t
t
I
I
n
n
t
t
e
e
r
r
r
r
u
u
p
p
t
t
a
a
s
s
s
s
e
e
r
r
t
t
e
e
d
d
)
)
M
M
E
E
N
N