Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

MPXM2102AS Datasheet(PDF) 556 Page - Motorola, Inc

Part # MPXM2102AS
Description  Sensor
PDF  670 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MOTOROLA [Motorola, Inc]
Direct Link  http://www.freescale.com
Logo MOTOROLA - Motorola, Inc

MPXM2102AS Datasheet(HTML) 556 Page - Motorola, Inc

Back Button MPXM2102AS Datasheet HTML 552Page - Motorola, Inc MPXM2102AS Datasheet HTML 553Page - Motorola, Inc MPXM2102AS Datasheet HTML 554Page - Motorola, Inc MPXM2102AS Datasheet HTML 555Page - Motorola, Inc MPXM2102AS Datasheet HTML 556Page - Motorola, Inc MPXM2102AS Datasheet HTML 557Page - Motorola, Inc MPXM2102AS Datasheet HTML 558Page - Motorola, Inc MPXM2102AS Datasheet HTML 559Page - Motorola, Inc MPXM2102AS Datasheet HTML 560Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 556 / 670 page
background image
AN1950
3–410
Motorola Sensor Device Data
www.motorola.com/semiconductors
bclr
5,porta
;LEDs off
lda
#$0A
;prepare to do this 10x
tenx:
jsr
del25ms
;delay
bclr
4,porta
bset
5,porta
;alternate on/off
jsr
del25ms
bset
4,porta
bclr
5,porta
;and off/on
dbnza
tenx
;10 times so the LCD can get ready (slow startup)
jsr
lcdinit
;now initialize it
bclr
4,porta
bclr
5,porta
;LEDs off
rts
;– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
bintasc:
add
#$30
;add $30 (0–9 offset)
cmp
#$39
;is it a number (0–9) ?
bls
d0to9b
;if so skip
add
#$07
;else add $07 = total of $37 (A–F offset)
d0to9b:
rts
;– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
del1s:
pshh
pshx
ldhx
#$C350
bra
delmain
del100ms: pshh
pshx
ldhx
#$1388
bra
delmain
del50ms:
pshh
pshx
ldhx
#$09C4
bra
delmain
del25ms:
pshh
pshx
ldhx
#$04E2
bra
delmain
del5ms:
pshh
pshx
ldhx
#$00FA
bra
delmain
del1ms:
pshh
pshx
ldhx
#$0032
bra
delmain
del100us: pshh
pshx
ldhx
#$0005
bra
delmain
delmain:
mov
#$36,tsc
;stop TIM & / 64
sthx
tmodh
;count H:X x 20us
bclr
5,tsc
;start clock
delwait:
brclr
7,tsc,delwait
pulx
pulh
rts
;–––––––– A/D Routines ––––––––––––––––––––––––––––––––––––––––––––––
adcbyti:
mov
#$00,adscr
;ADC set to PTA0
brclr
7,adscr,*
;wait for ADC reading
lda
adr
rts
;;;;;;;;;;;;;;;;;;;;;;;;;;
adcbyta;
clr
CNT
;average 256 readings
clr
RB
clr
RA
do256a:
bsr
adcbyti
add
RA
sta
RA
lda
RB
adc
#$00
sta
RB
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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