智能车制作

 找回密码
 注册

扫一扫,访问微社区

查看: 1940|回复: 1
打印 上一主题 下一主题

飞思卡尔PWM模块程序

[复制链接]

1

主题

23

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
319
QQ
威望
249
贡献
56
兑换币
0
注册时间
2010-8-2
在线时间
7 小时
跳转到指定楼层
1#
发表于 2010-8-2 17:41:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
//------------------------------------------------------------------------
//  Readme.txt
//------------------------------------------------------------------------
This project stationery is designed to get you up and running
quickly with CodeWarrior for MC9S12XS128.
It is set up for the selected CPU and target connection,
but can be easily modified.

Sample code for the following language(s) is at your disposal:

The wizard has prepared CodeWarrior target(s) with the connection methods
of your choice:

Additional connections can be chosen in the simulator/debugger,
use the menu Component > Set Target.

//------------------------------------------------------------------------
//  Getting Started
//------------------------------------------------------------------------
To build/debug your project, use the menu Project > Debug or press F5.
This will open the simulator/debugger.
Press again F5 in the debugger (or menu Run > Start/Continue) to start
the application. The menu Run > Halt or F6 stops the application.
In the debugger menu Component > Open you can load additional components.

//------------------------------------------------------------------------
// Project structure
//------------------------------------------------------------------------
The project generated contains various files/folders:
- readme.txt: this file
- Sources: folder with the application source code
- Prm:
   - burner.bbl file to generate S-Records
- Libraries: needed library files (ANSI, derivative header/implementation
  files)
- Debugger Project File: contains a .ini file for the debugger for each
  connection
- Debugger Cmd Files: contains sub-folders for each connection with
  command files

//------------------------------------------------------------------------
//  Adding your own code
//------------------------------------------------------------------------
Once everything is working as expected, you can begin adding your own code
to the project. Keep in mind that we provide this as an example of how to
get up and running quickly with CodeWarrior. There are certainly other
ways to handle interrupts and set up your linker command file. Feel free
to modify any of the source files provided.

//  Simulator/Debugger: Additional components
//------------------------------------------------------------------------
In the simulator/debugger, you can load additional components. Try the
menu Component > Open.

//------------------------------------------------------------------------
//  Additional documentation
//------------------------------------------------------------------------
Read the online documentation provided. Use in CodeWarrior IDE the menu
Help > CodeWarrior Help.

//------------------------------------------------------------------------
//  Contacting Metrowerks
//------------------------------------------------------------------------
For bug reports, technical questions, and suggestions, please use the
forms installed in the Release_Notes folder and send them to:
cw_support@freescale.com

0

主题

22

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
249
威望
207
贡献
36
兑换币
10
注册时间
2010-10-23
在线时间
3 小时
2#
发表于 2010-10-23 18:08:11 | 只看该作者
fdsf
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关于我们|联系我们|小黑屋|智能车制作 ( 黑ICP备2022002344号

GMT+8, 2024-12-28 14:02 , Processed in 0.292265 second(s), 30 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表