Code Monkey home page Code Monkey logo

ch32-rs-nightlies's Introduction

ch32-rs-nightlies

PACs.

ch32-rs-nightlies's People

Contributors

andelf avatar marcuss2 avatar

Stargazers

Vladimir Roncevic avatar  avatar 高庆丰 avatar

Watchers

 avatar Vladimir Roncevic avatar  avatar

ch32-rs-nightlies's Issues

CH32V103 has USB Type-C controle regiser?

Thank you for providing this Rust PAC for CH32V series MPUs. I am happy to writing program by using this crate.

But I found a code defining USB type-c controle register

///0x38 - USB type-C control
pub usb_type_c_ctrl: USB_TYPE_C_CTRL,

on line 46512 in ch32v1/src/ch32v103/mod.rs.

I can't find this register on the CH32x Datasheet ver. 1.30.
I beleive both CH32V103 and CH32F103 don't support USB Type-C.

Do we need this code? I am happy to make a pull request to remove this.

Thank you

Patch original SVDs file so that they generate more graceful APIs

As documented in svd2rust, <enumeratedValues> tag is supported to generate enum for enumerative values(e.g. RCC_BDCTLR.RTCSEL and PWR_CTLR.PLS and so forth). It is better for hal-crates creators that they don't need to enumerate the value themselves. I suggest that the svd files should be patched to support enumerative values.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.