Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

MPXM2102AS Datasheet(PDF) 110 Page - Motorola, Inc

No. de pieza MPXM2102AS
Descripción Electrónicos  Sensor
PDF  670 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  MOTOROLA [Motorola, Inc]
Página de inicio  http://www.freescale.com
Logo MOTOROLA - Motorola, Inc

MPXM2102AS Datasheet(HTML) 110 Page - Motorola, Inc

Back Button MPXM2102AS Datasheet HTML 106Page - Motorola, Inc MPXM2102AS Datasheet HTML 107Page - Motorola, Inc MPXM2102AS Datasheet HTML 108Page - Motorola, Inc MPXM2102AS Datasheet HTML 109Page - Motorola, Inc MPXM2102AS Datasheet HTML 110Page - Motorola, Inc MPXM2102AS Datasheet HTML 111Page - Motorola, Inc MPXM2102AS Datasheet HTML 112Page - Motorola, Inc MPXM2102AS Datasheet HTML 113Page - Motorola, Inc MPXM2102AS Datasheet HTML 114Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 110 / 670 page
background image
AN1611
2–74
Motorola Sensor Device Data
www.motorola.com/semiconductors
DIVIDE
INC
RSHIFT
; Increase the right counter
LSR
PRESHI2
ROR
PRESHI
; Right shift the high byte
ROR
PRESLO
; Right shift the low byte
LDA
RSHIFT
CMP
NO_SHIFT
; If the right shift counter >= NO_SHIFT
BHS
ENDDIVIDE
; End the shifting
JMP
DIVIDE
; otherwise continue the shifting
ENDDIVIDE
LDA
PRESLO
STA
PTEMPLO
RTS
******************************************
*
*
*
Timer service interrupt
*
*
Alternates the Port data and
*
*
backplane of LCD
*
*
*
******************************************
TIMERCMP
STA
TEMP2
; Push Accumulator
COM
PORTC
; Port C = – (Port C)
COM
PORTB
; Port B = – (Port B)
COM
PORTA
; Port A = – (Port A)
LDA
START_TIME
; Start to count down the hold time
CMP
#$FF
; if START_TIME = FF
BNE
SKIP_TIME
JSR
CHECK_HOLD
SKIP_TIME
BSR
COMPRGT
; Branch to subroutine compare register
LDA
TEMP2
; Pop Accumulator
RTI
******************************************
*
*
*
Check whether the hold time
*
*
of crash impact is due
*
*
*
******************************************
CHECK_HOLD
DEC
HOLD_CNT
LDA
HOLD_CNT
CMP
#$00
; Is the hold time up?
BNE
NOT_YET
LDA
#$00
; If yes,
STA
PLMA
; stop buzzer
LDA
#$FF
; Set HOLD_DONE to FF indicate that the
STA
HOLD_DONE
; hold time is up
CLR
START_TIME
; Stop the counting down of hold time
NOT_YET
RTS
******************************************
*
*
*
Subroutine reset
*
*
the timer compare register
*
*
*
******************************************
COMPRGT
LDA
TCNTHI
; Read Timer count register
STA
TEMPTCNTHI
; and store it in the RAM
LDA
TCNTLO
STA
TEMPTCNTLO
ADD
#$4C
; Add 1D4C H = 7500 periods
STA
TEMPTCNTLO
; with the current timer count
LDA
TEMPTCNTHI
; 1 period = 2 us
ADC
#$1D
STA
TEMPTCNTHI
; Save the next count to the register
STA
OCMPHI1
LDA
TSTATUS
; Clear the output compare flag
LDA
TEMPTCNTLO
; by access the timer status register
STA
OCMPLO1
; and then access the output compare
RTS
; register
******************************************
*
*
*
Determine which is the next
*
*
acceleration value to be display
*
*
*
******************************************
MAXVALUE
LDA
PTEMPLO
CMP
MAXACC
; Compare the current acceleration with
BLS
OLDMAX
; the memory, branch if it is <= maxacc
BRA
NEWMAX1
OLDMAX
LDA
HOLD_DONE
; Decrease the Holdtime when
CMP
#$FF
; the maximum value remain unchanged
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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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