MIL-STD-1553 Reference Manual
Chapter 5 – Buffer Functions
5.1.3 ApiCmdBufDef
Prototype:
AiInt16 ApiCmdBufDef ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 bt, AiUInt16 hid,
AiUInt16 bid, AiUInt8 len, AiUInt16 *data, AiUInt16 *rid,
AiUInt32 *raddr );
Driver Command:
API_BUF_DEF (0x50)
Purpose:
This function defines the data buffer contents for transmit or receive messages
in BC and RT mode.
Input
Buffer type
Buffer Header ID
Note: See Section 1.3.5 for the range allowed for this parameter.
Write Buffer Data Words to absolute
Data Buffer Index
Note: See section 1.3.5 for the
range allowed for this
parameter.
Write to current Data Buffer Index
Write Buffer Data Words to Data
Buffer Index relative to the Data
Buffer Queue Base Index of the
specified Buffer Header Identifier.
Amount of Data Buffer Words to write
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
*
*
d
d
a
a
t
t
a
a
Buffer Data Words to write