The user would set the switch position to a unique value for each card on the
system and then can read its value by using the request
I_GPIO_T61622_CID
to
check which physical card has an opened session.
Examples:
Get the switch value
igpiostat(id, I_GPIO_T61622_CID, &swID)
TAMS 61622 Handshake
TAMS t61622 internal handshaking loop makes easier to test/debug GPIO
applications without having anything connected to the TAMS 61622 GPIO card.
This test mode only has an effect on handshaking transfers. If the mode is on,
the PCTL/PFLG get in a loop mode and as a consequence no external device is
needed for the handshaking because it is being generated internally by the
TAMS 61622 card.
The user can turn the mode on or off by using the request
I_GPIO_TEST_ONLY.
If an unsupported value is passed it is ignored. The actual polarity of PCTL and
PFLG lines does not affect the internal handshaking loop mode.
Examples:
Enable loop test mode
igpioctrl(id, I_GPIO_TEST_ONLY, T61622_HSHK_LOOP)
Get test settings
igpiostat(id, I_GPIO_TEST_ONLY, &test)
Disable loop test mode
igpioctrl(id, I_GPIO_TEST_ONLY, 0)
Important time defines for loop test mode
P
O
O
L
_
K
H
S
H
_
2
2
6
1
6
T
1
0
0
0
0
0
0
0
x
0
L
T
C
P
d
n
a
G
L
F
P
p
o
o
l
E
N
O
N
_
Y
L
D
_
2
2
6
1
6
T
2
0
0
0
0
0
0
0
x
0
y
a
l
e
d
o
n
h
t
i
w
p
o
o
l
E
N
O
N
_
K
H
S
H
_
2
2
6
1
6
T
4
0
0
0
0
0
0
0
x
0
g
n
i
k
a
h
s
d
n
a
h
o
n
h
t
i
w
p
o
o
l
TAMS 61622 DOUT read
The
I_GPIO_T61622_DOUT
reads the value of DOUT lines. The value read is
not affected by the DOUT polarity.
32