| Electronic Components Datasheet Search |
|
MAX7348 Datasheet(PDF) 14 Page - Maxim Integrated Products |
|
|
|||||||||||||||||||||||||||||
MAX7348 Datasheet(HTML) 14 Page - Maxim Integrated Products |
|
14 / 29 page ![]() 2-Wire Interfaced Low-EMI Key Switch and Sounder Controllers 14 ______________________________________________________________________________________ Key-Scan Registers Eight key-scan registers are described in the following sections. Keys FIFO Register The keys FIFO register contains the information pertain- ing to the status of the keys FIFO, as well as the key- press events that have been debounced (Table 8). Bits D0 to D5 denote which of the 64 keys have been debounced and the keys are numbered as in Table 2 and Figure 1. D6 indicates whether the present debounced key is the last one in the FIFO, with 1 denoting that there are more keys after the present one, and 0 denoting that the present debounced key is the last one stored in the FIFO. D7 is the overflow flag, which denotes whether the keys FIFO has overflowed. Reading the key-scan FIFO clears the interrupt INT. INT is only reasserted after the FIFO has been emptied by performing enough read operations. Debounce Register The debounce register sets the time for each debounce cycle, as well as setting whether the GPO ports are enabled or disabled. Bits D0 through D4 set the debounce time in increments of 1ms starting at 9ms and ending at 40ms (Table 9). Bits D5 through D7 set which one of the GPO ports is to be enabled. Note that not any port can be enabled at a particular time. The GPO ports can be enabled only in the combinations shown in Table 9, from all disabled to all enabled. Autorepeat Register The autorepeat register sets the autorepeat frequency (repeat rate) and its delay. The autorepeat function allows a key to be consecutively asserted when the key itself is pressed down without being released. The autorepeat delay specifies the delay between the first press and the beginning of the autorepeating, provided that the key has not been released. The autorepeat frequency specifies how fast the continuously pressed-down key to be assert- ed once autorepeating has started is. Bits D0 through D3 specify the autorepeat delay in terms of debounce cycles REGISTER ADDRESS CODE (hex) REGISTER DATA D7 D6 D5 D4 D3 D2 D1 D0 DEBOUNCE REGISTER 0x01 PORTS ENABLE DEBOUNCE TIME Debounce time is 9ms 0x01 X X X 0000 0 Debounce time is 10ms 0x01 X X X 0000 1 Debounce time is 11ms 0x01 X X X 0001 0 Debounce time is 12ms 0x01 X X X 0001 1 All the way through to 0x01 X X X ———— — Debounce time is 37ms 0x01 X X X 1110 0 Debounce time is 38ms 0x01 X X X 1110 1 Debounce time is 39ms 0x01 X X X 1111 0 Debounce time is 40ms 0x01 X X X 1111 1 GPO ports disabled (full key-scan functionality) 0x01 0 0 0 XXXX X GPO port 7 enabled 0x01 0 0 1 XXXX X GPO ports 7 and 6 enabled 0x01 0 1 0 XXXX X GPO ports 7, 6, and 5 enabled 0x01 0 1 1 XXXX X GPO ports 7, 6, 5, and 4 enabled 0x01 1 0 0 XXXX X GPO ports 7, 6, 5, 4, and 3 enabled 0x01 1 0 1 XXXX X GPO ports 7, 6, 5, 4, 3, and 2 enabled 0x01 1 1 XXXXX X Power-up default setting 0x01 1 111111 1 Table 9. Debounce Register Format |
|
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 |