EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdbcxferdescmod

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
258
Chapter 7 Bus Controller Functions
7.1.28 ApiCmdBCXferDescMod
Prototype:
AiInt16 ApiCmdBCXferDescMod( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
AiUint16 xid, AiUInt32 mode, AiUInt32 value[4] );
Purpose:
This function can be used to modify several BC transfer descriptor values on the fly.
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
x
x
i
i
d
d
BC Transfer ID
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
m
m
o
o
d
d
e
e
Define
Description
XFER_DESC_FIELD_CHN
Modify channel
XFER_DESC_FIELD_CW1
Modify command word 1
XFER_DESC_FIELD_CW2
Modify command word 2
XFER_DESC_FIELD_TRTYPE
Modify transfer type
XFER_DESC_FIELD_CW1_CW2
Modify command word 1 and 2
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
v
v
a
a
l
l
u
u
e
e
[
[
4
4
]
]
Define
Index
Value
XFER_DESC_FIELD_CHN
0
Channel 0=pri; 1=sec
XFER_DESC_FIELD_CW1
0
Command word 1
XFER_DESC_FIELD_CW2
0
Command word 2
XFER_DESC_FIELD_TRTYPE
0
0=BC2RT; 1=RT2BC; 2=RT2RT; 3=NOP
1
Command word 1
2
Command word 2
XFER_DESC_FIELD_CW1_CW2
0
Command word 1
1
Command word 2
O
O
u
u
t
t
p
p
u
u
t
t
N
N
o
o
n
n
e
e
Return Value
A
A
i
i
I
I
n
n
t
t
1
1
6
6
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.

Table of Contents

Other manuals for Aim MIL-STD-1553