MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
7.1.11 ApiCmdBCGetXferDef
Prototype:
AiInt16 ApiCmdBCGetXferDef ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt16 uw_XferId,
TY_API_BC_XFER * px_BCXfer );
Driver Command:
API_BC_XFER_DEF_GET (0x6A)
Purpose:
This function is used to get all transfer properties of a Bus Controller Transfer including
source/destination information, error injection specifications, and interrupt generation.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
i
i
n
n
t
t
1
1
6
6
u
u
w
w
_
_
X
X
f
f
e
e
r
r
I
I
d
d
BC Transfer ID
Note: See Section 1.3.5 for the range allowed for this parameter.
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
*
*
p
p
x
x
f
f
e
e
r
r
BC Transfer description
typedef struct ty_api_bc_xfer
{
AiUInt16 xid;
AiUInt16 hid;
AiUInt8 type;
AiUInt8 chn;
AiUInt8 xmt_rt;
AiUInt8 rcv_rt;
AiUInt8 xmt_sa;
AiUInt8 rcv_sa;
AiUInt8 wcnt;
AiUInt8 tic;
AiUInt8 hlt;
AiUInt8 rte;
AiUInt8 res;
AiUInt8 sxh;
AiUInt8 rsp;
AiUInt8 gap_mode;
AiUInt16 swxm;
struct ty_api_bc_err err;
AiUInt16 gap;
} TY_API_BC_XFER;
BC Transfer ID