データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

MPXM2102AS データシート(PDF) 480 Page - Motorola, Inc

部品番号 MPXM2102AS
部品情報  Sensor
PDF  670 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  MOTOROLA [Motorola, Inc]
ホームページ  http://www.freescale.com
Logo MOTOROLA - Motorola, Inc

MPXM2102AS データシート(HTML) 480 Page - Motorola, Inc

Back Button MPXM2102AS Datasheet HTML 476Page - Motorola, Inc MPXM2102AS Datasheet HTML 477Page - Motorola, Inc MPXM2102AS Datasheet HTML 478Page - Motorola, Inc MPXM2102AS Datasheet HTML 479Page - Motorola, Inc MPXM2102AS Datasheet HTML 480Page - Motorola, Inc MPXM2102AS Datasheet HTML 481Page - Motorola, Inc MPXM2102AS Datasheet HTML 482Page - Motorola, Inc MPXM2102AS Datasheet HTML 483Page - Motorola, Inc MPXM2102AS Datasheet HTML 484Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 480 / 670 page
background image
AN1536
3–334
Motorola Sensor Device Data
www.motorola.com/semiconductors
write()
{
char i;
digit[1]=10;
if (digit[2]==0)
{digit[2]=10;}
if (
digit[2]==10 && digit[3]==0 )
{digit[3]=10;}
for ( i=1; i<5; ++i )
{
if (i==4)
write_spi((lcdtab[digit[i]])+0x80);
else
write_spi(lcdtab[digit[i]]);
}
write_spi (2);
/* this creates a start bit and data bit 1
for the next write to the mc145453
*/
}
write_spi( char a )
/* write a character to the spi port */
{
SPDR=a;
while ( ! ( SPSR & 0x80 ) ) {}
/* loop until the spif = 1 */
}
/* ################################################################### */
/*
This function is called at power–up and will determine the operation
of the system. The user must complete the system configuration prior
to setting the jumper in the first or last two configurations in the
table or erroneous operation is guaranteed!
test/operation jumper configuration:
J3
J2
J1
1 = jumper removed
1
1
1
display speed in mph
1
1
0
reserved
1
0
1
30 psi xdcr installed
1
0
0
15 psi xdcr installed
0
1
1
full scale calibrate
0
1
0
zero calibrate
0
0
1
display pressure in psi
0
0
0
display speed in mph
*/
setconfig()
{
char i;
for ( i=0; i<125; ++i )
delay();
/* to let the charge pump come to life wll */
i = PORTC & 0x07;
/* and off the unused bits */
if ( i == 7 )
display_speed();
if ( i == 6 )
setup_error();
/* non–valid pattern output –SE– on display*/
if ( i == 5 )
{write_eeprom(30,&XDCRMAX); /* xdcr is 30 psi */
display(30);
}
if ( i == 4 )
{write_eeprom(15,&XDCRMAX); /* xdcr is 15 psi */
display(15);
}
if ( i == 3 )
fullscale_calibrate();
if ( i == 2 )
zero_calibrate();
if ( i == 1 )
display_pressure();
else
display_speed();
}
/* ################################################################### */
display(char d)
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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