91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

小型發動機 ECU 源代碼 飛思卡爾 MC9S12P128

資源截圖

代碼片段和文件信息

/*******************************************************************************
Copyright?(c)?2007?Freescale?Semiconductor
Freescale?Confidential?Proprietary
\brief??????Driver?for?basic?S12XE?ADC?operation
\author?????r66193
\version????0.1
\date???????May/2008
*******************************************************************************/
#include?“mc9s12xep100.h“
#include?“comdef.h“
#include?“stdio.h“
#include?“crg.h“
#include?“xgate.h“


#pragma??DATA_SEG??SHARED_DATA
INT16U???AtdData[16];


void?InitADC(void)
{
????DDR0AD0?=?0;????????????
????DDR1AD0?=?0;??????????//?All?16?Channels?are?used
????
????ATD0CTL0?=?0x0F;??????//?B0000_1111:?multiple?channel?conversion?(MULT=1)?wraparound?
??????????????????????????//????????????to?AN0?after?converting?A15
????
????ATD0CTL1?=?0xD3;??????//?B?1101_0011:
??????????????????????????//???|--|?----
??????????????????????????//???|\||???\-:?External?triggger?is?PIT?Channel1
??????????????????????????//???|?||-----:?Discharge?before?sample
??????????????????????????//???|?|------:?12bit?resoltion
??????????????????????????//???|--------:?External?trigger
?????
???
????ATD0CTL2?=?0x46;??????//?B?0100_0100?
??????????????????????????//????||?--|||-:?Compare?interrupt?interrupt?disable
??????????????????????????//????||?\|||--:?Sequence?completed?interrupt?disable
??????????????????????????//????||??||---:?External?trigger?mode?enable
??????????????????????????//????||??|----:?falling?edge?trigger?not?used?for?PIT?trigger
??????????????????????????//????||-------:?Convertion?abort?in?STOP?mode?
??????????????????????????//????|--------:?Fast?flag?clear?
????
????ATD0CTL3?=?0x80;??????//?B?1000_0000
??????????????????????????//???|-----|--
??????????????????????????//???|?\|??|\-:?Continue?in?debugger
??????????????????????????//???|??|??|--:?FIFO?mode?not?used
??????????????????????????//???|??|-----:?16?sequence?conversion
??????????????????????????//???|--------:?Result?right?justified
????
????ATD0CTL4?=?0x44;??????//?B?0100_0100
??????????????????????????//???--|------
??????????????????????????//????\|????\-:?PSR=4?ATD?clk=4M?@?40M?busclk
??????????????????????????//?????|------:?Sample?time?=?8?clk
????
????ATD0CTL5?=?0x10;??????//?B?0001_0000
??????????????????????????//????|||?----
??????????????????????????//????|||???\-:?First?channel?is?AN0
??????????????????????????//????|||-----:?Multi?channel?sample?mode
??????????????????????????//????||------:?Single?conversion?sequence?
??????????????????????????//????|-------:?Special?channel?conversion?disabled
}


/*******************************************************************************
*?\brief????ADC?single?conversion?SW?trigger
*?\param????const?unsigned?int?chan
*?\return???unsigned?int?
*/
/*????
INT16U?lle_ADC(INT8U?u8ADC_chan)
{
????ATD0CTL5_Cx?=?u8ADC_chan;???
????
????????while(!ATD0STAT0_SCF);???//?Wait?for?end?of?conversion??
????????
????ATD0STAT0_SCF?=?1;

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????153088??2009-07-21?23:33??飛思卡爾小型發動機EMS源代碼\Install?application?Map?Tool\Example?Scooter?Map.xls

?????文件??????48332??2009-11-05?10:22??飛思卡爾小型發動機EMS源代碼\Install?application?Map?Tool\Install?Application?Map?Tool.zip

?????文件?????133632??2009-07-21?23:31??飛思卡爾小型發動機EMS源代碼\Install?application?Map?Tool\Map?Tool.xls

?????文件????1292587??2009-11-05?10:26??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\Install?Crankshaft?Simulation?Software.zip

?????文件????????105??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\bin\P&E_Multilink_CyclonePro.map

?????文件?????412738??2011-06-19?17:23??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\bin\SofTec_HCS12.abs

?????文件??????16204??2011-06-19?17:23??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\bin\SofTec_HCS12.abs.glo

?????文件??????16014??2011-06-19?17:23??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\bin\SofTec_HCS12.abs.s19

?????文件?????278647??2011-06-19?17:23??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\bin\SofTec_HCS12.map

?????文件???????1514??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\P&E_Multilink_CyclonePro_Erase_unsecure_hcs12xe.cmd

?????文件?????????59??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\P&E_Multilink_CyclonePro_Postload.cmd

?????文件?????????60??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\P&E_Multilink_CyclonePro_Preload.cmd

?????文件?????????60??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\P&E_Multilink_CyclonePro_Reset.cmd

?????文件????????229??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\P&E_Multilink_CyclonePro_Startup.cmd

?????文件?????????77??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\P&E_Multilink_CyclonePro_Vppoff.cmd

?????文件?????????78??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\P&E_Multilink_CyclonePro_Vppon.cmd

?????文件?????????59??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\SofTec_HCS12_Postload.cmd

?????文件?????????60??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\SofTec_HCS12_Preload.cmd

?????文件?????????60??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\SofTec_HCS12_Reset.cmd

?????文件????????229??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\SofTec_HCS12_Startup.cmd

?????文件?????????77??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\SofTec_HCS12_Vppoff.cmd

?????文件?????????78??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\cmd\SofTec_HCS12_Vppon.cmd

?????文件???????1943??2008-05-14?11:01??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\C_Layout.hwl

?????文件????????161??2004-06-15?12:43??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\Default.mem

?????文件?????????46??2008-05-20?00:52??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\dump.s

?????文件???????1012??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\P&E_Multilink_CyclonePro.ini

?????文件??????10141??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\prm\burner.bbl

?????文件??????14944??2008-05-04?11:24??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\prm\P&E_Multilink_CyclonePro_linker.prm

?????文件??????15711??2007-07-04?12:52??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\prm\PruCaliMem.prm

?????文件??????14944??2008-05-20?15:40??飛思卡爾小型發動機EMS源代碼\Install?Crankshaft?Simulation?Software\s12xe_12t24t\prm\SofTec_HCS12_linker.prm

............此處省略469個文件信息

評論

共有 條評論