EasyManua.ls Logo

Aim MIL-STD-1553 - Low Speed Functions; Apicmdgenioaddrinit

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
424
424
Chapter 11 General I/O Functions
11.1 Low Speed Functions
11.1.1 ApiCmdGenIoAddrInit
Prototype:
AiInt16 ApiCmdGenIoAddrInit (AiUInt32 ul_Module, AiUInt8 genio_type, AiUInt8 io_type,
AiUInt8 chn, AiUInt8 res, AiUInt32 addr);
Driver Command:
TG_API_GEN_IO_ADDR_INIT (0x301)
Purpose:
This function is used to
424
ehavior
424
o ASP access to the specified module.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
g
g
e
e
n
n
i
i
o
o
_
_
t
t
y
y
p
p
e
e
7……..4
3…….0
SlotNumber
BoardType
Slotnumber: 0
BoardType:
Value
Define
Description
0
API_GEN_IO_INIT_TYPE
Init ASP Driver structures and IO
access
1
API_GEN_IO_APX_TYPE
APX Discrete I/O type
A
A
i
i
U
U
I
I
n
n
t
t
8
8
i
i
o
o
_
_
t
t
y
y
p
p
e
e
I/O channel type
Value
Description
1
Setup HW access address for Input channel type in addr
2
Setup HW access address for Output channel type in addr
3
Init HW with value defined in parameter addr
A
A
i
i
U
U
I
I
n
n
t
t
8
8
c
c
h
h
n
n
Channel / IO Model selection
For ‘BoardType’=
Value
Description
API_GEN_IO_INIT_TYPE
-
(n/a)
API_GEN_IO_APX_TYPE
1
APX Onboard Discrete model
A
A
i
i
U
U
I
I
n
n
t
t
8
8
r
r
e
e
s
s
Reserved

Table of Contents

Other manuals for Aim MIL-STD-1553