no-std d1-pac

Peripheral access API for Allwinner D1 SoC generated from unofficial SVD file

32 releases

0.0.32 Nov 28, 2023
0.0.31 Jan 22, 2023
0.0.30 Oct 25, 2022
0.0.25 Jul 23, 2022
0.0.4 Dec 21, 2021

#232 in Hardware support

Download history 154/week @ 2024-07-28 72/week @ 2024-08-04 197/week @ 2024-08-11 1/week @ 2024-08-18 86/week @ 2024-08-25 1/week @ 2024-09-01 16/week @ 2024-09-08 98/week @ 2024-09-22 102/week @ 2024-09-29 111/week @ 2024-10-06 39/week @ 2024-10-13 8/week @ 2024-10-20 40/week @ 2024-10-27 30/week @ 2024-11-03

120 downloads per month

MIT/Apache

8MB
205K SLoC

d1-pac

crates.io Continuous integration

Peripheral access API for Allwinner D1 SoC generated from unofficial SVD file

This project is currently developed and maintained by duskmoon (Campbell He).

Introduction

D1 is an SoC developed and sold by Allwinner. There is another SoC named D1S (also called F133) which is a "D1" with a lack of some features.

This crate provides an unofficial version CMSIS-SVD file of D1 SoC and a Rust crate generated via svd2rust. Most features should be available on D1S.

Actually only tested on D1S so far

Most peripherals only provide the address of registers, a few peripherals add the contents of each field of registers. For more details, please refer to the official user manual and datasheet provided by Allwinner.

It might be hard to find the user manual.

D1 User Manual v0.1 provided by RVBoards and F133 User Manual v1.0 provided by Mangopi can be used as reference

d1-pac is now developed according to D1 User Manual v0.1

I have now added the descriptions of most of the peripherals to the SVD file. If you find the descriptions are wrong or poorly named in use, please feel free to submit an Issue or Pull Request to improve this crate.

Documentation

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies