| Electronic Components Datasheet Search |
|
LM8330 Datasheet(PDF) 12 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LM8330 Datasheet(HTML) 12 Page - Texas Instruments |
|
12 / 54 page ![]() LM8330 SNVS839A – JUNE 2012 – REVISED MARCH 2013 www.ti.com KEYSCAN OPERATION KEYSCAN INITIALIZATION Figure 4. Keyscan Initialization KEYSCAN INITIALIZATION EXAMPLE Table 4 shows all the LM8330 register configurations to initialize keyscan: • Keypad matrix configuration is 8 rows x 8 columns. Table 4. Keyscan Initialization Example Register name adress Access Type Value Comment KBDSETTLE 0x01 byte 0x80 Set the keyscan settle time to 12 msec. KBDBOUNCE 0x02 byte 0x80 Set the keyscan debounce time to 12 msec. KBDSIZE 0x03 byte 0x88 Set the keyscan matrix size to 8 rows x 8 columns. KBDDEDCFG 0x04 word 0xFC3F Configure KPX[7:2] and KPY[7:2] pins as keyboard matrix. IOCFG 0xA7 byte 0xF8 Write default value to enable all pins as keyboard matrix. IOPC0 0xAA word 0xAAAA Configure pullup resistors for KPX[7:0]. IOPC1 0xAC word 0x5555 Configure pulldown resistors for KPY[7:0]. KBDIC 0x08 byte 0x03 clear any pending interrupts. KBDMSK 0x09 byte 0x03 Enable keyboard interrupts. CLKEN 0x8A byte 0x01 Enable keyscan clock. 12 Submit Documentation Feedback Copyright © 2012–2013, Texas Instruments Incorporated 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 |