beautypg.com

B: gpi/o p, Ppendix, Rogramming – NEXCOM NISE 101 User Manual

Page 71: Guide

background image

Copyright © 2010 NEXCOM International Co., Ltd. All Rights Reserved.

58

Appendix B: GPI/O Programming Guide

NISE 101 User Manual

A

ppendix

B: Gpi/O p

rOGrAmminG

Guide

The NISB101 onboard GPIO function is carried out by the ITE IT8712F I/O
chip. The board uses the IT8712F’s GP20~27 and GP30~37 pins to support
16-channel GPIO interface. The default setup is 8 output channel and 8
input channel.

The I/O decode address are:

Output port: 0x281
Bit[7:0] = GP27~GP20

Input port: 0x281
Bit[7:0] = GP37~GP30

Pin

Description

Pin

Description

1

GPO20

2

GPI30

3

GPO21

4

GPI31

5

GPO22

6

GPI32

7

GPO23

8

GPI33

9

GPO24

10

GPI34

11

GPO25

12

GPI35

13

GPO26

14

GPI36

15

GPO27

16

GPI37

17

Clock

18

Data

19

GND

20

5V