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

X  

AN980 数据表(PDF) 4 Page - STMicroelectronics

部件名 AN980
功能描述  ST7 KEYPAD DECODING TECHNIQUES
PDF  8 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN980 数据表(HTML) 4 Page - STMicroelectronics

  AN980 Datasheet HTML 1Page - STMicroelectronics AN980 Datasheet HTML 2Page - STMicroelectronics AN980 Datasheet HTML 3Page - STMicroelectronics AN980 Datasheet HTML 4Page - STMicroelectronics AN980 Datasheet HTML 5Page - STMicroelectronics AN980 Datasheet HTML 6Page - STMicroelectronics AN980 Datasheet HTML 7Page - STMicroelectronics AN980 Datasheet HTML 8Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 4 / 8 page
background image
4/8
ST7 KEYPAD DECODING TECHNIQUES, IMPLEMENTING WAKE-UP ON KEYSTROKE
3 EXTERNAL INTERRUPTS
The MCU is in HALT mode. When a key is pressed, a low level is applied to the pin corre-
sponding to the row the key belongs (pins configured as inputs with pull-up). It’s a falling edge
applied to a pin of Port C which creates an external interrupt (EI1) and wakes up the MCU. The
MCU executes then the external interrupt subroutine (decoding the pressed key) and comes
back to its previous state (HALT state in the main program).
4 KEYPAD
The keypad used is a 4x4 matrixed keypad. Rows are connected to pins configured as inputs
with pull-up. So the initial state of these pins are a high level (1). When a key is pressed, a low
level is applied to the corresponding pin. For this reason, the keypad is coded as follows:
Table 1. Key values
KEY
row
value
column
value
KEY
row
value
column
value
1
0x0E
0x0E
7
0x0B
0x0E
2
0x0E
0x0D
8
0x0B
0x0D
3
0x0E
0x0B
9
0x0B
0x0B
F
0x0E
0x07
D
0x0B
0x07
4
0x0D
0x0E
A
0x07
0x0E
5
0x0D
0x0D
0
0x07
0x0D
6
0x0D
0x0B
B
0x07
0x0B
E
0x0D
0x07
C
0x07
0x07
12
3
F
45
6
E
7
8
9
D
A
0
B
C
PC0
PC1
PC2
PC3
PA0
PA1
PA2
PA3



Html Pages

1 2 3 4 5 6 7 8


数据表 下载

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