| поискавой системы для электроныых деталей |
|
MPXM2102AS датащи(PDF) 375 Page - Motorola, Inc |
|
|
|||||||||||||||||||||||||||||
MPXM2102AS датащи(HTML) 375 Page - Motorola, Inc |
|
375 / 670 page ![]() AN1305 3–229 Motorola Sensor Device Data www.motorola.com/semiconductors 08EA A6 40 LDA #$40 tcr = 0x40; 08EC B7 12 STA $12 08EE 9A CLI CLI; /* let the interrupts begin ! */ /* write CAL to the display */ 08EF A6 CC LDA #$CC portc = 0xcc; /* C */ 08F1 B7 02 STA $02 08F3 A6 BE LDA #$BE portb = 0xbe; /* A */ 08F5 B7 01 STA $01 08F7 A6 C4 LDA #$C4 porta = 0xc4; /* L */ 08F9 B7 00 STA $00 08FB AD A7 BSR $08A4 adzero(); 08FD 81 RTS } /**************************************************************************/ void cvt_bin_dec(unsigned long arg) /* First converts the argument to a five digit decimal value. The msd is in the lowest address. Then leading zero suppresses the value and writes it to the display ports. The argument value range is 0..65535 decimal. */ 0069 { 08FE BF 69 STX $69 0900 B7 6A STA $6A 006B char i; 006C unsigned long l; 0902 4F CLRA for ( i=0; i < 5; ++i ) 0903 B7 6B STA $6B 0905 B6 6B LDA $6B 0907 A1 05 CMP #$05 0909 24 07 BCC $0912 { 090B 97 TAX digit[i] = 0x0; /* put blanks in all digit positions */ 090C 6F 50 CLR $50,X } 090E 3C 6B INC $6B 0910 20 F3 BRA $0905 0912 4F CLRA for ( i=0; i < 4; ++i ) 0913 B7 6B STA $6B 0915 B6 6B LDA $6B 0917 A1 04 CMP #$04 0919 24 70 BCC $098B { 091B 97 TAX if ( arg >= dectable [i] ) 091C 58 LSLX 091D D6 08 0B LDA $080B,X 0920 B1 6A CMP $6A 0922 26 07 BNE $092B 0924 D6 08 0A LDA $080A,X 0927 B1 69 CMP $69 0929 27 5C BEQ $0987 { 092B BE 6B LDX $6B l = dectable[i]; 092D 58 LSLX 092E D6 08 0A LDA $080A,X 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 |