C19_uCOS-II_SCIShineLED.rar

  • HOODGUY
    了解作者
  • C/C++
    开发工具
  • 330KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 5
    下载次数
  • 2009-04-25 09:52
    上传日期
本程序实现的硬件平台为苏州大学MCU&DSP研发中心的MC9S12DG128核心板与MT-ExBorard-Ⅰ型扩展板。该硬件平台使用9.8304MHZ的有源晶振,配置后系统程序运行的总线频率为4.9152MHZ。硬件连线方面,使用扩展板下方的10到17脚即标识为LED1_LD0至LED1_LD7的引脚连接8盏小灯;板上SCI1连接PC的串口,通信波特率为9600。 在这个实例中,我们利用PC机串口发送的一个字节数据来控制八盏小灯的闪烁。
C19_uCOS-II_SCIShineLED.rar
内容介绍
//------------------------------------------------------------------------ // Readme.txt //------------------------------------------------------------------------ This project stationery is designed to get you up and running quickly with CodeWarrior for MC9S12DG128B. 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: - C The wizard has prepared CodeWarrior target(s) with the connection methods of your choice: - Simulator: This interface/target is prepared to use the FCS (Full Chip Simulation). 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 - Startup Code: C/C++ startup code - Prm: - burner.bbl file to generate S-Records - the linker .prm file - Linker Map: the .map file generated by the linker - 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 //------------------------------------------------------------------------ Check out the online documentation provided. Use in CodeWarrior IDE the menu Help > Online Manuals. //------------------------------------------------------------------------ // Contacting Metrowerks //------------------------------------------------------------------------ For bug reports, technical questions, and suggestions, please use the forms installed in the Release_Notes folder and send them to: USA: support@metrowerks.com EUROPE: support_europe@metrowerks.com ASIA/PACIFIC: j-emb-sup@metrowerks.com
评论
    相关推荐
    • LD_driver_PID.zip
      这是本做的一个用于激光器驱动电路和温度控制电路的程序。已经调试通过。控制效果蛮好。希望对大家有用
    • ld3320.rar
      用于对语音识别模块ld3320的开发使用代码
    • LD3320.rar
      语音模块LD3320,包含芯片资料和例程。
    • tanqou_v11.zip
      使用matlab实现智能预测控制算法,可以得到很精确的幅值、频率、相位估计,采用的是通用的平面波展开法。
    • Digital-Clock.zip
      mode: 功能控制信号; 为0:计时功能; 为1:闹钟功能; 为2:手动校时功能; turn: 接按键,在手动校时功能时,选择是调整小时,还是分钟; 若长时间按住该键,还可使秒信号清零,用于精确调时; change: 接...
    • DDS--AD9850-2DAC7611.zip
      AD9850与DAC7611同时控制,用于实现DDS信号源的频率调节和峰值调节、直流偏置点调节。
    • clock.rar
      mode: 功能控制信号;为0:计时功能; 为1:闹钟功能; 为2:手动校时功能; turn: 接按键,在手动校时功能时,选择是调整小时,还是分钟; 若长时间按住该键,还可使秒信号清零,用于精确调时; change: 接...
    • C8051F060 PID温度控制
      利用C8051F060进行数据采集,并利用PID算法进行温度的控制.
    • ld3320语音识别程序
      该程序由ld3320控制 开发板所用芯片为STC10L08XE 功能描述:说“你好”8位数码管的7,8位显示01,一次累加 说“再见”8位数码管的5,6位显示01,一次累加 说“谢谢”8位数码管的3,4位显示01,一次累加 说“欢迎”8...
    • s7-200模拟器
      s7-200模拟器v10.rar ,适合做组态和PLC实验。支持180种指令,有通信功能,支持PPI,MODBUS,USS协议 本文转自亿万论坛:http://bbs.e10000.cn/a/a.asp?B=302&ID=1160984