From de30372e543ea29e10d49130455da13ff5bc5a58 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 4 Jan 2019 15:58:00 +0800 Subject: [PATCH] fix --- README.md | 34 +++++------------- {mcuyun => docs}/ch552 .PDF | Bin {HID => projects/HID}/.gitignore | 0 {HID => projects/HID}/HID.uvproj | 0 {HID => projects/HID}/usr/CH554.H | 0 {HID => projects/HID}/usr/DEBUG.C | 0 {HID => projects/HID}/usr/DEBUG.H | 0 {HID => projects/HID}/usr/Key.c | 0 {HID => projects/HID}/usr/Key.h | 0 {HID => projects/HID}/usr/USB.c | 0 {HID => projects/HID}/usr/USB.h | 0 {HID => projects/HID}/usr/main.c | 0 {LCD => projects/LCD}/.gitignore | 0 {LCD => projects/LCD}/CH552.uvproj | 0 {LCD => projects/LCD}/usr/CH554.h | 0 {LCD => projects/LCD}/usr/GPIO.c | 0 {LCD => projects/LCD}/usr/GPIO.h | 0 {LCD => projects/LCD}/usr/LCD.c | 0 {LCD => projects/LCD}/usr/LCD.h | 0 {LCD => projects/LCD}/usr/STARTUP.A51 | 0 {LCD => projects/LCD}/usr/Timer.c | 0 {LCD => projects/LCD}/usr/Timer.h | 0 {LCD => projects/LCD}/usr/USB.c | 0 {LCD => projects/LCD}/usr/USB.h | 0 {LCD => projects/LCD}/usr/common.c | 0 {LCD => projects/LCD}/usr/common.h | 0 {LCD => projects/LCD}/usr/font.c | 0 {LCD => projects/LCD}/usr/font.h | 0 {LCD => projects/LCD}/usr/main.c | 0 {examples => projects/examples}/ADC/ADC.C | 0 {examples => projects/examples}/ADC/ADC.H | 0 {examples => projects/examples}/ADC/Main.C | 0 {examples => projects/examples}/CH552.uvproj | 0 .../examples}/DataFlash/DataFlash.C | 0 .../examples}/DataFlash/DataFlash.H | 0 .../examples}/DataFlash/Main.C | 0 {examples => projects/examples}/GPIO/GPIO.C | 0 {examples => projects/examples}/GPIO/GPIO.H | 0 {examples => projects/examples}/GPIO/Main.C | 0 .../examples}/IAP/CH554IAPDemo.C | 0 {examples => projects/examples}/PWM/Main.C | 0 {examples => projects/examples}/PWM/PWM.C | 0 {examples => projects/examples}/PWM/PWM.H | 0 .../examples}/Public/CH554.H | 0 .../examples}/Public/Debug.C | 0 .../examples}/Public/Debug.H | 0 .../examples}/SPI/MainMaster.C | 0 .../examples}/SPI/MainSlave.C | 0 {examples => projects/examples}/SPI/SPI.C | 0 {examples => projects/examples}/SPI/SPI.H | 0 {examples => projects/examples}/Timer/Main.C | 0 {examples => projects/examples}/Timer/Timer.C | 0 {examples => projects/examples}/Timer/Timer.H | 0 .../examples}/TouchKey/Main.C | 0 .../examples}/TouchKey/TouchKey.C | 0 .../examples}/TouchKey/TouchKey.H | 0 .../examples}/USB/Device/CompatibilityHID.C | 0 .../examples}/USB/Device/CompositeKM.C | 0 .../examples}/USB/Device/VendorDefinedDev.C | 0 .../examples}/USB/Host/USBHostHUB_KM.C | 0 60 files changed, 9 insertions(+), 25 deletions(-) rename {mcuyun => docs}/ch552 .PDF (100%) rename {HID => projects/HID}/.gitignore (100%) rename {HID => projects/HID}/HID.uvproj (100%) rename {HID => projects/HID}/usr/CH554.H (100%) rename {HID => projects/HID}/usr/DEBUG.C (100%) rename {HID => projects/HID}/usr/DEBUG.H (100%) rename {HID => projects/HID}/usr/Key.c (100%) rename {HID => projects/HID}/usr/Key.h (100%) rename {HID => projects/HID}/usr/USB.c (100%) rename {HID => projects/HID}/usr/USB.h (100%) rename {HID => projects/HID}/usr/main.c (100%) rename {LCD => projects/LCD}/.gitignore (100%) rename {LCD => projects/LCD}/CH552.uvproj (100%) rename {LCD => projects/LCD}/usr/CH554.h (100%) rename {LCD => projects/LCD}/usr/GPIO.c (100%) rename {LCD => projects/LCD}/usr/GPIO.h (100%) rename {LCD => projects/LCD}/usr/LCD.c (100%) rename {LCD => projects/LCD}/usr/LCD.h (100%) rename {LCD => projects/LCD}/usr/STARTUP.A51 (100%) rename {LCD => projects/LCD}/usr/Timer.c (100%) rename {LCD => projects/LCD}/usr/Timer.h (100%) rename {LCD => projects/LCD}/usr/USB.c (100%) rename {LCD => projects/LCD}/usr/USB.h (100%) rename {LCD => projects/LCD}/usr/common.c (100%) rename {LCD => projects/LCD}/usr/common.h (100%) rename {LCD => projects/LCD}/usr/font.c (100%) rename {LCD => projects/LCD}/usr/font.h (100%) rename {LCD => projects/LCD}/usr/main.c (100%) rename {examples => projects/examples}/ADC/ADC.C (100%) rename {examples => projects/examples}/ADC/ADC.H (100%) rename {examples => projects/examples}/ADC/Main.C (100%) rename {examples => projects/examples}/CH552.uvproj (100%) rename {examples => projects/examples}/DataFlash/DataFlash.C (100%) rename {examples => projects/examples}/DataFlash/DataFlash.H (100%) rename {examples => projects/examples}/DataFlash/Main.C (100%) rename {examples => projects/examples}/GPIO/GPIO.C (100%) rename {examples => projects/examples}/GPIO/GPIO.H (100%) rename {examples => projects/examples}/GPIO/Main.C (100%) rename {examples => projects/examples}/IAP/CH554IAPDemo.C (100%) rename {examples => projects/examples}/PWM/Main.C (100%) rename {examples => projects/examples}/PWM/PWM.C (100%) rename {examples => projects/examples}/PWM/PWM.H (100%) rename {examples => projects/examples}/Public/CH554.H (100%) rename {examples => projects/examples}/Public/Debug.C (100%) rename {examples => projects/examples}/Public/Debug.H (100%) rename {examples => projects/examples}/SPI/MainMaster.C (100%) rename {examples => projects/examples}/SPI/MainSlave.C (100%) rename {examples => projects/examples}/SPI/SPI.C (100%) rename {examples => projects/examples}/SPI/SPI.H (100%) rename {examples => projects/examples}/Timer/Main.C (100%) rename {examples => projects/examples}/Timer/Timer.C (100%) rename {examples => projects/examples}/Timer/Timer.H (100%) rename {examples => projects/examples}/TouchKey/Main.C (100%) rename {examples => projects/examples}/TouchKey/TouchKey.C (100%) rename {examples => projects/examples}/TouchKey/TouchKey.H (100%) rename {examples => projects/examples}/USB/Device/CompatibilityHID.C (100%) rename {examples => projects/examples}/USB/Device/CompositeKM.C (100%) rename {examples => projects/examples}/USB/Device/VendorDefinedDev.C (100%) rename {examples => projects/examples}/USB/Host/USBHostHUB_KM.C (100%) diff --git a/README.md b/README.md index 434122d..ff09220 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,25 @@ # [CH552](https://github.com/mcuyun/CH552) -WCH CH552单片机 - [![sites](mcuyun/mcuyun.png)](http://www.mcuyun.com) -#### 更多MCU:[mcuyun](https://github.com/mcuyun/whyme)可访问 www.mcuyun.com +#### 设备归属:[WCH](https://github.com/mcuyun/WCH) ---- - -## 简介 - -最廉价的USB通信单片机,如果要做一款低成本的交互式产品,该平台十分合适 +## [简介](https://github.com/mcuyun/CH552/wiki) 基于8051内核24MHz主频,足够丰富的外设和USB通信能力,项目的工程通过keil c51编译开发,开发环境相对友好。 ---- -## 组成 +## [组成](mcuyun/) -#### LCD +#### [数据手册](docs/) -包括LCD通信工程代码 +包括芯片手册和参考设计 -#### HID +#### [工程文件](projects/) -包括一个HID通信的工程代码 - -#### examples - -- 同CH554的官方例程 - -更多资源:http://www.wch.cn/downloads/category/28.html - -- 程序下载工具 - -http://www.wch.cn/download/WCHISPTool_Setup_exe.html --- -### www.mcuyun.com | qitas@qitas.cn \ No newline at end of file +### [悠云,为嵌入式](http://www.mcuyun.com) +#### qitas@qitas.cn +#### 2019-1-4 \ No newline at end of file diff --git a/mcuyun/ch552 .PDF b/docs/ch552 .PDF similarity index 100% rename from mcuyun/ch552 .PDF rename to docs/ch552 .PDF diff --git a/HID/.gitignore b/projects/HID/.gitignore similarity index 100% rename from HID/.gitignore rename to projects/HID/.gitignore diff --git a/HID/HID.uvproj b/projects/HID/HID.uvproj similarity index 100% rename from HID/HID.uvproj rename to projects/HID/HID.uvproj diff --git a/HID/usr/CH554.H b/projects/HID/usr/CH554.H similarity index 100% rename from HID/usr/CH554.H rename to projects/HID/usr/CH554.H diff --git a/HID/usr/DEBUG.C b/projects/HID/usr/DEBUG.C similarity index 100% rename from HID/usr/DEBUG.C rename to projects/HID/usr/DEBUG.C diff --git a/HID/usr/DEBUG.H b/projects/HID/usr/DEBUG.H similarity index 100% rename from HID/usr/DEBUG.H rename to projects/HID/usr/DEBUG.H diff --git a/HID/usr/Key.c b/projects/HID/usr/Key.c similarity index 100% rename from HID/usr/Key.c rename to projects/HID/usr/Key.c diff --git a/HID/usr/Key.h b/projects/HID/usr/Key.h similarity index 100% rename from HID/usr/Key.h rename to projects/HID/usr/Key.h diff --git a/HID/usr/USB.c b/projects/HID/usr/USB.c similarity index 100% rename from HID/usr/USB.c rename to projects/HID/usr/USB.c diff --git a/HID/usr/USB.h b/projects/HID/usr/USB.h similarity index 100% rename from HID/usr/USB.h rename to projects/HID/usr/USB.h diff --git a/HID/usr/main.c b/projects/HID/usr/main.c similarity index 100% rename from HID/usr/main.c rename to projects/HID/usr/main.c diff --git a/LCD/.gitignore b/projects/LCD/.gitignore similarity index 100% rename from LCD/.gitignore rename to projects/LCD/.gitignore diff --git a/LCD/CH552.uvproj b/projects/LCD/CH552.uvproj similarity index 100% rename from LCD/CH552.uvproj rename to projects/LCD/CH552.uvproj diff --git a/LCD/usr/CH554.h b/projects/LCD/usr/CH554.h similarity index 100% rename from LCD/usr/CH554.h rename to projects/LCD/usr/CH554.h diff --git a/LCD/usr/GPIO.c b/projects/LCD/usr/GPIO.c similarity index 100% rename from LCD/usr/GPIO.c rename to projects/LCD/usr/GPIO.c diff --git a/LCD/usr/GPIO.h b/projects/LCD/usr/GPIO.h similarity index 100% rename from LCD/usr/GPIO.h rename to projects/LCD/usr/GPIO.h diff --git a/LCD/usr/LCD.c b/projects/LCD/usr/LCD.c similarity index 100% rename from LCD/usr/LCD.c rename to projects/LCD/usr/LCD.c diff --git a/LCD/usr/LCD.h b/projects/LCD/usr/LCD.h similarity index 100% rename from LCD/usr/LCD.h rename to projects/LCD/usr/LCD.h diff --git a/LCD/usr/STARTUP.A51 b/projects/LCD/usr/STARTUP.A51 similarity index 100% rename from LCD/usr/STARTUP.A51 rename to projects/LCD/usr/STARTUP.A51 diff --git a/LCD/usr/Timer.c b/projects/LCD/usr/Timer.c similarity index 100% rename from LCD/usr/Timer.c rename to projects/LCD/usr/Timer.c diff --git a/LCD/usr/Timer.h b/projects/LCD/usr/Timer.h similarity index 100% rename from LCD/usr/Timer.h rename to projects/LCD/usr/Timer.h diff --git a/LCD/usr/USB.c b/projects/LCD/usr/USB.c similarity index 100% rename from LCD/usr/USB.c rename to projects/LCD/usr/USB.c diff --git a/LCD/usr/USB.h b/projects/LCD/usr/USB.h similarity index 100% rename from LCD/usr/USB.h rename to projects/LCD/usr/USB.h diff --git a/LCD/usr/common.c b/projects/LCD/usr/common.c similarity index 100% rename from LCD/usr/common.c rename to projects/LCD/usr/common.c diff --git a/LCD/usr/common.h b/projects/LCD/usr/common.h similarity index 100% rename from LCD/usr/common.h rename to projects/LCD/usr/common.h diff --git a/LCD/usr/font.c b/projects/LCD/usr/font.c similarity index 100% rename from LCD/usr/font.c rename to projects/LCD/usr/font.c diff --git a/LCD/usr/font.h b/projects/LCD/usr/font.h similarity index 100% rename from LCD/usr/font.h rename to projects/LCD/usr/font.h diff --git a/LCD/usr/main.c b/projects/LCD/usr/main.c similarity index 100% rename from LCD/usr/main.c rename to projects/LCD/usr/main.c diff --git a/examples/ADC/ADC.C b/projects/examples/ADC/ADC.C similarity index 100% rename from examples/ADC/ADC.C rename to projects/examples/ADC/ADC.C diff --git a/examples/ADC/ADC.H b/projects/examples/ADC/ADC.H similarity index 100% rename from examples/ADC/ADC.H rename to projects/examples/ADC/ADC.H diff --git a/examples/ADC/Main.C b/projects/examples/ADC/Main.C similarity index 100% rename from examples/ADC/Main.C rename to projects/examples/ADC/Main.C diff --git a/examples/CH552.uvproj b/projects/examples/CH552.uvproj similarity index 100% rename from examples/CH552.uvproj rename to projects/examples/CH552.uvproj diff --git a/examples/DataFlash/DataFlash.C b/projects/examples/DataFlash/DataFlash.C similarity index 100% rename from examples/DataFlash/DataFlash.C rename to projects/examples/DataFlash/DataFlash.C diff --git a/examples/DataFlash/DataFlash.H b/projects/examples/DataFlash/DataFlash.H similarity index 100% rename from examples/DataFlash/DataFlash.H rename to projects/examples/DataFlash/DataFlash.H diff --git a/examples/DataFlash/Main.C b/projects/examples/DataFlash/Main.C similarity index 100% rename from examples/DataFlash/Main.C rename to projects/examples/DataFlash/Main.C diff --git a/examples/GPIO/GPIO.C b/projects/examples/GPIO/GPIO.C similarity index 100% rename from examples/GPIO/GPIO.C rename to projects/examples/GPIO/GPIO.C diff --git a/examples/GPIO/GPIO.H b/projects/examples/GPIO/GPIO.H similarity index 100% rename from examples/GPIO/GPIO.H rename to projects/examples/GPIO/GPIO.H diff --git a/examples/GPIO/Main.C b/projects/examples/GPIO/Main.C similarity index 100% rename from examples/GPIO/Main.C rename to projects/examples/GPIO/Main.C diff --git a/examples/IAP/CH554IAPDemo.C b/projects/examples/IAP/CH554IAPDemo.C similarity index 100% rename from examples/IAP/CH554IAPDemo.C rename to projects/examples/IAP/CH554IAPDemo.C diff --git a/examples/PWM/Main.C b/projects/examples/PWM/Main.C similarity index 100% rename from examples/PWM/Main.C rename to projects/examples/PWM/Main.C diff --git a/examples/PWM/PWM.C b/projects/examples/PWM/PWM.C similarity index 100% rename from examples/PWM/PWM.C rename to projects/examples/PWM/PWM.C diff --git a/examples/PWM/PWM.H b/projects/examples/PWM/PWM.H similarity index 100% rename from examples/PWM/PWM.H rename to projects/examples/PWM/PWM.H diff --git a/examples/Public/CH554.H b/projects/examples/Public/CH554.H similarity index 100% rename from examples/Public/CH554.H rename to projects/examples/Public/CH554.H diff --git a/examples/Public/Debug.C b/projects/examples/Public/Debug.C similarity index 100% rename from examples/Public/Debug.C rename to projects/examples/Public/Debug.C diff --git a/examples/Public/Debug.H b/projects/examples/Public/Debug.H similarity index 100% rename from examples/Public/Debug.H rename to projects/examples/Public/Debug.H diff --git a/examples/SPI/MainMaster.C b/projects/examples/SPI/MainMaster.C similarity index 100% rename from examples/SPI/MainMaster.C rename to projects/examples/SPI/MainMaster.C diff --git a/examples/SPI/MainSlave.C b/projects/examples/SPI/MainSlave.C similarity index 100% rename from examples/SPI/MainSlave.C rename to projects/examples/SPI/MainSlave.C diff --git a/examples/SPI/SPI.C b/projects/examples/SPI/SPI.C similarity index 100% rename from examples/SPI/SPI.C rename to projects/examples/SPI/SPI.C diff --git a/examples/SPI/SPI.H b/projects/examples/SPI/SPI.H similarity index 100% rename from examples/SPI/SPI.H rename to projects/examples/SPI/SPI.H diff --git a/examples/Timer/Main.C b/projects/examples/Timer/Main.C similarity index 100% rename from examples/Timer/Main.C rename to projects/examples/Timer/Main.C diff --git a/examples/Timer/Timer.C b/projects/examples/Timer/Timer.C similarity index 100% rename from examples/Timer/Timer.C rename to projects/examples/Timer/Timer.C diff --git a/examples/Timer/Timer.H b/projects/examples/Timer/Timer.H similarity index 100% rename from examples/Timer/Timer.H rename to projects/examples/Timer/Timer.H diff --git a/examples/TouchKey/Main.C b/projects/examples/TouchKey/Main.C similarity index 100% rename from examples/TouchKey/Main.C rename to projects/examples/TouchKey/Main.C diff --git a/examples/TouchKey/TouchKey.C b/projects/examples/TouchKey/TouchKey.C similarity index 100% rename from examples/TouchKey/TouchKey.C rename to projects/examples/TouchKey/TouchKey.C diff --git a/examples/TouchKey/TouchKey.H b/projects/examples/TouchKey/TouchKey.H similarity index 100% rename from examples/TouchKey/TouchKey.H rename to projects/examples/TouchKey/TouchKey.H diff --git a/examples/USB/Device/CompatibilityHID.C b/projects/examples/USB/Device/CompatibilityHID.C similarity index 100% rename from examples/USB/Device/CompatibilityHID.C rename to projects/examples/USB/Device/CompatibilityHID.C diff --git a/examples/USB/Device/CompositeKM.C b/projects/examples/USB/Device/CompositeKM.C similarity index 100% rename from examples/USB/Device/CompositeKM.C rename to projects/examples/USB/Device/CompositeKM.C diff --git a/examples/USB/Device/VendorDefinedDev.C b/projects/examples/USB/Device/VendorDefinedDev.C similarity index 100% rename from examples/USB/Device/VendorDefinedDev.C rename to projects/examples/USB/Device/VendorDefinedDev.C diff --git a/examples/USB/Host/USBHostHUB_KM.C b/projects/examples/USB/Host/USBHostHUB_KM.C similarity index 100% rename from examples/USB/Host/USBHostHUB_KM.C rename to projects/examples/USB/Host/USBHostHUB_KM.C