| поискавой системы для электроныых деталей |
|
MPXM2102AS датащи(PDF) 396 Page - Motorola, Inc |
|
|
|||||||||||||||||||||||||||||
MPXM2102AS датащи(HTML) 396 Page - Motorola, Inc |
|
396 / 670 page ![]() AN1315 3–250 Motorola Sensor Device Data www.motorola.com/semiconductors 6805 ’C’ COMPILER V3.48 16–Oct–1991 PAGE 1 #pragma option f0; /* THE FOLLOWING ’C’ SOURCE CODE IS WRITTEN FOR THE DEVB158 EVALUATION BOARD. IT WAS COMPILED WITH A COMPILER COURTESY OF: BYTE CRAFT LTD. 421 KING ST. WATERLOO, ONTARIO CANADA N2J 4E4 (519)888–6911 SOME SOURCE CODE CHANGES MAY BE NECESSARY FOR COMPILATION WITH OTHER COMPILERS. BILL LUCAS 2/5/92 MOTOROLA, SPS Revision history rev. 1.0 initial release 3/19/92 rev. 1.1 added additional decimal digit to the MPX2010 sensor. Originally resolved the output to .1 PSI. Modified cvt_bin_dec to output PSI resolved to .01 PSI. WLL 9/25/92 */ 0800 1700 #pragma memory ROMPROG [5888] @ 0x0800 ; 0050 0096 #pragma memory RAMPAGE0 [150] @ 0x0050 ; /* Vector assignments */ 1FFE #pragma vector __RESET @ 0x1ffe ; 1FFC #pragma vector __SWI @ 0x1ffc ; 1FFA #pragma vector IRQ @ 0x1ffa ; 1FF8 #pragma vector TIMERCAP @ 0x1ff8 ; 1FF6 #pragma vector TIMERCMP @ 0x1ff6 ; 1FF4 #pragma vector TIMEROV @ 0x1ff4 ; 1FF2 #pragma vector SCI @ 0x1ff2 ; #pragma has STOP ; #pragma has WAIT ; #pragma has MUL ; /* Register assignments for the 68HC705B5 microcontroller */ 0000 #pragma portrw porta @ 0x00; /* */ 0001 #pragma portrw portb @ 0x01; /* */ 0002 #pragma portrw portc @ 0x02; /* */ 0003 #pragma portrw portd @ 0x03; /* in ,– ,SS ,SCK ,MOSI ,MISO,TxD,RxD */ 0004 #pragma portrw ddra @ 0x04; /* Data direction, Port A */ 0005 #pragma portrw ddrb @ 0x05; /* Data direction, Port B */ 0006 #pragma portrw ddrc @ 0x06; /* Data direction, Port C (all output) */ 0007 #pragma portrw eeclk @ 0x07; /* eeprom/eclk cntl */ 0008 #pragma portrw addata @ 0x08; /* a/d data register */ 0009 #pragma portrw adstat @ 0x09; /* a/d stat/control */ 000A #pragma portrw plma @ 0x0a; /* pulse length modulation a */ 000B #pragma portrw plmb @ 0x0b; /* pulse length modulation b */ 000C #pragma portrw misc @ 0x0c; /* miscellaneous register */ 000D #pragma portrw scibaud @ 0x0d; /* sci baud rate register */ 000E #pragma portrw scicntl1 @ 0x0e; /* sci control 1 */ 000F #pragma portrw scicntl2 @ 0x0f; /* sci control 2 */ 0010 #pragma portrw scistat @ 0x10; /* sci status reg */ 0011 #pragma portrw scidata @ 0x11; /* SCI Data */ 0012 #pragma portrw tcr @ 0x12; /* ICIE,OCIE,TOIE,0;0,0,IEGE,OLVL */ 0013 #pragma portrw tsr @ 0x13; /* ICF,OCF,TOF,0; 0,0,0,0 */ 0014 #pragma portrw icaphi1 @ 0x14; /* Input Capture Reg (Hi–0x14, Lo–0x15) */ 0015 #pragma portrw icaplo1 @ 0x15; /* Input Capture Reg (Hi–0x14, Lo–0x15) */ 0016 #pragma portrw ocmphi1 @ 0x16; /* Output Compare Reg (Hi–0x16, Lo–0x17) */ 0017 #pragma portrw ocmplo1 @ 0x17; /* Output Compare Reg (Hi–0x16, Lo–0x17) */ 0018 #pragma portrw tcnthi @ 0x18; /* Timer Count Reg (Hi–0x18, Lo–0x19) */ 0019 #pragma portrw tcntlo @ 0x19; /* Timer Count Reg (Hi–0x18, Lo–0x19) */ 001A #pragma portrw aregnthi @ 0x1A; /* Alternate Count Reg (Hi–$1A, Lo–$1B) */ 001B #pragma portrw aregntlo @ 0x1B; /* Alternate Count Reg (Hi–$1A, Lo–$1B) */ 001C #pragma portrw icaphi2 @ 0x1c; /* Input Capture Reg (Hi–0x1c, Lo–0x1d) */ 001D #pragma portrw icaplo2 @ 0x1d; /* Input Capture Reg (Hi–0x1c, Lo–0x1d) */ 001E #pragma portrw ocmphi2 @ 0x1e; /* Output Compare Reg (Hi–0x1e, Lo–0x1f) */ 001F #pragma portrw ocmplo2 @ 0x1f; /* Output Compare Reg (Hi–0x1e, Lo–0x1f) */ 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 |