D.1 introduction, D.2 dio connector pinouts, D.3 assembly language samples – IEI Integration WAFER-945GSE2 v2.00 User Manual
Page 169: D.3.1 enable the dio input function, Ntroduction, Onnector, Inouts, Ssembly, Anguage, Amples
WAFER-945GSE2 3.5" Motherboard
Page 154
D.1 Introduction
The DIO connector on the WAFER-945GSE2 is interfaced to GPIO ports on the Super I/O
chipset. The DIO has both 4-bit digital inputs and 4-bit digital outputs. The digital inputs
and digital outputs are generally control signals that control the on/off circuit of external
devices or TTL devices. Data can be read or written to the selected address to enable the
DIO functions.
NOTE:
For further information, please refer to the datasheet for the Super I/O
chipset.
D.2 DIO Connector Pinouts
Pin
Description
Super I/O Pin
Super I/O Pin Description
1 Ground
N/A
N/A
2 VCC
N/A
N/A
3
Output 3
GP23
General Purpose I/O Port 2 Bit 3
4
Output 2
GP22
General Purpose I/O Port 2 Bit 2
5
Output 1
GP21
General Purpose I/O Port 2 Bit 1
6
Output 0
GP20
General Purpose I/O Port 2 Bit 0
7
Input 3
GP33
General Purpose I/O 33
8
Input 2
GP32
General Purpose I/O 32
9
Input 1
GP31
General Purpose I/O 31
10
Input 0
GP30
General Purpose I/O 30
D.3 Assembly Language Samples
D.3.1 Enable the DIO Input Function
The BIOS interrupt call INT 15H controls the digital I/O. An assembly program to enable
digital I/O input functions is listed below.
MOV AX,
6F08H
Sets the digital port as input