Chapter 3 Motherboard Installation
PPC1507
29
save gpio base address
Out dx, eax
;
Add dx, 4
;PCI configuration data port
In ax, dx
;read 0cfch to ax
And ax, 0FFF0h
;mask bit0, ax gpio base address saved in ax
xchg dx, ax
;save the base address to dx
;;;2, set the defined functional pin to be gpio
mode
Add dl,30h
;base+offset30h, GPIO Use Select 2 Register
In eax,dx
;get the current register value to eax
Or al, 0ffh
;set the lower 8bit to be 1 and defined as GPIO
;;bit[8:0] corresponding with gpio[39:32],
;0 = Signal used as native function.
;1 = Signal used as a GPIO.
Out dx
,
al
;write the set value back to the register
;;;set the defined pin to be input output mode
Add dl, 34h
;base+ GPIO Input/Output Select 2 Register
;0 = Signal used as output
;1 = Signal used as input
In eax, dx
;get the current register value to eax
;
Or al, 0fh
;;bit[4:0] set as 1, gpio[35:32] is used as input pin
And al, 0fh
;;bit[8:5] set as 0, gpio[39:36] is used as output pin
Out dx, al
; write the set value back to the register
Summary of Contents for PPC-1507
Page 1: ...PPC 1507 15 LCD Panel PC Version A3...
Page 16: ...Chapter 2 Computer Installation 10 PPC 1507 Chapter 2 Computer Installation Product Outline...
Page 17: ...Chapter 2 Computer Installation PPC 1507 11 Product Dimension Drawing 4 5 Unit mm...
Page 19: ...Chapter 2 Computer Installation PPC 1507 13 External Interfaces Outline...
Page 43: ...EVOC...
Page 44: ...1 2 3 4 5 6 30 7 ESD 8 ESD h i j...
Page 45: ...k l m n 9 10...
Page 48: ......
Page 56: ...8 PPC 1507 l 5 19Hz 1 0mm 19 200Hz 1g l 10g 11ms l IP65 l l 20 60 20 93 10cm 50cm...
Page 57: ...PPC 1507 9...
Page 58: ...10 PPC 1507 4 5 mm...
Page 59: ...PPC 1507 11 1 2 3 4 5 6 7 8 9 10 11 PCI 12 13 14 15 1 LCD IO...
Page 60: ...12 PPC 1507 154 84 114 92 125 00 104 84 165 00 mm...
Page 75: ...BIOS PPC 1507 27 BIOS EC4 1713CLDNA B BIOS AMI BIOS...