EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdbcstatusread

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
244
Chapter 7 Bus Controller Functions
7.1.23 ApiCmdBCStatusRead
Prototype:
AiInt16 ApiCmdBCStatusRead ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_BC_STATUS_DSP *pdsp );
Driver Command:
API_BC_STATUS_READ (0x7A)
Purpose:
This function is used to read the actual execution status of the Bus Controller.
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
C
C
_
_
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
BC Status Information
typedef struct ty_api_bc_status_dsp
{
AiUInt8 status;
AiUInt8 padding1;
AiUInt16 hxfer;
AiUInt32 glb_msg_cnt;
AiUInt32 glb_err_cnt;
AiUInt32 hip;
AiUInt32 mfc;
} TY_API_BC_STATUS_DSP;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
s
s
t
t
a
a
t
t
u
u
s
s
Bus Controller execution status
Value
Constant
Description
1
API_BC_STATUS_HALTED
BC halted
2
API_BC_STATUS_BUSY
BC busy
A
A
i
i
U
U
I
I
n
n
t
t
8
8
p
p
a
a
d
d
d
d
i
i
n
n
g
g
1
1
Reserved (0)
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
h
h
x
x
f
f
e
e
r
r
BC HALT on Interrupt Transfer Identifier
Value
Description
0
BC halted normally
1.. n
BC halted by Interrupt at Transfer Identifier (hxfer)
See Section 1.3.5 for the range allowed for this
parameter
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
g
g
l
l
b
b
_
_
m
m
s
s
g
g
_
_
c
c
n
n
t
t
Global BC Message Counter
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
g
g
l
l
b
b
_
_
e
e
r
r
r
r
_
_
c
c
n
n
t
t
Global BC Error Counter
Note: 'glb_msg_cnt' and
'glb_err_cnt' are cleared on
restart of the AIM board Bus
Controller when the
ApiCmdBCStart' function is
called.

Table of Contents

Other manuals for Aim MIL-STD-1553