24 MIL-STD-1553 Reference Manual
Chapter 2 - Library Administration and Initialization Functions
2.1.7 ApiGetDeviceConfig
Prototype:
AiInt16 ApiGetDeviceConfig( AiUInt32 ul_Module, TY_API_DEVICE_CONFIG* px_Config);
Driver Command:
(none)
Purpose:
Returns the device configuration in px_Config.
Input
Output
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
D
D
E
E
V
V
I
I
C
C
E
E
_
_
C
C
O
O
N
N
F
F
I
I
G
G
*
*
p
p
x
x
_
_
C
C
o
o
n
n
f
f
i
i
g
g
The device config struct.
typedef struct ty_api_device_config
{
AiUInt8 uc_DmaEnabled;
AiUInt8 uc_DataQueueMemoryType;
AiUInt8 uc_ReservedB3;
AiUInt8 uc_ReservedB4;
AiUInt16 uw_ReservedW1;
AiUInt16 uw_ReservedW2;
AiUInt32 ul_DmaMinimumSize;
AiUInt32 ul_IntRequestCount;
AiUInt32 ul_DriverFlags;
AiUInt32 ul_ReservedLW4;
AiUInt32 ul_ReservedLW5;
AiUInt32 ul_ReservedLW6;
AiUInt32 ul_ReservedLW7;
AiUInt32 ul_ReservedLW8;
} TY_API_DEVICE_CONFIG;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
D
D
m
m
a
a
E
E
n
n
a
a
b
b
l
l
e
e
d
d
Enable or disable DMA read transfers.
This value is only applicable for system driver version 12 or higher.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
D
D
m
m
a
a
M
M
i
i
n
n
i
i
m
m
u
u
m
m
S
S
i
i
z
z
e
e
The memory size limit for DMA transfers. If a requested memory block is bigger or equal to this
value a DMA transfer will be issued.
This value is only applicable for system driver version 12 or higher.
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
D
D
a
a
t
t
a
a
Q
Q
u
u
e
e
u
u
e
e
M
M
e
e
m
m
o
o
r
r
y
y
T
T
y
y
p
p
e
e
The memory type of the memory where the data queue headers are located.