Chapter 12: Cash Drawer Interface 12-7
WithintheICH4,theGeneralPurposeI/Oportsareaddressedusingan
offsetreadfromtheGPIOBaseAddressRegister,[GPIOBASE](offset
0x58).ThebaseaddressincludedinBits[15:6]isassignedbytheBIOS.
TheGPIOControlRegister[GPIO_CNTL](offset0x5C)hasaR/Wbit
[4]thatenables(1)/disables(0)thedecode
oftheI/Orangepointedtoby
theGPIOBaseregisterandenables/disablestheGPIOfunction.The
GPIOControlRegisterissetbytheBIOStoenableGPIO.
Intel® 82801DB ICH4 Datasheet
GPIO_USE_SEL2—GPIO Use Select 2 Register
Offset Address: GPIOBASE +30h Attribute: R/W
Default Value: 00000FFFh Size: 32-bit
Lockable: No Power Well: Core
Bit Description
31:0
GPIO_USE_SEL2[43:32]—R/W.Eachbitinthisregisterenablesthe
correspondingGPIO(ifitexists)tobeusedasaGPIO,ratherthanfor
thenativefunction.
0=Signalusedasnativefunction.
1=SignalusedasaGPIO.
For7402,cashdrawerbitsGPIO_USE_SEL2[35:32]willbeset
=1for
useasaGPIO,writevalue=readvalueANDedwith0xF.
Afterafullreset(RSMRST#)allmultiplexedsignalsintheresumeand
corewellsareconfiguredastheirnativefunctionratherthanasa
GPIO.AfterjustaPCIRST#,theGPIOinthecorewellare
configuredas
theirnativefunction.
LPC Interface Bridge Registers (D31:F0)
GP_IO_SEL2—GPIO Input/Output Select 2 Register
Offset Address: GPIOBASE +34h Attribute: R/W
Default Value: 00000000h Size: 32-bit
Lockable: No Power Well: Core