Datasheet

8 Channel Capacitive Touch Sensor with 8 LED Drivers
Datasheet
Revision 1.32 (01-05-12) 68 SMSC CAP1188
DATASHEET
‘0’ (default) - The LED8 output is inverted. For example, a setting of ‘1’ in the LED Output Control
register will cause the LED pin output to be driven to a logic ‘0’.
‘1’ - The LED8 output is non-inverted. For example, a setting of ‘1’ in the LED Output Control
register will cause the LED pin output to be driven to a logic 1 or left in the high-z state as
determined by its output type.
Bit 6 - LED7_POL - Determines the polarity of the LED7 output.
Bit 5 - LED6_POL - Determines the polarity of the LED6 output.
Bit 4 - LED5_POL - Determines the polarity of the LED5 output.
Bit 3 - LED4_POL - Determines the polarity of the LED4 output.
Bit 2 - LED3_POL - Determines the polarity of the LED3 output.
Bit 1 - LED2_POL - Determines the polarity of the LED2 output.
Bit 0 - LED1_POL - Determines the polarity of the LED1 output.
5.28 LED Output Control Register
The LED Output Control Register controls the output state of the LED pins that are not linked to sensor
inputs.
Note: If an LED is linked to a sensor input in the Sensor Input LED Linking Register (Section 5.26,
"Sensor Input LED Linking Register"), the corresponding bit in the LED Output Control Register
is ignored (i.e. a linked LED cannot be host controlled).
The LED Polarity Control Register will determine the non actuated state of the LED pins. The actuated
LED behavior is determined by the LED behavior controls (see Section 5.31, "LED Behavior
Registers").
Table 5.48 shows the interaction between the polarity controls, output controls, and relative brightness.
Bit 7 - LED8_DR - Determines whether the LED8 output is driven high or low.
‘0’ (default) - The LED8 output is driven at the minimum duty cycle or not actuated.
‘1’ - The LED8 output is driven at the maximum duty cycle or is actuated.
Bit 6 - LED7_DR - Determines whether LED7 output is driven high or low.
Bit 5 - LED6_DR - Determines whether LED6 output is driven high or low.
Bit 4 - LED5_DR - Determines whether LED5 output is driven high or low.
Bit 3 - LED4_DR - Determines whether LED4 output is driven high or low.
Bit 2 - LED3_DR - Determines whether LED3 output is driven high or low.
Bit 1 - LED2_DR - Determines whether LED2 output is driven high or low.
Bit 0 - LED1_DR - Determines whether LED1 output is driven high or low.
Table 5.47 LED Output Control Register
ADDR R/W REGISTER B7 B6 B5 B4 B3 B2 B1 B0 DEFAULT
74h R/W
LED Output
Control
LED8_
DR
LED7_
DR
LED6_
DR
LED5_
DR
LED4_
DR
LED3_
DR
LED2_
DR
LED1_
DR
00h