w83626f Winbond Electronics Corp America, w83626f Datasheet - Page 14

no-image

w83626f

Manufacturer Part Number
w83626f
Description
Lpc To Isa Bridge Set
Manufacturer
Winbond Electronics Corp America
Datasheet
User defines port address to control GPIO functions. To control GPIO state without entry
configure mode. SA [0..7] can be defined on the bit [0..7] of CR11 and SA [8..15] on the bit
[ 0..7] of CR12.
CR13 (GPIO0-GPIO7 Address Decoder Rester, Default 0x00)
The register is programmable when the bit 0 of CR10 is set to “ 1 “.
Bit 7:
Bit 6 -Bit 4:
For example:
Address Decoder 2
=1 Enable address decoder .Generate a CS# signal to GPIO port which
decided by bit[6..4] ,the specify address in CR34 and CR35 and mask
range in CR 33.
=0 Disable address decoder.
Address Decoder 2 Output Selection.
Define which GP port as address decoder depended on CR33, CR34 and CR35.
= 000 Selected GPIO 0 as CS#
= 001 Selected GPIO 1 as CS#
= 010 Selected GPIO 2 as CS#
= 011 Selected GPIO 3 as CS#
= 100 Selected GPIO 4 as CS#
= 101 Selected GPIO 5 as CS#
= 110 Selected GPIO 6 as CS#
= 111 Selected GPIO 7 as CS#
Define address 50h in CR11 and 01h in CR12 after reset.
,bit 2=GPIO2,.........,bit 7=GPIO7 the same definition as bit 0.
bit 0= -GPIO0 (=0 low state,
bit 1=-GPIO1 (=0 low state
Set CR14 to “00h “(output port) and CR16 to “ 00h “ (incoming/outgoing)
-o 150 aa ------(10101010) b indicated GP7,GP5,GP3 and GP1 are Hi state.
-o 150 55 ------(01010101) b indicated GP6,GP4,GP2,and GP0 are Hi state.
- i 150
------show all states of GPIO[7..0]
=1 Hi state)
=1 Hi state)
- 14 -
W83626F/W83626D/W83626G
output
output
output
output
output
output
output
output

Related parts for w83626f