| Electronic Components Datasheet Search |
|
LM8330 Datasheet(PDF) 21 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LM8330 Datasheet(HTML) 21 Page - Texas Instruments |
|
21 / 54 page ![]() LM8330 www.ti.com SNVS839A – JUNE 2012 – REVISED MARCH 2013 Table 23. KBDIC - Keypad Interrupt Clear Register (continued) Register - Name Address Default Register Function Switches off scanning of special function (SF) keys, when keyboard has no special function layout: SFOFF 7 0: keyboard layout and SF keys are scanned 1: only keyboard layout is scanned, SF keys are not scanned (reserved) 6:2 (reserved) Clear EVTCODE FIFO and corresponding interrupts REVTINT and RELINT by writing a 1 to this bit position. Note: Any key data in the EVTCODE FIFO will be lost when this bit is set; EVTIC 1 it is the users responsibility to ensure that all key data is read prior to asserting this bit. If a key is pressed while EVTIC is asserted/de-asserted the EVTCODE FIFO will be updated with only the key release code when the key is released. Clear RSINT and RKLINT interrupt bits by writing a '1' to this bit position. KBDIC 0 Note The KBDCODE registers are not cleared when setting this bit. KBDMSK - Keypad Interrupt Mask Register Table 24. KBDMSK - Keypad Interrupt Mask Register Register - Name Address Type Register Function Configures masking of keyboard interrupts. Masked interrupts do not trigger an event on the Interrupt output. In case the interrupt processes registers KBDCODE[3:0], MSKELINT and KBDMSK 0x09 R/W MSKEINT should be set to '1'. When the Event FIFO is processed, MSKLINT and MSKSINT should be set. For keyboard polling operations, all bits should be set and the polling operation consists of reading out the IRQST. Bit - Name Bit Default Bit Function (reserved) 7:4 (reserved) 0: keyboard event lost interrupt RELINT triggers IRQ line MSKELINT 3 0x0 1: keyboard event lost interrupt RELINT is masked 0: keyboard event interrupt REVINT triggers IRQ line MSKEINT 2 0x0 1: keyboard event interrupt REVINT is masked 0: keyboard lost interrupt RKLINT triggers IRQ line MSKLINT 1 0x1 1: keyboard lost interrupt RKLINT is masked 0: keyboard status interrupt RSINT triggers IRQ line MSKSINT 0 0x1 1: keyboard status interrupt RSINT is masked KEYBOARD CODE DETECT REGISTERS The key code detected by the keyboard scan can be read from the registers KBDCODE0: KBDCODE3. Up to 4 keys can be detected simultaneously. Each KBDCODE register includes a bit (MULTIKEY) indicating if another key has been detected. NOTE Reading out all key code registers (KBDCODE0 to KBDCODE3) will automatically reset the keyboard scan interrupt RSINT the same way as an active write access into bit KBDIC of the interrupt clear register does. Reading 0x7F from the KBDCODE0 register means that no key was pressed. Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback 21 Product Folder Links: LM8330 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |