MIL-STD-1553 Reference Manual
Chapter 8 – Remote Terminal Functions
8.1.22 ApiCmdRTSAMsgRead
Prototype:
AiInt16 ApiCmdRTSAMsgRead ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 rt_addr,
AiUInt8 sa, AiUInt8 sa_type, AiUInt8 clr,
TY_API_RT_SA_MSG_DSP *psa_dsp );
Driver Command:
API_RT_SA_MSG_READ (0x9C)
Purpose:
This function is used to read the execution status of the specified RT
Subaddress/Mode code of the selected AIM board Remote Terminal (identified by its
RT Address).
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
8
8
s
s
a
a
_
_
t
t
y
y
p
p
e
e
Subaddress Type
API_RT_TYPE_RECEIVE_MODECODE
API_RT_TYPE_TRANSMIT_MODECODE
Buffer Status Flag Control
API_DONT_MODIFY_STATUS_BITS
Do not modify Buffer
Status bits
Reset Buffer Status bits to
‘Buffer not used’ state
Reset Buffer Error bits to ‘No
error’ state
Reset Buffer Status bits to ‘Buffer
not used’ state and Buffer Error
bits to ‘No error’ state