Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN431 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN431
Description  Using ST6 analog inputs for multiple key decoding
Download  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN431 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN431 Datasheet HTML 3Page - STMicroelectronics AN431 Datasheet HTML 4Page - STMicroelectronics AN431 Datasheet HTML 5Page - STMicroelectronics AN431 Datasheet HTML 6Page - STMicroelectronics AN431 Datasheet HTML 7Page - STMicroelectronics AN431 Datasheet HTML 8Page - STMicroelectronics AN431 Datasheet HTML 9Page - STMicroelectronics AN431 Datasheet HTML 10Page - STMicroelectronics AN431 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 15 page
background image
ANALOG KEYBOARD
7/15
;**************************************************************************
;*
*
*
;*
SGS-THOMSON GRAFING
*
;*
*
;*
APPLICATION NOTE 431
-
ST6
*
*
;*
*
;*
Use of ADC inputs for multiple key decoding
*
;*
*
*
;*
With the inbuilt A/D converter of any ST6 it is easy to
*
;*
implement a small routine which enables ONE port pin, con-
*
;*
figured as an ADC input, to decode up to ten different switches*
**
;*
All that is necessary is to set one port pin as an ADC input
*
;*
Then the program runs in an endless loop until one of the
*
*
;*
connected keys is pushed.
*
*
;*
The value from the ADC data register is then used to decide
*
;*
how the program will continue,on reaction to the key-push.
*
*
;*
*
;**************************************************************************
;***REGISTERS***
ddrpb
.def
0c5h
;port B data direction register
orpb
.def
0cdh
;port B option register
drpb
.def
0c1h
;port B data register
adr
.def
0d0h
;A/D data register
adcr
.def
0d1h
;A/D control register
a
.def
0ffh
;accumulator
;***CONSTANTS***
inpall
.equ
000h
;used for setting all pins input
peg1_2
.equ
00ch
;border to distinguish between switch1 and switch2
peg2_3
.equ
025h
;border to distinguish between switch2 and switch3
peg3_4
.equ
03eh
;border to distinguish between switch3 and switch4
peg4_5
.equ
058h
;border to distinguish between switch4 and switch5
peg5_6
.equ
072h
;border to distinguish between switch5 and switch6
peg6_7
.equ
08ch
;border to distinguish between switch6 and switch7
peg7_8
.equ
0a5h
;border to distinguish between switch7 and switch8
peg8_9
.equ
0beh
;border to distinguish between switch8 and switch9
APPENDIX A: Key Input by Polling


Similar Part No. - AN431

ManufacturerPart #DatasheetDescription
logo
BCD Semiconductor Manuf...
AN431 BCDSEMI-AN431 Datasheet
130Kb / 14P
   ADJUSTABLE PRECISION SHUNT REGULATORS
logo
Diodes Incorporated
AN431 DIODES-AN431 Datasheet
361Kb / 13P
   ADJUSTABLE PRECISION SHUNT REGULATORS
logo
STMicroelectronics
AN4310 STMICROELECTRONICS-AN4310 Datasheet
181Kb / 8P
   Sampling capacitor selection guide for MCU based touch sensing applications
AN4312 STMICROELECTRONICS-AN4312 Datasheet
978Kb / 36P
   Guidelines for designing touch sensing applications with surface sensors
AN4313 STMICROELECTRONICS-AN4313 Datasheet
232Kb / 15P
   Guidelines for designing touch sensing applications Guidelines for designing touch sensing applications
More results

Similar Description - AN431

ManufacturerPart #DatasheetDescription
logo
Realtek Semiconductor C...
ALC5627 REALTEK-ALC5627 Datasheet
876Kb / 49P
   I2S/PCM STEREO DAC MULTIPLE ANALOG INPUTS, HEADPHONE
logo
NXP Semiconductors
SAA7341 PHILIPS-SAA7341 Datasheet
1,002Kb / 28P
   COMS Digital decoding IC for Compact Disc
November 1991
logo
Maxim Integrated Produc...
DG120XEVKIT MAXIM-DG120XEVKIT Datasheet
860Kb / 11P
   SMA Connectors for Analog Inputs and Outputs
Rev 0; 9/20
DG1208EVKIT MAXIM-DG1208EVKIT Datasheet
1Mb / 12P
   SMA Connectors for Analog Inputs and Outputs
Rev 0; 11/20
MAX77655EVKIT MAXIM-MAX77655EVKIT Datasheet
3Mb / 22P
   Evaluation of Multiple On-Key Options
Rev 0; 8/20
logo
STMicroelectronics
ST6-EMU2 STMICROELECTRONICS-ST6-EMU2 Datasheet
48Kb / 4P
   ST6-EMU2 emulator
logo
NXP Semiconductors
TDA8446 PHILIPS-TDA8446 Datasheet
106Kb / 16P
   Fast RGB/YC switch for digital decoding
1995 Feb 16
logo
Analog Microelectronics
AS3336G AME-AS3336G Datasheet
423Kb / 25P
   Precision Multiple Analog Switches
logo
Motorola, Inc
AN1062 MOTOROLA-AN1062 Datasheet
609Kb / 11P
   Using the QSPI for Analog Data Acquisition
logo
STMicroelectronics
ST6-EPB STMICROELECTRONICS-ST6-EPB Datasheet
48Kb / 3P
   ST6 EPROM programmers
October 2010 Rev 1
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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