參數(shù)資料
型號(hào): 33991
廠商: Motorola, Inc.
英文描述: Gauge Driver Integrated Circuit
中文描述: 儀表驅(qū)動(dòng)集成電路
文件頁(yè)數(shù): 34/36頁(yè)
文件大?。?/td> 660K
代理商: 33991
33991
34
Go to: www.freescale.com
/* Step 15 */
Command_Gauge
(0x10,0x00);
/* Check SO bit ST4 to see if Gauge 0 has moved */
If
((status & 0x10) != 0)
/* If it has moved, then keep track of position */
/* Wait until 24 steps are finished then send a RTZ command (Step 17) */
/* Null Read to get status */
/* Step 16 */
Command_Gauge
(0x80,0x02);
/* Send RTZ to Gauge 0 */
/* Step 17 */
Command_Gauge
(0x10,0x00);
/* Read Status until RTZ is done */
While
((status & 0x04) != 0)
{
Command_Gauge
(0x10,0x00);}
/* Null Read to get status */
/* Step 18 */
Command_Gauge
(0x80,0x03);
/* Send RTZ to Gauge 1 */
/* Step 19 */
Command_Gauge
(0x10,0x00);
/* Read Status until RTZ is done */
While
((status & 0x08) != 0)
{
Command_Gauge
(0x01,0x00);}
/* Null Read to get status */
/* Step 20 */
Command_Gauge
(0x00,0x00);
/* Put device to sleep by setting RSTB to logic 0 */
/* Disable Gauges and go into Standby */
}
void Command_Gauge
(char MSB, char LSB)
/*This subroutine sends the GDIC commands on the SPI port */
{
PORTS = 0x00;
SP0DR = MSB;
While
((SP0SR & 0x80) == 0);
RTZdata = SP0DR;
SP0DR = LSB;
While
((SP0SR & 0x80) == 0);
status = SP0DR;
PORTS = 0x04;
}
/* Chip select low (active) */
/* send first byte of gauge command */
/* wait for Rxflag (first byte) */
/* Read status MSB */
/* send second byte of command */
/* wait for Rxflag (second byte) */
/* read status LSB */
/* Chip select high (deactivated) */
/* Motorola Semiconductor Products Sector */
/* October 4, 2002 */
F
Freescale Semiconductor, Inc.
For More Information On This Product,
n
.
相關(guān)PDF資料
PDF描述
33BS surface mount silicon Zener diodes
33C408 4 Megabit (512K x 8-Bit) CMOS SRAM
33C408RPFB-20 4 Megabit (512K x 8-Bit) CMOS SRAM
33C408RPFB-25 4 Megabit (512K x 8-Bit) CMOS SRAM
33C408RPFB-30 4 Megabit (512K x 8-Bit) CMOS SRAM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
33-991 制造商:Ideal Industries Inc 功能描述:LTKII,350MHZ,CAT6 W/CAT6 ADPT
3399-1 制造商:3M 功能描述:3399-1
33992 制造商:Ideal Industries Inc 功能描述:LTKII500MHZ,CAT6A W/CAT6A ADPT
33992510000001 功能描述:電纜組件 CABLE KIT RoHS:否 制造商:Molex 產(chǎn)品:Power Assemblies 類(lèi)型:Cable Assembly 連接器端口 A:No Connector 連接器端口 A 管腳計(jì)數(shù):4 連接器端口 B:No Connector 連接器端口 B 管腳計(jì)數(shù): 型式:Male 線規(guī) - 美國(guó)線規(guī)(AWG):20, 28 長(zhǎng)度:0.305 m 顏色:Black, Red
33993 制造商:Ideal Industries Inc 功能描述:LTKII1000MHZ,CAT7A W/CAT6AADPT