
- 42 -
© Andigilog, Inc. 2006
www.andigilog.com
October 2006 - 70A06010
aSC7621
Miscellaneous Registers
Registers 19h and 1Ah: GPIO Configuration
Register
Address
Read/
Write
Register
Name
Bit 7
(MSB)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
(LSB)
Default
Value
Lock
Alert Assignment
GPIO 1 Function
19h
R/W
GPIO 1
Configuration
RES
RES
1
0
GPIO
1 bit
2
1
0
00
X
GPIO 2 Function
GPIO 3 Function
1Ah
R/W
GPIO 2
Configuration
GPIO
2 bit
2
1
0
GPIO
3 bit
2
1
0
00
X
GPIO pins are multi-function and may be used as input, output, bi-directional or may serve as an alarm pin with ALERT or
THERM behavior. This is an open-drain output and a read returns the state of the pin, a write drives the pin based on the
GPIO bit.
This register becomes Read-only when the Ready/Lock/Start/Override register Lock bit is set. Any further attempts to write
to this register shall have no effect.
GPIO Configuration 1 contains two controls. The 1st is the ALERT Assignment and the 2nd is GPIO 1 pin definitions.
1.
The Alert assignment defines which one of the GPIO pins that will source the Alert. The Alert assignment
supersedes any GPIO pin configuration.
2.
The GPIO 1 Function defines the configuration of the GPIO 1 pin. The default is to configure the pin as an
input. Any zone Fan Temp Limit status can be sent to the pin or the written value of bit 3 can be sent to GPIO
1 pin. The read value of bit 3 indicates the level of the GPIO 1 pin not the state of the GPIO Register bit.
Bit
Field
GPIO Configuration 1 [19h]
Value
Function
000 (Default)
GPIO PIN Read only, Output drive always set high.
001
Zone 1 Therm Status, pin = 0, Zone 1 exceeds Fan Temp Limit
010
Zone 2 Therm Status, pin = 0, Zone 2 exceeds Fan Temp Limit
011
Zone 3 Therm Status, pin = 0, Zone 3 exceeds Fan Temp Limit
100
Zone 4 Therm Status, pin = 0, Zone 4 exceeds Fan Temp Limit
101
Any Zone Therm Status, pin = 0, Any Zone exceeds Fan Temp Limit
110
GPIO PIN Read only, Output drive always set high.
2:0
GPIO 1
Function
111
GPIO PIN IO Mode, Output drive set to GPIO Reg.Bit 3.
3
GPIO 1 Bit
Read of this bit always returns value of GPIO 1 IO Pin. Write to this function sends
value to GPIO 1 Pin when Function is IO mode.
Value
Function
00 (Default)
No ALERT Function ALERT disabled
01
ALERT function sent to GPIO 1, pin = 0, ALERT Active
10
ALERT function sent to GPIO 2, pin = 0, ALERT Active
5:4
Alert
Assignment
11
ALERT function sent to GPIO 3, pin = 0, ALERT Active
7:6
RES
Reserved
Table 29 GPIO Configuration 1 [19h]
GPIO Configuration 2 contains two controls. The 1st is GPIO 2 pin definition and the 2nd is GPIO 3 pin definition.
1.
The GPIO 2 Function defines the configuration of the GPIO 2 pin. The default is to configure the pin as an
input. Any zone therm status can be sent to the pin or the written value of bit 7 can be sent to GPIO 2 pin. The
read value of bit 7 indicates the level of the GPIO 2 pin not the state of bit 7 register.
2.
The GPIO 3 Function defines the configuration of the GPIO 3 pin. The default is to configure the pin as an
input. Any zone therm status can be sent to the pin or the written value of bit 3 can be sent to GPIO 3 pin. The
read value of bit 3 indicates the level of the GPIO 3 pin not the state of bit 3 register