| поискавой системы для электроныых деталей |
|
CAP1114 датащи(PDF) 42 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
CAP1114 датащи(HTML) 42 Page - Microchip Technology |
|
42 / 102 page ![]() Multiple Channel Capacitive Touch Sensor and LED Driver Datasheet Revision 1.1 (02-04-11) 42 SMSC CAP1114 DATASHEET 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 re-set when another interrupt is generated in the “DOWN” direction. This bit is automatically cleared if the UP bit is set. Bit 5 - CS6 - Indicates that a press was detected on Sensor 6. This sensor can be linked to LED6. ‘0’ - A touch was not detected on the corresponding button. ‘1’ - A touch was detected on the corresponding button. Bit 4 - CS5 - Indicates that a press was detected on Sensor 5. This sensor can be linked to LED5. Bit 3 - CS4 - Indicates that a press was detected on Sensor 4. This sensor can be linked to LED4. Bit 2 - CS3 - Indicates that a press was detected on Sensor 3. This sensor can be linked to LED3 Bit 1 - CS2 - Indicates that a press was detected on Sensor 2. This sensor can be linked to LED2. Bit 0 - CS1 - Indicates that a press was detected on Sensor 1. This sensor can be linked to LED1. 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 |