8 Channel Capacitive Touch Sensor with 2 LED Drivers
Datasheet
SMSC CAP1028
35
Revision 1.0 (06-16-09)
DATASHEET
5.2
Status Registers
The Sensor Status Registers store status bits that indicate a touch has been detected. A value of ‘0’
in any bit indicates that no touch has been detected. A value of ‘1’ in any bit indicates that a touch
has been detected.
All status bits are cleared when the device enters the Deep Sleep (DSLEEP = ‘1’ - see
Section 5.1).All status bits are cleared when the INT bit is cleared and if a touch on the respective Capacitive Touch
Sensor is no longer present. If a touch is still detected, then the bits will not be cleared (but this will
5.2.1
Sensor Status
Bit 7 - CS8 - Indicates that a touch was detected on Sensor 8.
Bit 6 - CS7 - Indicates that a touch was detected on Sensor 7.
Bit 5 - CS6 - Indicates that a touch was detected on Sensor 6.
Bit 4 - CS5 - Indicates that a touch was detected on Sensor 5.
Bit 3 - CS4 - Indicates that a touch was detected on Sensor 4.
Bit 2 - CS3 - Indicates that a touch was detected on Sensor 3.
Bit 1 - CS2 - Indicates that a touch was detected on Sensor 2. This sensor can be linked to LED2.
Bit 0 - CS1 - Indicates that a touch was detected on Sensor 1. This sensor can be linked to LED1.
5.2.2
LED Status
Bit 1 - LED2_DN - Indicates that LED2 has finished its ramping behavior as determined by the
LED2_CTL bits.
Bit 0 - LED1_DN - Indicates that LED1 has finished its ramping behavior as determined by the
LED1_CTL bits.
5.3
Noise Flag Status Registers
The Noise Flag Status registers store status bits that are generated from the analog block if the
detected noise is above the operating region of the analog detector. These bits indicate that the most
recently received data from the sensor is invalid and should not be used for touch detection.
Table 5.3 Status Registers
ADDR
R/W
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0
DEFAULT
03h
R
Sensor Status
CS8
CS7
CS6
CS5
CS4
CS3
CS2
CS1
00h
04h
R
LED Status
-
LED2_
DN
LED1_
DN
00h
Table 5.4 Noise Flag Status Registers
ADDR
R/W
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0
DEFAULT
0Ah
R
Noise Flag Status
CS8_
NOISE
CS7_
NOISE
CS6_
NOISE
CS5_
NOISE
CS4_
NOISE
CS3_
NOISE
CS2_
NOISE
CS1_
NOISE
00h