Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ST72251 Datasheet(PDF) 6 Page - STMicroelectronics

Part # ST72251
Description  ST7 KEYPAD DECODING TECHNIQUES, IMPLEMENTING WAKE-UP ON KEYSTROKE
PDF  10 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST72251 Datasheet(HTML) 6 Page - STMicroelectronics

Back Button ST72251 Datasheet HTML 2Page - STMicroelectronics ST72251 Datasheet HTML 3Page - STMicroelectronics ST72251 Datasheet HTML 4Page - STMicroelectronics ST72251 Datasheet HTML 5Page - STMicroelectronics ST72251 Datasheet HTML 6Page - STMicroelectronics ST72251 Datasheet HTML 7Page - STMicroelectronics ST72251 Datasheet HTML 8Page - STMicroelectronics ST72251 Datasheet HTML 9Page - STMicroelectronics ST72251 Datasheet HTML 10Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 6 / 10 page
background image
SOFTWARE
6/10
6 SOFTWARE
The assembly code given below is guidance only. The complete software with all the files can
be found in the software library.
st7/
; the first line is reserved
; for specifying the instruction set
; of the target processor
;************************************************************************
; TITLE:
WAKE.ASM
; AUTHOR:
PPG Microcontroller Applications Team
; DESCRIPTION:
Main program (use of the Halt mode for decoding
;
a keypad).
;
;************************************************************************
TITLE
"WAKE.ASM"
; this title will appear on each
; page of the listing file
MOTOROLA
; this directive forces the Motorola
; format for the assembly (default)
#INCLUDE “st72251.inc”; include st72251 registers and memory mapping file
#INCLUDE “constant.inc” ; include general constants file
;***********************************************************************
;
Variables, constants defined and referenced locally
;
You can define your own values for a local reference here
;***********************************************************************
;************************************************************************
;
Public routines (defined here)
;************************************************************************
WORDS
segment 'rom'
.Init
LD
A,#$80
; interrupts are caused by falling edge (on Port C).
LD
MISCR,A
LD
A,#$0F
LD
PBDDR,A
LD
PBOR,A
; PB0 to PB3 configures as outputs(LEDS).
LD
PADDR,A
CLR PAOR
; PA0 to PA3 configured as outputs.
CLR
PADR
LD
A,#$0F



Html Pages

1 2 3 4 5 6 7 8 9 10


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