3 unstable releases
new 0.1.0 | Nov 21, 2024 |
---|---|
0.0.1 | Nov 6, 2024 |
0.0.0 | Mar 12, 2024 |
#316 in Hardware support
135 downloads per month
Used in py32-hal
1.5MB
31K
SLoC
py32-data & py32-metapac
All-in-one Rust PAC(Peripheral Access Crate) for Puya MCU Series.
This repo is adapted from embassy-rs/stm32-data.
Contributions are welcome!
You can check the peripheral version corresponding to the microcontroller here.
Families
Date: 20240312
- Low Cost
- PY32F002A
- PY32F002B
- PY32F003
- Mainstream
- PY32F030
- PY32F031
- PY32F040
- PY32F071
- PY32F072
- PY32F403
- Low Power
- PY32L020
- Moter Control
- PY32M010
- PY32M020
- PY32M030
- PY32M031
- PY32M070
- PY32MD
- Touch Control
- PY32T020
License
This project is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contirbute
You can refer to the relevant descriptions and explanations inembassy-rs/stm32-data repo.
The difference is that our data sources are fewer. In addition to the content already present in this repo, the data can come from the processing of the PY32 C language SDK header files, datasheets, and Reference Manual, etc.
In fact, the IPs of peripherals in different PY32 series may be consistent, and different series can refer to each other.
Moreover, some series use the same die(e.g. F003, F002A, F030 use same die), so support a new serie might not require much work.
Rust 嵌入式开发中的外设寄存器访问:从 svd2rust 到 chiptool 和 metapac - 以 hpm-data 为例 | 猫·仁波切
Dependencies
~710KB