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

X  

AN980 数据表(PDF) 3 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) 3 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
 3 / 8 page
background image
3/8
ST7 KEYPAD DECODING TECHNIQUES, IMPLEMENTING WAKE-UP ON KEYSTROKE
2 ST72F264 CONFIGURATION
The application has been validated with a ST72F264. Its configuration is described in this part.
Refer to your datasheet for more details.
2.1 I/O CONTROL
Rows are connected to pins configured as inputs (Port C as input with pull up and interrupts).
Columns are connected to pins configured as outputs (Port A).
External interrupts are caused by a low level applied to a pin of Port C (caused by a key
pressed), they wake up the MCU which was in HALT mode.
Port B is configured as outputs to send the value of the pressed key on LEDS.
Please, refer to the Data Book to configure pins properly.
2.2 MISCELLANEOUS REGISTER
Bits 7 and 6 have to be set to configure events correctly: the external interrupt (EI1) has here
to be caused by a falling edge only.
Please, refer to the datasheet for more details.
2.3 HALT MODE
The HALT instruction places the ST72F264 in its lowest power consumption mode. The core
and all peripherals are frozen. In this mode, the internal oscillator is turned off, causing all in-
ternal processing to be halted. The data remain unchanged. During the HALT mode, external
interrupts are still enabled. The MCU stays in this state until an external interrupt or a reset oc-
curs. Then the internal oscillator is restarted and the core waits for 4096 CPU clock cycles
(512 µs for a fCPU = 8MHz) before running the external interrupt subroutine. Then the MCU
comes back to the main program (in our application to the HALT state).
Please, refer to the datasheet for more details.



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