Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 179 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) 179 Page - STMicroelectronics

Back Button 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 UM0851 Datasheet HTML 183Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 179 / 245 page
background image
UM0851
Human interface device (HID) drivers
Doc ID 16604 Rev 2
179/245
Control Register bits b3 and b2 determine the keypad scanning rate. Each time the timer
count expires, the keypad is scanned. If only one key down is detected and it is the same
key as in the previous scan, a bit is set in the Status register indicating New Key Data. The
code for the key is written to the keyboard value register. Key release is signaled only once.
The keypad encoder initialization is made once only when the application starts (setting the
prescaler load value, keypad enable, scan rate, keypad operation mode). The software then
handles the keypad interrupts.
The following table shows the assignment of the keypad matrix signals on the SPEAr300
PL_GPIO pins.
7.2.2
Software overview
The keypad is a 18-pin interface module that is used to detect the pressed key in an 9x9
(maximum) keypad matrix. The size of the input keypad matrix is software programmable.
The keypad module supports two modes of operation, press-release-press mode and press-
hold mode. Press-release-press mode identifies a press-release-press sequence of a key
as two consecutive presses of the same key. Press-hold mode checks the input key's state
at periodic intervals to determine the number of times the same key has been pressed.
Table 47.
PL GPIO keypad pins
Port Pin
PL_GPIO
Keypad
ROW0
PL_GPIO87
output kbd(row)0
ROW1
PL_GPIO86
output kbd(row)1
ROW2
PL_GPIO85
output kbd(row)2
ROW3
PL_GPIO84
output kbd(row)3
ROW4
PL_GPIO83
output kbd(row)4
ROW5
PL_GPIO82
output kbd(row)5
ROW6
PL_GPIO81
output kbd(row)6
ROW7
PL_GPIO56
output kbd(row)7
ROW8
PL_GPIO55
output kbd(row)8
COLUMN0
PL_GPIO96
Input kbd(column)0
COLUMN1
PL_GPIO95
Input kbd(column)1
COLUMN2
PL_GPIO94
Input kbd(column)2
COLUMN3
PL_GPIO93
Input kbd(column)3
COLUMN4
PL_GPIO92
Input kbd(column)4
COLUMN5
PL_GPIO91
Input kbd(column)5
COLUMN6
PL_GPIO90
Input kbd(column)6
COLUMN7
PL_GPIO89
Input kbd(column)7
COLUMN8
PL_GPIO88
Input kbd(column)8



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