MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.8 ApiCmdBMIllegalIni
Prototype:
AiInt16 ApiCmdBMIllegalIni ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 rt_addr,
AiUInt32 rx_sa, AiUInt32 tx_sa, AiUInt32 rx_mc,
AiUInt32 tx_mc );
Driver Command:
API_BM_INI_MSG_ILL (0xC1)
Purpose:
This function is used to setup the chronological Bus Monitor to indicate illegal
Command Errors within the Monitor Buffer. This function is useful to customize
Mode code usage or to trap illegal Command transfers on an RT Subaddress and
Mode code level for the specified RT Address. As a default, all illegalize bits are
cleared with the ApiCmdBMIni function.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
r
r
t
t
_
_
a
a
d
d
d
d
r
r
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
r
r
x
x
_
_
s
s
a
a
Illegalize bits for RT Receive Subaddresses
Bit31...0 correspond to SA31...SA0.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
t
t
x
x
_
_
s
s
a
a
lllegalize bits for RT Transmit Subaddresses
Bit31...0 correspond to SA31...SA0.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
r
r
x
x
_
_
m
m
c
c
Illegalize bits for RT Receive Mode codes
Bit31...0 correspond to MC31...MC0.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
t
t
x
x
_
_
m
m
c
c
Illegalize bits for RT Transmit Mode codes
Bit31...0 correspond to MC31...MC0.
Return Value
All API functions return API_OK if no error occurred. If the return value is not
equal to API_OK the function ApiGetErrorDescription can be used to obtain an
error description.