beautypg.com

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

Page 63

background image

Copyright © 2012 NEXCOM International Co., Ltd. All rights reserved

50

EBC 354 User Manual

Appendix B: GPI/O Programming Guide

Appendix B: GPI/O Programming Guide

EBC 354 GPIO

PIN

Description

PIN

Description

1

+5V

2

GND

3

GPO24

4

GPI20

5

GPO25

6

GPI21

7

GPO26

8

GPI22

9

GPO27

10

GPI23

IO base address : A00h

Bit0 : GPI20
Bit1 : GP I21
Bit2 : GP I22
Bit3 : GP I23
Bit4 : GPO24
Bit5 : GPO25
Bit6 : GPO26
Bit7 : GPO27

1. Read/Write GPIO data by I/O port A04h