beautypg.com

Appendix b: gpi/o programming guide – NEXCOM ICES 668 User Manual

Page 104

background image

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

90

ICEK 668-T6 Starter Kit User Manual

Appendix B: GPI/O Programming Guide

Appendix B: GPI/O Programming Guide

GPI/O (General Purpose Input/Output) pins are provided for custom system design.
This appendix provides definitions and its default setting for the ten GPI/O pins in the
ICES 668 series. The pin definition is shown in the following table:

Pin No. GPI/O mode PowerOn

Default

Address

Pin No. GPI/O mode PowerOn

Default

Address

1

VCC

-

-

2

GND

-

-

3

GPI0

Low

548h (Bit6)

4

GPO0

High

548h (Bit7)

5

GPI1

Low

50Eh (Bit1)

6

GPO1

High

50Ch (Bit7)

7

GPI2

Low

548h (Bit4)

8

GPO2

High

538h (Bit6)

9

GPI3

Low

548h (Bit5)

10

GPO3

High

538h (Bit7)

Control the GPO pin (3/5/7/9) level from I/O port 548h, 50Eh, 548h, 548h bit (6/1/4/5).
The bit is Set/Clear indicated output High/Low