beautypg.com

Appendix b: gpi/o programming guide – NEXCOM NViS 2280 User Manual

Page 93

background image

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

80

NViS 2280 User Manual

Appendix B: GPI/O Programming Guide

NViS 2280 GPIO

Appendix B: GPI/O Programming Guide

Pin

Description

Pin

Description

1

+5V

2

GND

3

GPO54

4

GPI50

5

GPO55

6

GPI51

7

GPO56

8

GPI52

9

GPO57

10

GPI53

IO base address : 800h

Bit0 : GPI50
Bit1 : GPI51
Bit2 : GPI52
Bit3 : GPI53
Bit4 : GPO54
Bit5 : GPO55
Bit6 : GPO56
Bit7 : GPO57

1. Select GPIO group5 by set I/O port 800h to 5h
2. Read/Write GPIO data by I/O port 802h