English
Language : 

CAP1066 Datasheet, PDF (57/71 Pages) SMSC Corporation – 6 Channel Capacitive Touch Sensor with 6 LED Drivers
6 Channel Capacitive Touch Sensor with 6 LED Drivers
Datasheet
5.27.2
LED Behavior 2 - 82h
Bits 3 - 2 - LED6_CTL[1:0] - Determines the behavior of LED6 as shown in Table 5.43.
Bits 1 - 0 - LED5_CTL[1:0] - Determines the behavior of LED5 as shown in Table 5.43.
LEDX_CTL
[1:0]
1
0
0
0
0
1
1
0
1
1
Table 5.43 LEDx_CTL Bit Decode
OPERATION
Direct
Pulse 1
Pulse 2
Breathe
DESCRIPTION
START
TRIGGER
STOP
TRIGGER
The LED is driven to the programmed state
(active or inactive). See Figure 5.5
Touch Detected
or LED Control
bit set
Release
Detected or
LED Control
bit cleared
The LED will “Pulse” a programmed
Touch or
number of times. During each “Pulse” the
Release
LED will breathe up to the maximum
Detected (See
brightness and back down to the minimum Section 5.31) or
n/a
brightness so that the total “Pulse” period LED Control bit
matches the programmed value.
set
The LED will Breathe when the start trigger
is detected. When the stop trigger is
detected, it will “Pulse” a number of times
then return to its minimum brightness.
Touch Detected
or LED Control
bit set
Release
Detected or
LED Control
bit cleared
The LED will breathe. It will be driven with
a duty cycle that ramps up from the
programmed minimum duty cycle (default
0%) to the programmed maximum duty
cycle duty cycle (default 100%) and then
back down. Each ramp takes up 50% of the
programmed period. The total period of
each “breath” is determined by the LED
Breathe Period controls - see Section 5.30.
Touch Detected
or LED Control
bit set
Release
Detected or
LED Control
bit cleared
APPLICATION NOTE: The PWM frequency is determined based on the selected LED behavior, the programmed
breathe period, and the programmed min and max duty cycles. For the Direct Mode, the
PWM frequency is calculated based on the programmed Rise and Fall times. If these are
set at 0, then the maximum PWM frequency will be used based on the programmed duty
cycle settings.
5.28 LED Pulse 1 Period Register
ADDR
84h
R/W
REGISTER
B7
R/W
LED Pulse 1
Period
ST_
TRIG
Table 5.44 LED Pulse 1 Period Register
B6
P1_
PER6
B5
P1_
PER5
B4
P1_
PER4
B3
P1_
PER3
B2
P1_
PER2
B1
P1_
PER1
B0
P1_
PER0
DEFAULT
20h
The LED Pulse Period 1 register determines the overall period of a pulse operation as determined by
the LED_CTL registers (see Table 5.43 - setting 01b). Each LSB represents 32ms so that a setting of
14h (20d) would represent a period of 640ms. The total range is from 32ms to 4.06 seconds as shown
in Table 5.45.
SMSC CAP1066
57
DATASHEET
Revision 1.1 (08-05-09)