docs.rs failed to build sam3x8e-pac-0.1.6-dev
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
sam3x8e-pac
This is a Peripheral Access Crate for Atmel SAM3X8E microcontrollers.
The crate itself is generated programmatically from the SVD as found on Keil's site. The SVD's been minimally patched before being fed into chiptool to generate Rust code.
Supported Hardware
The SAM3X8E is most commonly found in the Arduino Due, but can also be found in the Macchina M2.
Support for other variants in the SAM3 family should be possible by feeding the appropriate SVD to the generate.sh script in this crate, as of yet this not been attempted.
TODO
- Fix the pcer/pcdr registers. Offset is wrong.
- Add some examples.
- Update doc strings for the arrayized items.
Updating
To regenerate the Rust code run the generate.sh script from this directory.