| Electronic Components Datasheet Search |
|
UM0851 Datasheet(PDF) 178 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0851 Datasheet(HTML) 178 Page - STMicroelectronics |
|
178 / 245 page ![]() Human interface device (HID) drivers UM0851 178/245 Doc ID 16604 Rev 2 Note: Both CONFIG_INPUT_TOUCHSCREEN and CONFIG_TOUCHSCREEN_SPEAR must be defined. – CONFIG_TOUCHSCREEN_SPEAR is visible only if CONFIG_INPUT_TOUCHSCREEN is defined. – CONFIG_INPUT_TOUCHSCREEN selects the touchscreen. – CONFIG_TOUCHSCREEN_SPEAR selects the SPEAr device for touchscreen. 7.1.5 References ● Linux-2.6.27/Documentation/input/input.txt ● Linux-2.6.27/Documentation/input/input-programming.txt 7.2 Keypad driver This section describes the keypad controller driver. This controller and driver are present on SPEAr300 only. 7.2.1 Hardware overview SPEAr300 has a GPIO/keypad block which is a two-mode input and output port. In summary, it provides: ● 18-bit general-purpose parallel port with input or output single pin programmability ● 81-key keypad (9x9 matrix) The selection between the two modes is a programmable bit. The mode control bits in the mode control register must be set to [00] to enable the keypad mode. When the keypad mode is selected, it is possible to read the value of the externally connected keyboard, scanned at programmed rate. The keypad may contain up to 81 keys. Eighteen (18) port pins provide a 9x9 scanning matrix. Nine (9) of the pins are strobes and nine (9) of the pins are inputs. The circuitry scans the keys at a rate of 10, 20, 40 or 80 ms, controlled by the software. Two successive cycles are needed to validate a key. Only one key is allowed to be down in a scan cycle. Each valid key condition causes the value of the key to be written to a register and an interrupt to be set. The key value is coded on eight bits. The lower nibble refers to the column number (0, 1,2…8) while the higher nibble gives the row number (0,1, 2…8) of the pressed key. CONFIG_TOUCHSCREEN_SPEAR This option enables the SPEAr touchscreen device. CONFIG_TOUCHSCREEN_SPEAR_DEBUG This option enables debug prints for the SPEAr touchscreen device. CONFIG_INPUT_EVDEV This option make input device events be accessible under char device 13:64+ - /dev/input/eventX in a generic way Table 46. Configuration options (continued) Configuration option Comment |
|
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 |