
Multiple Channel Capacitive Touch Sensor and LED Driver
Datasheet
Revision 1.64 (01-15-09)
58
SMSC CAP1014
DATASHEET
5.29
LED / GPIO Output Type Registers
The LED / GPIO Output Type registers control the type of output for the LEDx / GPIOx pins that are
configured to operate as outputs. Each pin is controlled by a single bit.
‘0’ (default) - The LEDx / GPIOx pin is an open-drain output with an external pull-up resistor. When
the appropriate pin is set to the “active“ state (logic ‘1’) then the pin will be driven low. Conversely,
when the pin is set to the “inactive” state (logic ‘0’, then the pin will be left in a High Z state and
pulled high via an external pull-up resistor.
‘1’ - The LEDx / GPIOx pin is a push-pull output. When driving a logic ‘1’ the pin is driven high.
When driving a logic ‘0’ the pin is driven low.
5.30
GPIO Input Register
The GPIO Input registers reflect the state of the LEDx / GPIOx pins. These bits are updated whenever
the pin state changes regardless of the operation of the pin. If a LEDx / GPIOx pin is configured as
an input, then when a pin changes states, the GPIOx_STS bit is set. If the corresponding interrupt
enable bit is also set, then an interrupt will be asserted.
5.31
LED Output Control Registers
The LED Output Control Registers control the output state of the LED pins when they are configured
as outputs. For all LED outputs, the “active” state is with the output driven low and the disabled state
is with the output in a high Z state (or driven high). These bits are OR’d with the individual control bits
All LED’s that are associated with a Capacitive Touch Sensor channel are automatically enabled and
will be actuated per the LED Behavior (if enabled as outputs - see
Section 5.28).
Table 5.44 LED / GPIO Output Type Registers
ADDR
R/W
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0
DEFAULT
71h
R/W
LED / GPIO
Output Type 1
LED8
_OT
LED8_
OT
LED6
_OT
LED5
_OT
LED4
_OT
LED3
_OT
LED2
_OT
LED1
_OT
00h
Table 5.45 GPIO Input Register
ADDR
R/W
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0
DEFAULT
72h
R
GPIO Input
GPIO
8
GPIO
7
GPIO
6
GPIO
5
GPIO
4
GPIO
3
GPIO
2
GPIO
1
00h
Table 5.46 LED Output Control Registers
ADDR
R/W
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0
DEFAULT
73h
R/W
LED Output
Control 1
LED8
_DR
LED7
_DR
LED6
_DR
LED5
_DR
LED4
_DR
LED3_
DR
LED2_
DR
LED1
_DR
00h
74h
R/W
LED Output
Control 2
LED11
_DR
LED10_
DR
LED9
_DR
00h