User`s manual
8.6.3 Jumper Setting:
Note: user should remove R19, R20, R21, R22 and R23 in the 7188XC
first.
J1: I/O expansion bus, connect to J1 of 7188XC
J2: I/O expansion bus, connect to J2 of 7188XC
J7: Three channels of 8 D/I/O
TP0: Original function on 7188XC
TP1: Five channels of 8 D/I/O
Jumper: Select TP0 or TP1 function
TP0: JP9 and JP8 closed
TP1: JP9 and JP10 closed
8.6.4 Programming
DiVal = inportb(BASE); /* for all 8-channels */
Note: 1. The default value of BASE is 0.
2. It is not recommended to change the value of BASE from 0 to another
value.
3. DiVal=0x00 all 8-channel are Low
DiVal=0x01 Chennel_0 is High, the other channels are Low
DiVal=0xFF all 8-channel are High
outportb(BASE, DoVal); /* for all 8-channels */
Note: 1. The default value of BASE is 0.
2. It is not recommended to change the value of BASE from 0 to another
value.
3. DoVal=0x00 turn all 8-channel OFF
DoVal=0x01 turn chennel_0 ON, the other channels OFF
DoVal=0xFF turn all 8-channel ON
DIO14 is used to select D/I or D/O
If DIO14 is LOW select D/O*8 D/I is read-back value of D/O
I/O Expansion Bus for 7188X/7188E User’s Manual, Jun/2004 v1.4, 7PH-000-14---54










