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
Содержание PPC-1507
Страница 1: ...PPC 1507 15 LCD Panel PC Version A3...
Страница 16: ...Chapter 2 Computer Installation 10 PPC 1507 Chapter 2 Computer Installation Product Outline...
Страница 17: ...Chapter 2 Computer Installation PPC 1507 11 Product Dimension Drawing 4 5 Unit mm...
Страница 19: ...Chapter 2 Computer Installation PPC 1507 13 External Interfaces Outline...
Страница 43: ...EVOC...
Страница 44: ...1 2 3 4 5 6 30 7 ESD 8 ESD h i j...
Страница 45: ...k l m n 9 10...
Страница 46: ...1 1 2 3 LCD 3 3 4 4 4 4 4 4 IDE 4 5 USB 5 PCIE 5 BIOS 5 Watchdog 5 I O 5 6 7 7 7 8 8 9 9 10 11 IO 11...
Страница 47: ...12 12 13 14 15 IDE 15 USB 16 17 19 19 20 20 CF 21 22 22 22 PCIE 23 I O 25 BIOS 27 28 Watchdog 28 I O 31 IRQ 33...
Страница 48: ......
Страница 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...
Страница 57: ...PPC 1507 9...
Страница 58: ...10 PPC 1507 4 5 mm...
Страница 59: ...PPC 1507 11 1 2 3 4 5 6 7 8 9 10 11 PCI 12 13 14 15 1 LCD IO...
Страница 60: ...12 PPC 1507 154 84 114 92 125 00 104 84 165 00 mm...
Страница 75: ...BIOS PPC 1507 27 BIOS EC4 1713CLDNA B BIOS AMI BIOS...