| 数据搜索系统,热门电子元器件搜索 |
|
MPXM2202GS 数据表(PDF) 112 Page - Motorola, Inc |
|
|
|||||||||||||||||||||||||||||
MPXM2202GS 数据表(HTML) 112 Page - Motorola, Inc |
|
112 / 670 page ![]() AN1611 2–76 Motorola Sensor Device Data www.motorola.com/semiconductors STARTTEN CLRX ; Start to search for ten digit LOOP10 LDA DECLO ; acceleration = acceleration – 10 SUB TENLO STA DECLO LDA DECHI SBC TENHI STA DECHI INCX BCC LOOP10 ; if acceleration >= 10 continue the DECX ; loop, otherwise end LDA DECLO ; acceleration = acceleration + 10 ADD TENLO STA DECLO LDA DECHI ADC TENHI STA DECHI LDA $0300,X ; Output the last second digit EOR SIGN ; Display the sign STA PORTB CLRX ; Start to search for the last digit LDA DECLO ; declo = declo – 1 TAX LDA $0300,X ; Output the last digit EOR #$01 ; Add a decimal point in the display STA PORTA CLI ; Enable Interrupt again ! 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 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 FDB TIMERCMP ; 1FF2 FDB TIMERCAP FDB IRQ FDB SWI FDB RESET Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |