beautypg.com

D.1 introduction, D.2 dio connector pinouts, D.3 assembly language samples – IEI Integration IMBA-Q870-i2 User Manual

Page 222: D.3.1 enable the dio input function

background image

IMBA-Q870-i2 ATX Motherboard

Page 204

D.1 Introduction

The DIO connector on the IMBA-Q870-i2 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 NO. DESCRIPTION

PIN NO. DESCRIPTION

1

GND

2

VCC

3

Output 3

4

Output 2

5

Output 1

6

Output 0

7

Input 3

8

Input 2

9

Input 1

10

Input 0

Table 6-1: Digital I/O Connector Pinouts

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

INT 15H Initiates the INT 15H BIOS call