beautypg.com

C: gpi/o p, Ppendix, Rogramming – NEXCOM PEAK 876VL2 User Manual

Page 63: Guide

background image

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

50

Appendix C: GPI/O Programming Guide

PEAK 876VL2/877VL2 User Manual

PEAK 876VL2 GPIO

a

PPendix

C: gPi/o P

rogramming

guide

PIN

Description

PIN

Description

1

+5V

2

GND

3

GPI10

4

GPO14

5

GPI11

6

GPO15

7

GPI12

8

GPO16

9

GPI13

10

GPO17

SetGPIO PROC

mov

dx, 2eh

mov

al, 087h

out

dx, al

nop
nop

mov

dx, 2eh

mov

al, 087h

out

dx, al

;Enter MB PnP Mode.

mov

al, 07h

out

2eh, al

mov

al, 07h ;Select logical device for GPIO1.

out

2fh, al

ret
SetGPIO ENDP

===============================================

This manual is related to the following products: