数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

STMPE2401 数据表(PDF) 46 Page - STMicroelectronics

部件名 STMPE2401
功能描述  24-bit Enhanced port expander with Keypad and PWM controller Xpander logic
PDF  55 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STMPE2401 数据表(HTML) 46 Page - STMicroelectronics

Back Button STMPE2401 Datasheet HTML 42Page - STMicroelectronics STMPE2401 Datasheet HTML 43Page - STMicroelectronics STMPE2401 Datasheet HTML 44Page - STMicroelectronics STMPE2401 Datasheet HTML 45Page - STMicroelectronics STMPE2401 Datasheet HTML 46Page - STMicroelectronics STMPE2401 Datasheet HTML 47Page - STMicroelectronics STMPE2401 Datasheet HTML 48Page - STMicroelectronics STMPE2401 Datasheet HTML 49Page - STMicroelectronics STMPE2401 Datasheet HTML 50Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 55 page
background image
Keypad controller
STMPE2401
46/55
13.7.1
Resistance
Maximum resistance between keypad output and keypad input, inclusive of switch
resistance, protection circuit resistance and connection, must be less than 3.2 K
13.7.2
Using the keypad controller
Before enabling the keypad controller operation, proper setup should be done by configuring
the input and output ports involved. This is achieved by programming the corresponding
GPIO control registers that determine the port direction and the necessary internal pull-up
or pull-down. For the GPIO ports that are used as keypad inputs, internal pull-up should be
enabled. For those that are used as keypad outputs, no internal pull-up or pull-down should
be enabled.
The scanning of column inputs should then be enabled for those GPIO ports that are
configured as keypad inputs by writing ‘1’s to the corresponding bits in the KPC_col register.
If any of the first three column inputs is to be used as dedicated key input, the corresponding
bits in the KPC_ctrl_msb register should be set to ‘1’. The bits in the KPC_row_msb and
KPC_row_lsb registers should also be set correctly to enable the row output scanning for
the corresponding GPIO ports programmed as keypad outputs.
The scan count and de-bounce count should also be programmed into the keypad control
registers before enabling the keypad controller operation. To enable the keypad controller
operation, the Enable_KPC bit in the system control register must be set to ‘1’ to provide the
required clock signals. The keypad controller will then start its operation by setting the
SCAN bit in the KPC_ctrl_lsb register to ‘1’.
The keypad controller operation can be disabled by setting the SCAN bit back to ‘0’. To
further reduce the power consumption, the clock signals can be cut off from the keypad
controller by setting the Enable_KPC bit to ‘0’.
ScanCount value is programmable to any value between 1-15 by writing into the scancount
register. If scan count is programmed to N, the Keypad Controller scans the entire matrix for
N times, collecting up to 2 matrix key and 4 dedicated keys, loads the keys into 1 set of
keypad data buffer and interrupts the host system.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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