
PCH 7991
19 inch Atom Fanless Panel PC
© Copyright 2012 Acnodes, Inc.
All rights reserved. Product description and product specifications
are subject to change without notice. For latest product information,
please visit Acnodes’ web site at www.acnodes.com.
14628 Central Ave.
Chino, CA91710
Tel:909.597.7588, Fax:909.597.1939
Activate the logic device
Examp le x86 assembly code:
; Logic device a ctivation control reg.
;S et bit2 to enable G PIO P ort6 if LDN =8
;S et bit1 to enable G PIO P ort2 if LDN =9
out dx, al
E xample C code:
outportb(0x4E, 0x30); //Logic de vice activa tion control
outportb(0x4 F, (inportb(0x4F)|0x2));
//S et bit[1] to enable GP IO P ort2 if LDN= 9
Or
outportb(0x4E, 0x30); //Logic de vice activa tion control
outportb(0x4 F, (inpo rtb(0x4F)|0x4));
//S et bit[2] to enable GP IO P ort6 if LDN= 8
C onfigure GPIO register
Examp le x86 assembly code:
mov al, 000h ;0 – normal, 1 - inverted
;GP IO I/O selecti on reg.
;or mov a l, 0F0h to set output