EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdbcbhdef

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
199
Chapter 7 Bus Controller Functions
7.1.3 ApiCmdBCBHDef
Prototype:
AiInt16 ApiCmdBCBHDef ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt16 hid,
AiUInt16 bid, AiUInt16 sid, AiUInt16 eid,
AiUInt8 qsize, AiUInt8 bqm, AiUInt8 bsm,
AiUInt8 sqm, AiUInt8 eqm, AiUInt8 dbm,
TY_API_BC_BH_INFO *pbh );
Driver Command:
API_BC_BH_DEF (0x71)
Purpose:
This function is used to associate a Data Buffer ID, Buffer Queue size, Queue mode,
and error protocol to a BC Buffer Header ID. The BC Buffer Header specified should
first be assigned to a BC Transfer using the function ApiCmdBCXferDef.
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
h
h
i
i
d
d
Buffer Header ID
Note: See Section 1.3.5 for the range allowed for this parameter.
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
b
b
i
i
d
d
Assigned Data Buffer Identifier
Note: See Section 1.3.5 for the range allowed for this parameter.
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
s
s
i
i
d
d
0 (Reserved for Status Queue Entry Identifier)
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
e
e
i
i
d
d
0 (Reserved for Event Queue Entry Identifier)
A
A
i
i
U
U
I
I
n
n
t
t
8
8
q
q
s
s
i
i
z
z
e
e
Buffer Queue size definition (Amount of contiguous Data Buffers)
Value
Constant
Description
0
API_QUEUE_SIZE_1
Queue size 1
1
API_QUEUE_SIZE_2
Queue size 2
2
API_QUEUE_SIZE_4
Queue size 4
3
API_QUEUE_SIZE_8
Queue size 8
4
API_QUEUE_SIZE_16
Queue size 16
5
API_QUEUE_SIZE_32
Queue size 32
6
API_QUEUE_SIZE_64
Queue size 64
7
API_QUEUE_SIZE_128
Queue size 128
8
API_QUEUE_SIZE_256
Queue size 256

Table of Contents

Other manuals for Aim MIL-STD-1553