| поискавой системы для электроныых деталей |
|
MPXM2102AS датащи(PDF) 372 Page - Motorola, Inc |
|
|
|||||||||||||||||||||||||||||
MPXM2102AS датащи(HTML) 372 Page - Motorola, Inc |
|
372 / 670 page ![]() AN1305 3–226 Motorola Sensor Device Data www.motorola.com/semiconductors /**************************************************************************/ /* code starts here */ /**************************************************************************/ /* these interrupts are not used...give them a graceful return if for some reason one occurs */ 1FFC 08 12 __SWI(){} 0812 80 RTI 1FFA 08 13 IRQ(){} 0813 80 RTI 1FF8 08 14 TIMERCAP(){} 0814 80 RTI 1FF4 08 15 TIMEROV(){} 0815 80 RTI 1FF2 08 16 SCI(){} 0816 80 RTI /**************************************************************************/ void delay(void) /* just hang around for a while */ { 0817 4F CLRA for (i=0; i<20000; ++i); 0818 3F 57 CLR $57 081A B7 58 STA $58 081C B6 57 LDA $57 081E B7 5E STA $5E 0820 B6 58 LDA $58 0822 B7 5F STA $5F 0824 B6 5F LDA $5F 0826 A0 20 SUB #$20 0828 B6 5E LDA $5E 082A A2 4E SBC #$4E 082C 24 08 BCC $0836 082E 3C 5F INC $5F 0830 26 02 BNE $0834 0832 3C 5E INC $5E 0834 20 EE BRA $0824 0836 81 RTS } /**************************************************************************/ read_a2d(void) { /* read the a/d converter on channel 5 and accumulate the result in atodtemp */ 0837 3F 56 CLR $56 atodtemp=0; /* zero for accumulation */ 0839 3F 55 CLR $55 083B 4F CLRA for ( adcnt = 0 ; adcnt<100; ++adcnt) /* do 100 a/d conversions */ 083C B7 5B STA $5B 083E B6 5B LDA $5B 0840 A8 80 EOR #$80 0842 A1 E4 CMP #$E4 0844 24 21 BCC $0867 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |