Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 178 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 178 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 174Page - STMicroelectronics UM0851 Datasheet HTML 175Page - STMicroelectronics UM0851 Datasheet HTML 176Page - STMicroelectronics UM0851 Datasheet HTML 177Page - STMicroelectronics UM0851 Datasheet HTML 178Page - STMicroelectronics UM0851 Datasheet HTML 179Page - STMicroelectronics UM0851 Datasheet HTML 180Page - STMicroelectronics UM0851 Datasheet HTML 181Page - STMicroelectronics UM0851 Datasheet HTML 182Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 178 / 245 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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