WCH CH56x PAC Generated by svd2rust. A project belonging to ZEROSP (ZRY Embedded Rust Open Source Project).

zry 24fa9de45d First Version 2021-09-29 07:51 2 years ago
pre-work 24fa9de45d First Version 2021-09-29 07:51 2 years ago
src 24fa9de45d First Version 2021-09-29 07:51 2 years ago
.gitignore 24fa9de45d First Version 2021-09-29 07:51 2 years ago
Cargo.toml 24fa9de45d First Version 2021-09-29 07:51 2 years ago
LICENSE cdeb1f1f71 Initial commit 2 years ago
Makefile 24fa9de45d First Version 2021-09-29 07:51 2 years ago
README.md 24fa9de45d First Version 2021-09-29 07:51 2 years ago

README.md

zerosp-ch56x-pac

WCH CH56x PAC Generated by svd2rust. A project belonging to ZEROSP (ZRY Embedded Rust Open Source Project).

THIS IS A NON-OFFICIAL PAC CRATE WITHOUT WARRANTY OF ANY KIND!

沁恒CH56x MCU的PAC,由svd2rust生成。 这是一个非官方的PAC crate,作者不对其质量作任何形式的保证。

ZEROSP

ZEROSP - ZRY Embedded Rust Open Source Project.

ZEROSP is a series of embedded rust open source projects by ZRY. I use Rust-Lang for some of my embedded development work, parts of them for personal amater projects, others for my commercial projects. I make some parts of those project open source with MIT License, but I have no time to maintaince them as a common open source projects. I have no warranty for them. If you have some issue about these project belonging ZEROSP, please fork/clone and fix them yourself. I may ignore issue comment because I may have no time to fix them.

I will use "zerosp-" prefix in crate name when I publish these crates onto crates.io, includes PAC and HAL, because I don't want to occupy the crate name of the MCU model with suffix "-pac" or "-hal".

The projects belonging ZEROSP may have no documentations or only have Chinese documentations.

ZEROSP是ZRY开展的一系列Rust嵌入式开源项目。 我使用Rust语言进行一部分的嵌入式开发工作,这些工作一部分是为了我自己的业余项目,一部分是为了我的商业项目。我将其中的一部分用MIT License开源,但我没有时间像市面上绝大部分开源项目那样,投入时间去维护它们(我只在自己需要的时候进行修改/扩展)。我不对项目的质量作任何形式的保证。如果您对项目有什么疑问,建议您自己fork/clone并修改,我可能会因为没有时间而忽略提出的issue。

ZEROSP下的项目发布到crate.io上的时候,crate名称以"zerosp-"前缀开头,包括PAC和HAL,因为我不想占用MCU型号加上"-pac"和"-hal"后缀的crate名称。

ZEROSP下的项目可能会没有文档或只有中文文档。

CH56X

CH56X是南京沁恒微电子股份有限公司推出的MCU/接口芯片系列。

http://www.wch.cn/products/CH569.html

我由于商业项目需要申请了沁恒的CH569评估板,并准备采购一定数量的芯片。由于这款芯片很有意思,我想为其完善一下Rust开发生态。

## 关于svd2rust

该PAC使用svd2rust生成。沁恒提供的SVD文件有一些问题无法成功被svd2rust读取,我对其进行了一些修改,但我暂时不能确保这些修改是正确的,因为部分信息缺乏可以参考的文档,我也暂时没有时间进行覆盖测试,我只能在使用该PAC的项目开发过程中对【使用到的】那部分外设进行测试,对这期间发现的问题进行修改。由于我短时间内不可能用到全部的外设,所以会有大量外设处于未测试状态。