MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
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
_
_
X
X
F
F
E
E
R
R
_
_
S
S
T
T
A
A
T
T
U
U
S
S
_
_
E
E
X
X
*
*
p
p
x
x
_
_
X
X
f
f
e
e
r
r
S
S
t
t
a
a
t
t
BC Transfer Status information
typedef struct ty_api_bc_xfer_status_queue
{
AiUInt32 ul_SqCtrlWord;
AiUInt32 ul_SqStatusWords;
AiUInt32 ul_SqActBufPtr;
AiUInt32 ul_SqTimeTag;
} TY_API_BC_XFER_STATUS_QUEUE;
typedef struct ty_api_bc_xfer_event_queue
{
AiUInt32 ul_EqEntryWord1;
AiUInt32 ul_EqEntryWord2;
AiUInt32 ul_EqEntryWord3;
AiUInt32 ul_EqEntryWord4;
} TY_API_BC_XFER_EVENT_QUEUE;
typedef struct ty_api_bc_xfer_status_info
{
AiUInt32 ul_ActBufferId;
AiUInt32 ul_ActionWord;
AiUInt32 ul_XferCnt;
AiUInt32 ul_ErrCnt;
AiUInt32 ul_LastVectorWord;
AiUInt32 ul_ServiceRequestCnt;
} TY_API_BC_XFER_STATUS_INFO;
typedef struct ty_api_bc_xfer_status_ex
{
TY_API_BC_XFER_STATUS_QUEUE x_XferSQueue[256];
TY_API_BC_XFER_EVENT_QUEUE x_XferEQueue[1];
TY_API_BC_XFER_STATUS_INFO x_XferInfo;
AiUInt32 ul_BufferQueueSize;
} TY_API_BC_XFER_STATUS_EX;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
u
u
f
f
f
f
e
e
r
r
Q
Q
u
u
e
e
u
u
e
e
S
S
i
i
z
z
e
e
Indicates the data buffer queue size set with ApiCmdBCBHDef(). This queue size also indicates
how many status queue entries are valid
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
X
X
_
_
X
X
f
f
e
e
r
r
I
I
n
n
f
f
o
o
.
.
u
u
l
l
_
_
A
A
c
c
t
t
B
B
u
u
f
f
f
f
e
e
r
r
I
I
d
d
Actual Buffer/Status Queue Identifier of the transfer that is currently processed
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
X
X
_
_
X
X
f
f
e
e
r
r
I
I
n
n
f
f
o
o
.
.
u
u
l
l
_
_
A
A
c
c
t
t
i
i
o
o
n
n
W
W
o
o
r
r
d
d
Reserved (0)
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
X
X
_
_
X
X
f
f
e
e
r
r
I
I
n
n
f
f
o
o
.
.
u
u
l
l
_
_
X
X
f
f
e
e
r
r
C
C
n
n
t
t
Number of Transfers executed
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
X
X
_
_
X
X
f
f
e
e
r
r
I
I
n
n
f
f
o
o
.
.
u
u
l
l
_
_
E
E
r
r
r
r
C
C
n
n
t
t
Number of Transfer errors
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
X
X
_
_
X
X
f
f
e
e
r
r
I
I
n
n
f
f
o
o
.
.
u
u
l
l
_
_
L
L
a
a
s
s
t
t
V
V
e
e
c
c
t
t
o
o
r
r
W
W
o
o
r
r
d
d
Last vector word that has been received
This value is only available, if Service Request / Vector Word mechanism is enabled with the
functions ApiCmdBCIni() and ApiCmdBCXferDef().