English
Language : 

CAP1014 Datasheet, PDF (62/84 Pages) SMSC Corporation – Multiple Channel Capacitive Touch Sensor and LED Driver
Multiple Channel Capacitive Touch Sensor and LED Driver
Datasheet
The Sensor Base Count registers store the calibrated “Not Touched” input value from the Capacitive
Touch Sensor inputs. These registers are periodically updated by the re-calibration routine.
The routine uses an internal adder to add the current count value for each reading to the sum of the
previous readings until sample size has been reached. At this point, the upper 16 bits are taken and
used as the Sensor Base Count. The internal adder is then reset and the re-calibration routine
continues.
The data presented is determined by the C_DSP bits (see Section 5.13).
5.34 LED / GPIO Direction Registers
Table 5.51 LED / GPIO Direction Registers
ADDR
R/W
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0 DEFAULT
70h
R/W
LED / GPIO LED8_ LED7_ LED6_ LED5_ LED4_ LED3_ LED2_ LED1_
Direction
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
00h
The LED / GPIO Direction registers control the data flow direction for the LED / GPIO pins. Each pin
is controlled by a single bit.
Bit 7 - LED8_DIR - Controls the direction of the LED8 / GPIO8 pin.
„ ‘0’ (default) - The LED8 / GPIO8 pin is configured as an input and cannot be used to drive an LED.
„ ‘1’ - The LED8 / GPIO8 pin is configured as an output.
Bit 6 - LED7_DIR - Controls the direction of the LED7 / GPIO7 pin.
Bit 5 - LED6_DIR - Controls the direction of the LED6 / GPIO6 pin.
Bit 4 - LED5_DIR - Controls the direction of the LED5 / GPIO5 pin.
Bit 3 - LED4_DIR - Controls the direction of the LED4 / GPIO4 pin.
Bit 2 - LED3_DIR - Controls the direction of the LED3 / GPIO3 pin.
Bit 1 - LED2_DIR - Controls the direction of the LED2 / GPIO2 pin.
Bit 0 - LED1_DIR - Controls the direction of the LED1 / GPIO1 pin.
5.35 LED / GPIO Output Type Registers
ADDR R/W
71h R/W
Table 5.52 LED / GPIO Output Type Registers
REGISTER
LED / GPIO
Output Type 1
B7
B6
B5
B4
B3
B2
B1
B0 DEFAULT
LED8_ LED8_ LED6_ LED5_ LED4_ LED3_ LED2_ LED1_
OT
OT
OT
OT
OT
OT
OT
OT
00h
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.
Revision 1.65 (08-11-09)
62
DATASHEET
SMSC CAP1014