English
Language : 

CAP1214 Datasheet, PDF (62/107 Pages) SMSC Corporation – Multiple Channel Capacitive Touch Sensor and LED Driver
Multiple Channel Capacitive Touch Sensor and LED Driver
Datasheet
6.24 Lid Closure Configuration Register
ADDR
2Bh
Table 6.34 Lid Closure Configuration Register
R/W REGISTER
B7
B6
B5
B4
B3
B2
R/W
Lid Closure LID_
Config
CLOSE
-
-
-
-
-
B1
COMP_
PTRN
B0
LID_
ALRT
DEFAULT
00h
The Lid Closure Configuration Register controls the settings for the lid closure detection circuitry.
Bit 7 - LID_CLOSE - Enables the lid closure circuitry.
„ ‘0’ (default) - The lid closure circuitry is disabled.
„ ‘1’ The lid closure circuitry is enabled. The device will use the Lid Closure Status registers in
combination with the Lid Closure Pattern register settings to determine when a Lid Closure Event
is flagged. In addition, the Noise Status bits are associated with lid closure.
Bit 1 - COMP_PTRN - Determines how the Lid Closure Status registers are compared against the Lid
Closure Pattern registers. See Section 6.26 for details on how the Lid Closure Pattern registers are
used.
„ ‘0’ (default) - The Lid Closure Status registers are not compared directly against the Lid Closure
Pattern registers. Instead, 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.
„ ‘1’ - The Lid Closure Status registers are compared directly against the Lid Closure Pattern
registers. If the bits set in the Lid Closure Pattern are also set in the Lid Status registers, a Lid
Closure Event is flagged.
Bit 0 - LID_ALRT - Enables an interrupt if a Lid Closure Event occurs.
„ ‘0’ (default) - If a Lid Closure Event occurs, the ALERT pin is not asserted.
„ ‘1’ - If a Lid Closure Event occurs, the ALERT pin will be asserted.
6.25 Lid Closure Queue Control Register
Table 6.35 Lid Closure Queue Control Register
ADDR R/W
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0
2Ch
R/W
Lid Closure
Queue Control
-
-
-
-
-
QUEUE_L[2:0]
DEFAULT
02h
The Lid Closure Queue Control Register determines the number of consecutive samples for which a
single sensor output is above the Lid Closure Threshold before it is flagged.
A value of 0000b is decoded as 1.
Bits 2 - 0 - QUEUE_L[2:0] - The number of consecutive samples from an individual sensor necessary
to set the Lid Closure status bit associated with the sensor. The queue applies individually to all
sensors (including both buttons and grouped sensors) and applies to setting and clearing the
respective status bit. The queue can range from 1 sample to 8 consecutive samples with a default of
2 consecutive samples.
Revision 1.0 (08-30-10)
62
DATASHEET
SMSC CAP1214