MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
7.1.20 ApiCmdBCSrvReqVecCon
Prototype:
AiInt16 ApiCmdBCSrvReqVecCon ( AiUInt32 ul_ModuleHandle, AiUInt8 uc_Biu,
AiUInt8 uc_RtAddr,
TY_API_BC_SRVW_CON *px_SrvReqVecCon);
Driver Command:
API_BC_SRV_REQ_CON (0x68)
Purpose:
This function is used to set the sub address where the modecode “Last Vector Word”
is sent to in case of a service request handling. This command should only be applied
if the BC is enabled to perform Service Request / Vector Word handling (refer to
ApiCmdBCIni command).
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
R
R
t
t
A
A
d
d
d
d
r
r
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
B
B
C
C
_
_
S
S
R
R
V
V
W
W
_
_
C
C
O
O
N
N
*
*
p
p
x
x
_
_
S
S
r
r
v
v
R
R
e
e
q
q
V
V
e
e
c
c
C
C
o
o
n
n
BC Service Request Control description
typedef struct ty_api_bc_srvw_con
{
AiUInt8 uc_SubAddress;
AiUInt8 uc_Padding1;
AiUInt16 uw_Padding2;
AiUInt32 ul_Reserved1;
AiUInt32 ul_Reserved2;
AiUInt32 ul_Reserved3;
} TY_API_BC_SRVW;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
S
S
u
u
b
b
A
A
d
d
d
d
r
r
e
e
s
s
s
s
Send modecode “Last Vector Word” on
RT sub address 0
Send modecode “Last Vector Word” on
RT sub address 31
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
P
P
a
a
d
d
d
d
i
i
n
n
g
g
1
1
Reserved (0)