py32-metapac

Crates.iopy32-metapac
lib.rspy32-metapac
version
sourcesrc
created_at2024-03-12 13:11:41.238956
updated_at2024-12-10 06:13:28.928324
descriptionPeripheral Access Crate (PAC) for all PY32 chips, including metadata.
homepage
repositoryhttps://github.com/py32-rs/py32-data
max_upload_size
id1170614
Cargo.toml error:TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Decaday (decaday)

documentation

README

py32-data & py32-metapac

Crates.io Crates.io docs.rs

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

TODOs

  • Configure the additional registers for peripherals like USART and I2C on the PY32F072, which has more registers compared to version 1 (F030).

  • Set up configurations for cut-down variants such as PY32F003, PY32F002A, and PY32F040.

  • Extend USB FRAMENUM and OUTCOUNT Fields to 11 bits.

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 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.

Reference:

License

This project is licensed under either of

at your option.

Commit count: 88

cargo fmt