English
Language : 

CAP1166 Datasheet, PDF (59/79 Pages) Microchip Technology – 6 Channel Capacitive Touch Sensor with 6 LED Drivers
CAP1166
FIGURE 6-4:
Pulse 2 Behavior with Inverted Polarity
Normal – untouched
operation
Touch Detected
Pulse 2 Max Duty Cycle * Brightness
Release Detected
X additional pulses after release
Normal – untouched
operation
LED
Brightness
...
Pulse
Period
(P2_PER)
Pulse 2 Min Duty Cycle * Brightness
6.34 LED Breathe Period Register
TABLE 6-56: LED BREATHE PERIOD REGISTER
ADDR R/W
Register
B7
B6
B5
86h
R/W
LED Breathe
Period
-
BR_ BR_
PER6 PER5
B4
BR_
PER4
B3
BR_
PER3
B2
BR_
PER2
B1
BR_
PER1
B0
BR_
PER0
Default
5Dh
The LED Breathe Period register determines the overall period of a breathe operation as determined by the LED_CTL
registers (see Table 6-52 - setting 11b). The LSB represents 32ms so that a setting of 18h (24d) would represent a
period of 768ms. The total range is from 32ms to 4.064 seconds (see Table 6-54) with a default of 2976ms.
APPLICATION NOTE: Due to constraints on the LED Drive PWM operation, any Breathe Period less than 160ms
(05h) may not be achievable. The device will breathe at the minimum period possible as
determined by the period and min / max duty cycle settings.
6.35 LED Configuration Register
TABLE 6-57: LED CONFIGURATION REGISTER
ADDR R/W
Register
B7
B6
88h
R/W
LED Config
-
RAMP_
ALERT
B5
B4
B3
PULSE2_CNT[2:0]
B2
B1
B0
PULSE1_CNT[2:0]
Default
04h
The LED Configuration register controls general LED behavior as well as the number of pulses that are sent for the
PULSE LED output behavior.
Bit 6 - RAMP_ALERT - Determines whether the device will assert the ALERT# pin when LEDs actuated by the LED
Output Control register bits have finished their respective behaviors. Interrupts will only be generated if the LED activity
is generated by writing the LED Output Control registers. Any LED activity associated with touch detection will not cause
an interrupt to be generated when the LED behavior has been finished.
• ‘0’ (default) - The ALERT# pin will not be asserted when LEDs actuated by the LED Output Control register have
finished their programmed behaviors.
• ‘1’ - The ALERT# pin will be asserted whenever any LED that is actuated by the LED Output Control register has
finished its programmed behavior.
Bits 5 - 3 - PULSE2_CNT[2:0] - Determines the number of pulses used for the Pulse 2 behavior as shown in Table 6-58.
Bits 2 - 0 - PULSE1_CNT[2:0] - Determines the number of pulses used for the Pulse 1 behavior as shown in Table 6-58.
DS00001621B-page 59
 2015 Microchip Technology Inc.