数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MPX2202DP 数据表(PDF) 480 Page - Motorola, Inc

部件名 MPX2202DP
功能描述  Sensor
PDF  670 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MOTOROLA [Motorola, Inc]
网页  http://www.freescale.com
标志 MOTOROLA - Motorola, Inc

MPX2202DP 数据表(HTML) 480 Page - Motorola, Inc

Back Button MPX2202DP Datasheet HTML 476Page - Motorola, Inc MPX2202DP Datasheet HTML 477Page - Motorola, Inc MPX2202DP Datasheet HTML 478Page - Motorola, Inc MPX2202DP Datasheet HTML 479Page - Motorola, Inc MPX2202DP Datasheet HTML 480Page - Motorola, Inc MPX2202DP Datasheet HTML 481Page - Motorola, Inc MPX2202DP Datasheet HTML 482Page - Motorola, Inc MPX2202DP Datasheet HTML 483Page - Motorola, Inc MPX2202DP 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


链接网址



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