Multiple Channel Capacitive Touch Sensor and LED Driver
Datasheet
used is based on bit 1 in the Lid Closure Configuration Register. The methods are described below. A
Lid Closure Event is flagged in the Group Status register (see Section 5.10, "Group Status Register").
1. Specific Sensors: If the bits set in the Lid Closure Pattern are also set in the Lid Status registers,
then a Lid Closure Event is flagged.
2. Number of Sensors: The number of bits in the Lid Closure Status registers is compared to the
number of bits in the Lid Closure Pattern registers to determine whether a Lid Closure Event is
flagged. If any one of the conditions below is met, the Lid Closure Event is flagged.
If the number of bits in Lid Closure Status 1 register equals or exceeds the number of bits in
the Lid Closure Pattern 1 register, a Lid Closure Event is flagged. In other words, if the number
of simultaneous sensors 1-7 exceeding the lid closure threshold meets or exceeds the number
of bits in the Lid Closure Pattern 1 register, a Lid Closure Event is flagged.
If the number of bits in Lid Closure Status 2 register equals or exceeds the number of bits in
the Lid Closure Pattern 2 register, a Lid Closure Event is flagged. In other words, if the number
of simultaneous grouped sensors 8-14 exceeding the lid closure threshold meets or exceeds
the number of bits in the Lid Closure Pattern 2 register, a Lid Closure Event is flagged.
If the total number of bits in both the Lid Closure Status 1 and 2 registers equals or exceeds
the total number of bits in both the Lid Closure Pattern 1 and 2 registers, a Lid Closure Event
is flagged. In other words, if the total number of sensors above the lid closure threshold is
greater than or equal to the number of sensors required for both Lid Closure Patterns, a Lid
Closure Event is flagged.
5.27 Recalibration Configuration Register
Table 5.37 Recalibration Configuration Registers
ADDR
R/W
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0
DEFAULT
Recalibration
Configuration
BUT_
LD_TH LD_TH
GP_
2Fh
R/W
-
ACAL_RT[1:0]
CAL_CFG[2:0]
93h
The Recalibration Configuration register controls the automatic re-calibration routine settings as well
as advanced controls to program the Sensor Threshold register settings.
Bit 7 - BUT_LD_TH - Enables setting all button Sensor Threshold registers by writing to the Sensor 1
Threshold register.
‘0’ - Each Sensor X Threshold register is updated individually.
‘1’ (default) - Writing the Sensor 1 Threshold register will automatically overwrite the Sensor
Threshold registers for all buttons (Sensor Threshold 1 through Sensor Threshold 7). The individual
Sensor X Threshold registers (Sensor 2 Threshold through Sensor 7 Threshold) can be individually
updated at any time.
Bit 6 - GP_LD_TH - Enables setting the Group Threshold register by writing to the Sensor 1 Threshold
register.
‘0’ (default) - The Group Threshold register is updated independently of the Sensor 1 Threshold
register.
‘1’ - Writing the Sensor 1 Threshold register automatically overwrites the Group Threshold register
settings.
Bits 4-3 - ACAL_RT[1:0] - Determines the number of retries the digital logic will perform on the analog
calibration routine before it accepts the previous setting.
Revision 1.65 (08-11-09)
SMSC CAP1014
DATA5S4HEET