sam3x8e-pac

Crates.iosam3x8e-pac
lib.rssam3x8e-pac
version0.1.6-dev
created_at2025-12-28 00:59:33.87258+00
updated_at2025-12-28 00:59:33.87258+00
descriptionPeripheral Access Crate (PAC) for the Atmel SAM3X8E.
homepagehttps://sr.ht/~az1/sam3x-rs/
repository
max_upload_size
id2008091
size2,972,658
(inferiorhumanorgans)

documentation

README

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.

Commit count: 0

cargo fmt