Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

MPXM2102AS Datasheet(PDF) 548 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) 548 Page - Motorola, Inc

Back Button MPXM2102AS Datasheet HTML 544Page - Motorola, Inc MPXM2102AS Datasheet HTML 545Page - Motorola, Inc MPXM2102AS Datasheet HTML 546Page - Motorola, Inc MPXM2102AS Datasheet HTML 547Page - Motorola, Inc MPXM2102AS Datasheet HTML 548Page - Motorola, Inc MPXM2102AS Datasheet HTML 549Page - Motorola, Inc MPXM2102AS Datasheet HTML 550Page - Motorola, Inc MPXM2102AS Datasheet HTML 551Page - Motorola, Inc MPXM2102AS Datasheet HTML 552Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 548 / 670 page
background image
AN1950
3–402
Motorola Sensor Device Data
www.motorola.com/semiconductors
RB
ds
1
RA
ds
1
P0C
ds
1
P0B
ds
1
P0A
ds
1
NPTR
ds
1
ramfree
ds
80
;used both for running RAM version of wrflash & storing 40 readings
;__________________________________________________________
;__________________________________________________________
org
rom
cold:
rsp
jsr
ALLINIT
;general initialization
jsr
WARMUP
;give LCD extra time to initialize
brset
1,porta,nocalib
brset
2,porta,nocalib
jmp
CALIB
;do calibration if SEL & ENT at reset
nocalib:
ldhx
#msg01
;otherwise skip and show welcome messages
jsr
lcdstro
;”Reference Design” msg
jsr
del1s
ldhx
#msg01a
;”Water Level” msg
jsr
lcdstro
jsr
del1s
MENU:
ldhx
#msg01b
jsr
lcdstro
clr
RA
;menu choice=0 to begin with
lda
#$0D
jsr
lcdcmdo
;blink cursor on menu choice
luke:
ldx
RA
;get current menu choice
clrh
lda
menupos,x
;and look up corresponding LCD address
jsr
lcdcmdo
warm:
brclr
1,porta,PB1
;wait for SEL
brclr
2,porta,PB2
;or for ENT
bclr
4,porta
bset
5,porta
;toggle LEDs
jsr
del100ms
;delay
bset
4,porta
bclr
5,porta
;toggle again: SEL ***or*** ENT
jsr
del100ms
;delay and repeat until SEL or ENT
bra
warm
PB1:
inc
RA
;***SEL*** toggles menu choices
lda
RA
cmp
#$02
;menu choices are $00 and $01
blt
PB1ok
cmp
#$03
bgt
menureset
; shift up and display 3
MENU2:
ldhx
#msg01c
jsr
lcdstro
menureset:
clr
RA
;back to $00 when all others have been offered
PB1ok:
bclr
4,porta
bclr
5,porta
;LEDs off
jsr
del100ms
;wait a little bit
brclr
1,porta,PB1ok
;make sure they let go of SEL
bra
luke
PB2:
bclr
4,porta
;***ENT*** confirms menu choice
bclr
5,porta
;LEDs off
lda
RA
;get menu choice
cmpa
#$00
bne
skip00
jmp
LEVEL
;do ===LEVEL=== if choice=$00
skip00:
cmpa
#$01
bne
skip01
jmp
UNITS
;do ===UNITS=== if choice=$01
skip01:
cmpa
#$02
bne
skip02
;do ==MANCALIB= if choice=$02
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