第3步-安装单片机开发软件codewarror基础及进阶codewarrior使用指南_第1页
第3步-安装单片机开发软件codewarror基础及进阶codewarrior使用指南_第2页
第3步-安装单片机开发软件codewarror基础及进阶codewarrior使用指南_第3页
第3步-安装单片机开发软件codewarror基础及进阶codewarrior使用指南_第4页
第3步-安装单片机开发软件codewarror基础及进阶codewarrior使用指南_第5页
已阅读5页,还剩208页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

内内PRM文件设如何使用汇编和C语言混如何使用ProcessorExpertSlidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. 2、选择w 6、选择是否采用Processor 如果用ProcessorExpert,选择 orservicenamesarethepropertyoforservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherStartStart 参考文利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. 新新建一文件,并保存到原文件夹点击右键,加入或从此工程中删除文Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.While(1);For(;;);goto对嵌入式系统来说-循环是必须要用到的-上述3种方式,第2种更好一-为什么“alwaystruewarning”CodeWarrior编译器提供了几种从C源代码产生实际汇编代码编译器优化强度减“StrengthReduction”(强度减弱)在循环内,用加法指令代替乘法Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother变量乘以orservicenamesarethepropertyorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother用H:X作为指针来指向我们想乘的用用2次左移位来实现orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherVarA=VarA*Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.orservicenamesarethepropertyoftheirrespectiveowners.Slideorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother

orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother在循环结束后,变量将被编译器优化编译器优化–译器的优化设置,达到改变CodeWarrior产生代码Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother otherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother所有的代码将orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother通过改变编译通过改变编译示例(有循环解开示例(有循环解开for(i=0;i<4;j++)Array[i]=i;

“loopunrolling”,编Array[0]=0;Array[1]=1;Array[2]=2;Array[3]=3;Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.配

子表达式消除

使用相同的寄存器来不同的变量 编译指示符:#if、#else、#elif、#if<constant-#elseOR#elif<constant-#error定义一个用于显示的编译错orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother应定义利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.

功能强大的图形界面(拖&拉操作,弹出式菜单模块化和可扩展系统(基于组件概念不同的组件可以加入来自Metrowerks(Codewarrior)对所有的目标和目标接口,界面(GUI)完全相simulator和debugger,界

ProfilingCPU利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.StartupCode一般用汇编语言写的,并且会连接到你编译过的可执行的模块中.它为执行C语言写的程序做准备:Sl

otherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother复位后第一个执行的是启动复位后第一个执行的是启动程序,复位向量存贮了利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. “..\CodeWarriorManuals\pdf\Manual_SmartLinker.pdf”C:\ProgramFiles\Metrowerks\CW08V3.1\TechnicalNotes\BuildTools\tn04.pdf 区分SlideSlidescale™andthe scalelogoaretrademarksscaleSemiconductor,Inc.Allotherorserviceorservicenamesarethepropertyoftheirrespectiveowners.scaleSemiconductor,Inc.频繁使用的变量应放在直接页RAM$40orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother数据段数据段(VarA想存放在(0x0080-orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherVarAVarA在VarBVarB在DEFAULT这段代码 在特Slidescale™andthe scalelogoaretrademarksof scaleSemiconductor,Inc.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.© scaleSemiconductor,Inc.2005.orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherfuncition1funcition1被放在0xEF00EFFForservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherSlideSlidescale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherororservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.#define (*(volatileunsignedchar*)0x0000volatileunsignedcharPortA 练习:在某个项目中需要将绝对地址0xFFA处整型变量的值IntInt*ptr=(int*ptr=C编译器允许在C代码中使用汇编指11)_asmAssemblyInstuction;3)asm{}orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother利用汇编指令来修改利用汇编指令来修改ISlideSlidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherororservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.Slidescale™andthe scalelogoaretrademarksof scaleSemiconductor,Inc.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.© scaleSemiconductor,Inc.2005.orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. inttime_counter;inttime_counter;interrupt7INT_Timer(void){time_counter}Vector00xFFFE-210xFFFC–220xFFFA–2n0xFFFF–(n*22在PRM文件中#pragmaTRAP_PROCvoidINCcount(void){int}PRMPRM文件中,将中断服务VECTORADDRESS0xFFF0在C语言文件中的常量表中初始化#pragmaCONST_SEGvoid(*constprocTable[])(void)=intFunc1,intFunc2,}#pragmaCONST_SEG在PRM在PRM文件中分VectorTableINTOREAD_ONLY0xFFFATO…连接连接向量orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherRTI利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.变量 变量(C语言XDEFXDEFta,DataSec: ta:DS.WConstSec:ASMConst:DC.WexternAexternconstintCunsignedunsignedintCData= ta+ASMConst+变量(C语言 变量unsignedunsignedconstunsignedintLDDLDDSTDADDDADDDADDD2,A(C代码voidAddVar(unsignedintunsignedint在C在C中调用汇编函AddVar(Cdata,函 (汇编函 (汇编voidvoidAddVar(unsignedintunsignedintsecond){ ta=Cdata+first+second;}XREF在汇在汇编中调用C函LDDCData;LoadvalueofCdatainD ;PUSHDonthestackLDAB#10 ;Load10inDJSR利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.(far/near/rom/uni/paged/…);而C首选的数据类型是‘int‘intANSI标准没有精确定义数据类型的大小,但是CodeWarrior定义了00例如‘int’=尽量使用最小的数据>尽可能使用无符号使用typedefs根据编译器和系统而改当值需要固定位时orservicenamesarethepropertyoftheirrespectiveorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother

orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother;clr,Xorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother在main函数 了orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherSlide Slideorservicenamesarethepropertyoftheirorservicenamesarethepropertyoftheirrespectiveowners.scaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother时,能被整个模块中所有函数,不能被其它模块中的函数myVar=#include//includesfunctionscontainedinvoidmainMyFunction();//includedinMyFunction();//includedin}voidMyFunction//DefinitionofMyFunctioninstaticcharmyVar=//localvariabledeclaredmyVar=myVar+}Volatile变量 volatile是一个好习惯定义为volatile的变量从不会被编译器优volatileunsignedcharvolatileunsignedcharPORTA@0x00;volatileunsignedcharSCS1@0x16;unsignedcharvalue;voidPORTA=/*PORTAPORTA=/*PORTAvalue=}用Volatile关键/*MC68HC908GP20/32OfficialPeripheralRegisterNamesPortsandDatavolatileunsignedcharPTAPUEvolatileunsignedcharPTCPUEvolatileunsignedchar

@0x000D;/*Portpull-upenablesConst可用于任何变量,它告诉编译器将其存贮Cons变量必须初始化constdoublePI= Const变量与明显的常数相对,很多文章要求用const变量代替明显的常数。用constunsignedcharchannels8;代替#defineCHANNELS8c的常数可。不幸的,在很多机你为一处出大RcCodWrcRO论怎样变量作为变量理和,典地用某些址寻(位)位答案是能。需要volatile限定语,由于const该变量是只读的。最明显的例子是硬件状态寄存器,象SCI状态寄存器SCS1模块的状态作出响应。这个状态寄存器最佳方法是:/*SCIStatusRegisterconstvolatileunsignedcharSCS1typedefstructunsignedcharunsignedshort}typedefstructunsignedcharunsignedshort}voidfoo(unsignedcharvalue)volatileObjectTypeinstance;instance.ID=value;}允许使用递

16位偏移的堆栈指针相对 AIS#(-s)

A它被传到H:X。这个参数是对象 到的地址orservicenamesarethepropertyoforservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherintpf是一个静态函数指针,INT是参数,返回值为voidfna(INT); //Exampleprototypeofafunctiontobecalledtypedefvoid(*constPFV_I)(INT); //DeclarationusingtypedefstaticPFV_Ipf[]={fna,foo2,foo3,foo4);//Directdeclarationstaticvoid(*constpf[])(INT)={fna,foo2,foo3,foo4};//ExampleINTa=methodmethodHC08QLHC08QLSlideSlidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. 器SLICStateVectorregister可能C代码Nestedif’s(if嵌套Pointerstofunctions(函数SlidescaleSlidescaleSemiconductor,Inc.scale™scale™andthe scalelogoaretrademarksof scaleSemiconductor,Inc.Allother orservicenamesarethepropertyoftheirrespectiveowners.DebugDebugorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.SlideSlidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.VarASlidescale™andthe scalelogoaretrademarksof scaleSemiconductor,Inc.AllotherproductSlideit34567ROM:ROM:ROM:ROM:ROM:RAM:RAM:RAM:RAM:RAM:ROM:ROM:ROM:ROM:ROM:RAM:RAM:RAM:RAM:RAM:ROM:ROM:ROM:ROM:ROM:RAM:RAM:RAM:RAM:RAM:Switchorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.

(头文件

量orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother““通讯”在main.c和orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother变量Result在mainorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.scaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherSlide在function.cSlideorservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother函数正在被执orservicenamesaretheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother 利用向导创建一个新在新项目中加入或删除文编调启动程PRM文件设如何对IO及寄存器进行操如何写中断程如何使用汇编和C嵌入式编程注意事scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. A/D和D/A,TimersASCI,I2C,CAN,BDLC,USB,EthernetI/O,字节操作A/D和D/A输入捕捉,•和应用的底层开阅读(上百页的理解寄存器的含晶振,PLL,预分频,波特率设评估所有的选注意相互影8个8-bit模块,4个16-bit模块,缓冲寄存理解多功能复普通I/O引脚和其他模块复marks 需要时间来阅读和理解手对资料可能存在误新功手册错误,或描述不功能重复使比如CAN模块和模块共用IO引编程错位操作时置位和颠顺序错寄存 顺序错误, 的时间有返回到项目的最初阶段(浪费时间更加,对以前的理解需要更继续对没有任何增值的代码进 软硬件集

采用处理器专针对的知识处理器专家包括了微处理器的功能,特性,选隐藏的寄存寄存器隐,用相应的选项来代组合和交互自动计振荡器PLL预分频时钟因子波特率产生器自可能的值/设置用简单的单位列手动输入值会被检查,如果无法完成则做标检测引脚复外设使用共用引脚引起的会做标记,在生成代码之前需要解决这个题处理器专家会已经使用过的资Beans可以重复使scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.goaretrademarks scaleSemiconductor,Inc.Allotheroftheirrespectiveowners. scaleSemiconductor,Inc.比如:A/DconverterSlidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.BitIO,ByteIO,Byte2IO,Byte3IO,ExtInt(externalinterrupt)TimerIntTimerOut, WatchdogAsynchroSerialInterruptVectorBWimage,ADconverter,ExternalFile,StringListAsynchroMaster,AsynchroSlaveSynchroMaster,SynchroSlaveTerm(terminal)Ext8IO,Ext16IO,第一次设计代码经过测测试阶段更无需阅读上百页的手不需要返回去重新对外错误更错误只发生在Beans选项的设置如需修改,重新配置或编译,几分钟内就可以实容易移设计过程中改变CPU只需点击几个按旧的设计到新的设计移植仅需点击几个容易移植到不同的硬件模MoreintuitivefeaturesandPeripheralInspectorportedtoHC(S)08andIncreasedperformanceisbeingInterfacewithapplicationdesigntools,e.g.1st1stBlockLibraryPEBeans在模型设计时,将会作为一个标的块.为MCU/DSP/PPCPEBeansMCU/DSP/PPC包MotorControlLCD等已经被拷贝库Stateflow

Slide

modelandmodelandthismodelmatchingPEInPEuserconfiguresconcreteofbeansbasedtoselectedMCU/DSP/PPCphysicalresources.ApplicationprojectcodeconsistsfromCsourcesgeneratedfrommodelanditsPEprojectscale™andthe scalelogoaretrademarksof scaleSemiconductor,Inc.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.© scaleSemiconductor,Inc.2005.blebleclickontheBitIObeanintheBeanSelectorinordertothebeantotheprojectSlidescale™andthe scalelogoaretrademarksof scaleSemiconductor,Inc.AllotherproductSlideorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allothertosetgeneratedmethodsorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allothersetthemethod"generatecode"orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscaleorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherthesecondorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherordertosettheSlideSlidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.nternameoftheBeanintheBeanInspectorwindow-orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allothertosetgeneratedmethodsorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allothersetthemethod"generatecode"orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotheraddthe3rdbeantotheprojectorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherordertosettheorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherBeanInspectorwindoworservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allothertosetgeneratedmethodsorservicenamesarethepropertyoftheirrespectiveowners.Slidescaleorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherothersetto"don'tgenerate"orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,orservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherExpertorservicenamesarethepropertyoftheirorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners.Slidescaleorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.Allother"Beans|Button:ExtInt"orservicenamesarethepropertyoftheirrespectiveowners.Slideorservicenamesarethepropertyoftheirrespectiveowners.SlidescaleSemiconductor,Inc.scale™andscalelogoaretrademarksscaleSemiconductor,Inc.AllotherSlidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.Slidescale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc. scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.ScrolltheSourcewindowstothefunction“Button_OnInterrupt”andseta->clickwiththerightmousebuttonon“GreenLED”andselect“SetBreakpoint”scale™and scalelogoaretrademarks scaleSemiconductor,Inc.Allotherorservicenamesarethepropertyoftheirrespectiveowners. scaleSemiconductor,Inc.Thestatementisnowmarkedwiththebreakpointsymbol

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论