,-,((
!$
*
+)
The ROBO-7710VLA provides 6 input/output ports that can be individually
configured to perform a simple basic I/O function. Users can configure each
individual port to become an input or output port by programming register bit of
I/O Selection. To invert port value, the setting of Inversion Register has to be made.
Port values can be set to read or write through Data Register.
D_GPIO on PEB-7710
PEB-7710 J22_Pin2=D_GPIO1: from ICH4_GPIO32
J22_Pin3=D_GPIO2: from ICH4_GPIO33
J22_Pin4=D_GPIO3: from ICH4_GPIO34
J22_Pin5=D_GPIO4: from ICH4_GPIO35
J22_Pin7=D_GPIO5: from ICH4_GPIO7 (An External 2.7K PH )
J22_Pin8=D_GPIO6: from ICH4_GPIO24 (An External 8.2K PL )
Programming Guide :
PG_Step1 : Enable ACPI IO port assignment and get PMBASE, then save to
EBX_Bit[31..16]
First : Enabe ACPI IO port by setting ACPI_CNTL bit4
B0:D31:F0:Offset_44h_bit4P1
Second: Get PMBASE ( ACPI I/O port BAR ) and
save to EBX_bit[31..16].
PMBASE=:B0:D31:F0:Offset[40..43h]
Let Bit0 = 0.( PCI_BAR bit0 returns 1 for a IO_BAR )
How to read GPIO7 (GPIO7 input only, i.e. GPI7)
----------------------------------------------------------------------
Enable ACPI IO port by B0:D31:F0:Offset_44h_bit4P1
Get PMBASE =: B0:D31:F0: Offset[40 ... 43h] ;(and let bit0 = 0 )
Write GPI_Rout bit[15,14] to [0,0] for no effect on GPI7
(B0: D31: F0: Offset_B8h-Bit [15, 14] P[0, 0] , no SCI event evoked)
Get GPI7 status from GPE0_STS (=28h)-bit23
0 = low, 1= high level
------------- SAMPLE START----------------------------------------------------------------------------
Get PMBASE and save to EBX_bit[31..16]
Let GPI7 GPI_ROUT to [0,0] , i.e. not evoke SCI in S0.
mov dx,0CF8h ; PCI Config Read
mov eax,8000F8B8h ; B0:D31:F0:Offset_B8h
out dx,eax
mov dx,0CFCh
Summary of Contents for PEB-7710VLA
Page 10: ......
Page 32: ...in eax dx...