| поискавой системы для электроныых деталей |
|
MPXM2102AS датащи(PDF) 373 Page - Motorola, Inc |
|
|
|||||||||||||||||||||||||||||
MPXM2102AS датащи(HTML) 373 Page - Motorola, Inc |
|
373 / 670 page ![]() AN1305 3–227 Motorola Sensor Device Data www.motorola.com/semiconductors { 0846 A6 25 LDA #$25 adstat = 0x25; /* convert on channel 5 */ 0848 B7 09 STA $09 084A 0F 09 FD BRCLR 7,$09,$084A while (!(adstat & 0x80)); /* wait for a/d to complete */ 084D B6 08 LDA $08 atodtemp = addata + atodtemp; 084F 3F 57 CLR $57 0851 B7 58 STA $58 0853 BB 56 ADD $56 0855 B7 58 STA $58 0857 B6 57 LDA $57 0859 B9 55 ADC $55 085B B7 57 STA $57 085D B7 55 STA $55 085F B6 58 LDA $58 0861 B7 56 STA $56 } 0863 3C 5B INC $5B 0865 20 D7 BRA $083E 0867 B6 56 LDA $56 atodtemp = atodtemp/100; 0869 B7 58 STA $58 086B B6 55 LDA $55 086D B7 57 STA $57 086F 3F 66 CLR $66 0871 A6 64 LDA #$64 0873 B7 67 STA $67 0875 CD 0A 5E JSR $0A5E 0878 CD 0A 8F JSR $0A8F 087B BF 55 STX $55 087D B7 56 STA $56 087F 81 RTS return atodtemp; } /**************************************************************************/ void fixcompare (void) /* sets–up the timer compare for the next interrup */ { 0880 B6 18 LDA $18 q.b.hi =tcnthi; 0882 B7 63 STA $63 0884 B6 19 LDA $19 q.b.lo = tcntlo; 0886 B7 64 STA $64 0888 AB 4C ADD #$4C q.l +=7500; /* ((4mhz xtal/2)/4) = counter period = 2us.*7500 = 15ms.*/ 088A B7 64 STA $64 088C B6 63 LDA $63 088E A9 1D ADC #$1D 0890 B7 63 STA $63 0892 B7 16 STA $16 ocmphi1 = q.b.hi; 0894 B6 13 LDA $13 ac=tsr; 0896 B6 64 LDA $64 ocmplo1 = q.b.lo; 0898 B7 17 STA $17 089A 81 RTS } /*************************************************************************/ void TIMERCMP (void) /* timer service module */ 1FF6 08 9B { 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 |