| поискавой системы для электроныых деталей |
|
CAP1214 датащи(PDF) 42 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
CAP1214 датащи(HTML) 42 Page - Microchip Technology |
|
42 / 107 page ![]() Multiple Channel Capacitive Touch Sensor and LED Driver Datasheet Revision 1.0 (08-30-10) 42 SMSC CAP1214 DATASHEET Bit 1 - PWR_LED - Controls the output of LED11 based on the state of bits 5 and 4. ‘0’ (default) - The LED11 output is in the “inactive” or off state. The LED can still be driven by setting bit 2 LED11_DR in the LED Output Control 2 Register (74h). ‘1’ - The LED11 output is active in one of the following conditions: a. Both bits 4 and 5 are set to a logic ‘0’. The LED will behave as defined by the LED11_CTL bits (see Section 6.51). b. Either bit 4 or bit 5 is set to a logic ‘1’. The LED will behave as defined by the LED11_ALT bits (see Section 6.51). Bit 0 - INT - Indicates that there is an interrupt. This bit is only set if the ALERT pin has been asserted. If a channel detects a press and its associated interrupt enable bit is set to a logic ‘0’, no action is taken. This bit is cleared by writing a logic ‘0’ to it. When this bit is cleared, the ALERT pin will be deasserted and all status registers will be cleared if the condition has been removed. ‘0’ - No interrupt pending. ‘1’ - A button press has been detected on one or more channels and the interrupt has been asserted. 6.2 Button Status Registers The Button Status Registers store status bits that indicate a button press has been detected. A value of ‘0’ in any bit indicates that no button press has been detected. A value of ‘1’ in any bit indicates that a button press has been detected. All status bits are cleared when the device enters the Deep Sleep or Inactive states (DSLEEP = ‘1’ or DEACT = ‘1’ - see Section 6.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, the bits will not be cleared (but this will not cause the interrupt to be asserted - see Section 6.14) APPLICATION NOTE: When the Button Status 1 Register is read, the Group Status register will be automatically cleared. Therefore, the Group Status register should be read prior to reading the Button Status Registers 6.2.1 Button Status 1 Bit 7 - UP - Indicates that a slide was detected on increasing sensors (i.e. Sensor 8 -> Sensor 9 -> Sensor 10). This bit is also set if a press is detected on the “Up” portion of the slider. If the Group auto-repeat is enabled, the ALERT pin will be periodically asserted while a slide or press and hold event is still detected. This bit is sticky and will remain set until cleared. Once cleared, it will be re-set when another interrupt is generated in the “UP” direction. This bit is automatically cleared if the DOWN bit is set. Bit 6 - DOWN - Indicates that a slide was detected on decreasing sensors (i.e. Sensor 14 -> Sensor 13-> Sensor 12). This bit is also set if a press is detected on the “Down” portion of the slider. If the Group auto-repeat is enabled, the ALERT pin will be periodically asserted while a slide or press and hold event is still detected. This bit is sticky and will remain set until cleared. Once cleared, it will be Table 6.3 Button Status Registers ADDR R/W REGISTER B7 B6 B5 B4 B3 B2 B1 B0 DEFAULT 03h R Button Status 1 UP DOWN CS6 CS5 CS4 CS3 CS2 CS1 00h 04h R Button Status 2 CS14 CS13 CS12 CS11 CS10 CS9 CS8 CS7 00h |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |