beautypg.com

Appendix b: gpi/o programming guide – NEXCOM EBC 355 User Manual

Page 62

background image

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

48

EBC 355 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. The pin definition is shown in the following table:

Pin

GPI/O mode PowerOn

Default

Address

Pin

GPI/O mode PowerOn

Default

Address

1

VCC

-

-

2

GND

-

-

3

GPO0

Low

A03h (Bit6)

4

GPI0

High

A03h (Bit1)

5

GPO1

Low

A02h (Bit5)

6

GPI1

High

A05h (Bit5)

7

GPO2

Low

A07h (Bit0)

8

GPI2

High

A05h (Bit4)

9

GPO3

Low

A07h (Bit1)

10

GPI3

High

A00h (Bit1)

Control the GPI/O pin 3 level from I/O port A03h bit 6.
Control the GPI/O pin 5 level from I/O port A02h bit 5.
Control the GPI/O pin 7 level from I/O port A07h bit 0.
Control the GPI/O pin 9 level from I/O port A07h bit 1.

The bit is Set/Clear indicated output High/Low.