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.
Table 5.43 LEDx_CTL Bit Decode
LEDX_CTL
[1:0]
START
TRIGGER
STOP
TRIGGER
1
0
OPERATION
DESCRIPTION
Release
Detected or
LEDControl
bit cleared
Touch Detected
or LED Control
bit set
The LED is driven to the programmed state
(active or inactive). See Figure 5.5
0
0
Direct
The LED will “Pulse” a programmed
number of times. During each “Pulse” the
LED will breathe up to the maximum
brightness and back down to the minimum
brightness so that the total “Pulse” period
matches the programmed value.
Touch or
Release
Detected (See
Section 5.31) or
LED Control bit
set
0
1
1
0
Pulse 1
Pulse 2
n/a
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.
Release
Detected or
LEDControl
bit cleared
Touch Detected
or LED Control
bit set
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.
Release
Detected or
LEDControl
bit cleared
Touch Detected
or LED Control
bit set
1
1
Breathe
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
Table 5.44 LED Pulse 1 Period Register
ADDR
R/W
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0
DEFAULT
LED Pulse 1
Period
ST_
TRIG
P1_
PER6
P1_
PER5
P1_
PER4
P1_
PER3
P1_
PER2
P1_
PER1
P1_
PER0
84h
R/W
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
Revision 1.1 (08-05-09)
DATA5S7HEET