数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MPXM2202GS 数据表(PDF) 119 Page - Motorola, Inc

部件名 MPXM2202GS
功能描述  Sensor
PDF  670 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MOTOROLA [Motorola, Inc]
网页  http://www.freescale.com
标志 MOTOROLA - Motorola, Inc

MPXM2202GS 数据表(HTML) 119 Page - Motorola, Inc

Back Button MPXM2202GS Datasheet HTML 115Page - Motorola, Inc MPXM2202GS Datasheet HTML 116Page - Motorola, Inc MPXM2202GS Datasheet HTML 117Page - Motorola, Inc MPXM2202GS Datasheet HTML 118Page - Motorola, Inc MPXM2202GS Datasheet HTML 119Page - Motorola, Inc MPXM2202GS Datasheet HTML 120Page - Motorola, Inc MPXM2202GS Datasheet HTML 121Page - Motorola, Inc MPXM2202GS Datasheet HTML 122Page - Motorola, Inc MPXM2202GS Datasheet HTML 123Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 119 / 670 page
background image
AN1612
2–83
Motorola Sensor Device Data
www.motorola.com/semiconductors
DONE
JMP
DONE
; End
SILENCE
BRSET
7,PORTB,SILENCE
; Sample switch S2 for stopping LED
SEI
BCLR
3,PORTB
; Turn off LED
JMP
DONE
; End
******************************************
*
*
*
Timer service interrupt
*
*
Alternates the PLMA data
*
*
and bit 3 of Port B
*
*
*
******************************************
TIMERCMP
BSR
COMPRGT
; Branch to subroutine compare register
BRSET
1,PORTB,SKIPBUZZER
; Branch if J1 is OFF
LDA
PLMA
EOR
#$80
; Alternate the buzzer
STA
PLMA
RTI
SKIPBUZZER
BRSET
3,PORTB,OFF_LED
; Alternate LED supply
BSET
3,PORTB
RTI
OFF_LED
BCLR
3,PORTB
RTI
******************************************
*
*
*
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
#$50
; Add C350 H = 50,000 periods
STA
TEMPTCNTLO
; with the current timer count
LDA
TEMPTCNTHI
; 1 period = 2 us
ADC
#$C3
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 register
RTS
******************************************
*
*
*
Delay Subroutine for 0.20 sec
*
*
*
*
Input: None
*
*
Output: None
*
*
*
******************************************
DLY20
STA
STACK+2
STX
STACK+3
LDA
#!40
; 1 unit = 0.7725 mS
OUTLP
CLRX
INNRLP
DECX
BNE
INNRLP
DECA
BNE
OUTLP
LDX
STACK+3
LDA
STACK+2
RTS
******************************************
*
*
*
This subroutine provides services
*
*
for those unintended interrupts
*
*
*
******************************************
SWI
RTI
; Software interrupt return
IRQ
RTI
; Hardware interrupt
TIMERCAP
RTI
; Timer input capture
TIMERROV
RTI
; Timer overflow interrupt
SCI
RTI
; Serial communication Interface Interrupt
ORG
$3FF2
; For 68HC05B16, the vector location
FDB
SCI
; starts at 3FF2
FDB
TIMERROV
; For 68HC05B5, the address starts at 1FF2
FDB
TIMERCMP
FDB
TIMERCAP
FDB
IRQ
FDB
SWI
FDB
RESET
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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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