BlinkyExample

所属分类:单片机开发
开发工具:C/C++
文件大小:74KB
下载次数:20
上传日期:2009-06-14 16:12:54
上 传 者hejicker
说明:  C8051f340的usb_hid固件学习程序。采用c语言编写,有利于新手学习。
(This program demonstrates how the Firmware Template can be used to create a system that communicates with a PC application. The PC application sends LED blinking patterns to the Target Board.)

文件列表:
BlinkyExample\c8051f3xx.h (958, 2008-02-08)
BlinkyExample\F3xx_BlinkyExample.wsp (38416, 2008-02-08)
BlinkyExample\F3xx_Blink_Control.h (2387, 2008-02-08)
BlinkyExample\F3xx_Blink_Control_F320.c (15526, 2008-02-08)
BlinkyExample\F3xx_Blink_Control_F326.c (11554, 2008-02-08)
BlinkyExample\F3xx_Blink_Control_F340.c (15313, 2008-02-08)
BlinkyExample\F3xx_USB0_Descriptor.c (8540, 2008-02-08)
BlinkyExample\F3xx_USB0_Descriptor.h (7882, 2008-02-08)
BlinkyExample\F3xx_USB0_InterruptServiceRoutine.c (22698, 2008-02-08)
BlinkyExample\F3xx_USB0_InterruptServiceRoutine.h (8141, 2008-02-08)
BlinkyExample\F3xx_USB0_Main.c (1905, 2008-02-08)
BlinkyExample\F3xx_USB0_Register.h (4587, 2008-02-08)
BlinkyExample\F3xx_USB0_ReportHandler.c (12680, 2008-02-08)
BlinkyExample\F3xx_USB0_ReportHandler.h (1377, 2008-02-08)
BlinkyExample\F3xx_USB0_Standard_Requests.c (25866, 2008-02-08)
BlinkyExample\HID_Blinky.exe (36864, 2008-02-08)
BlinkyExample\Host\HIDDevice.cpp (18834, 2008-02-08)
BlinkyExample\Host\HIDDevice.h (3198, 2008-02-08)
BlinkyExample\Host\HID_Blinky.cpp (1910, 2008-02-08)
BlinkyExample\Host\HID_Blinky.h (526, 2008-02-08)
BlinkyExample\Host\HID_Blinky.rc (9083, 2008-02-08)
BlinkyExample\Host\HID_Blinky.sln (909, 2008-02-08)
BlinkyExample\Host\HID_Blinky.vcproj (4987, 2008-02-08)
BlinkyExample\Host\HID_BlinkyDlg.cpp (38633, 2008-02-08)
BlinkyExample\Host\HID_BlinkyDlg.h (3142, 2008-02-08)
BlinkyExample\Host\resource.h (2297, 2008-02-08)
BlinkyExample\Host\StdAfx.cpp (210, 2008-02-08)
BlinkyExample\Host\StdAfx.h (1864, 2008-02-08)
BlinkyExample\Host\res\HID_Blinky.ico (3262, 2008-02-08)
BlinkyExample\Host\res\HID_Blinky.rc2 (401, 2008-02-08)
BlinkyExample\Host\res (0, 2009-06-12)
BlinkyExample\Host (0, 2009-06-12)
BlinkyExample (0, 2009-06-12)

------------------------------------------------------------------------------- Readme.txt ------------------------------------------------------------------------------- Copyright 2005 Silicon Laboratories, Inc. http://www.silabs.com Program Description: ------------------- This program demonstrates how the Firmware Template can be used to create a system that communicates with a PC application. The PC application sends LED blinking patterns to the Target Board. Project Note: ------------ This project is organized so that it can be compiled for three different microcontroller families: The F320/1, F326/7 and 'F34x families. There are two changes that need to be made to customize the project for each family: 1) In the file c80513xx.h, change the include file to family being used. 2) Include the appropriate "F3xx_Blink_Control_F3xx.c" file in the build. This is done by right-clicking on the file in the project window and adding to the build. If this example was found on the Silicon Laboratories Development kit CD, these changes have already been made for the respective device. How To Test: ----------- 1) Open the project file. Select either the 'F320, 'F326, or the 'F340 F3xx_Blink_Control.c file for the build. 2) Open C8051f3xx.h and select either C8051F320.h, C8051F326.h, and C8051F340.h. 3) Download the code to any C8051F32x target board using the Silicon Labs IDE 4) Run the GUI application that comes with the firmware and test the features Known Issues and Limitations: ---------------------------- 1) Firmware works with the Silicon Labs IDE v1.71 or later and the Keil C51 tool chain. Project and code modifications will be necessary for use with different tool chains. 2) Place jumpers on target board to connect the LEDs, switches, and the Pot to the microcontroller. 4) Windows application and driver supports Win2K, XP, and ***SE only. Target and Tool Chain Information: --------------------------------- FID: 3XX000015 Target: C8051F320/1, C8051F326/7, C8051F340 Tool chain: Keil C51 7.50 / Keil EVAL C51 Silicon Laboratories IDE version 2.6 Project Name: F3xx_BlinkyExample Command Line Options: -------------------- Assembler : Default Compiler : Default Linker : Default File List: --------- c8051f3xx.h F3xx_Blink_Control.h F3xx_USB0_Descriptor.h F3xx_USB0_InterruptServiceRoutine.h F3xx_USB0_Register.h F3xx_USB0_ReportHandler.h F3xx_Blink_Control_F320.c F3xx_Blink_Control_F326.c F3xx_Blink_Control_F340.c F3xx_USB0_Descriptor.c F3xx_USB0_InterruptServiceRoutine.c F3xx_USB0_USB0_Main.c F3xx_USB0_ReportHandler.c F3xx_USB0_Standard_Requests.c ReadMe.txt (this file) Release Information: ------------------- Version 1.0 Initial release (PD). 13 DEC 2005 ------------------------------------------------------------------------------- End Of File -------------------------------------------------------------------------------

近期下载者

相关文件


收藏者