beautypg.com

Appendix b: gpi/o programming guide, Gpio configuration – NEXCOM NDiS B533 User Manual

Page 66

background image

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

52

NDiS B533 User Manual

Appendix B: GPI/O Programming Guide

Appendix B: GPI/O Programming Guide

GPIO Configuration

Address: A00

Address: A02

DATA

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

10

GPIO

mapping

X

X

X

GPO3

X

GPO2 GPO1

X

GPI3

DATA

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

GPIO mapping

GPI4

GPI3

GPI2

GPI1

X

X

X

GPO4

Example:

Output data (1010) through GPO
Step1: At Debug mode
Step2: Set Data at address A02 and A00

C:\debug
-o A02 F1
-o A00 ED

Read data from GPI
Step1: At Debug mode
Step2: Read Data at A02 (Input data is 1010)

C:\debug
-i A02
-AF