#no-std #arm #cortex-m #embedded-hal

no-std atsamd-hal

HAL and Peripheral access API for ATSAMD11, ATSAMD21, ATSAMD51, ATSAME51, ATSAME53 and ATSAME54 microcontrollers

21 releases (11 breaking)

Uses new Rust 2021

0.15.1 May 8, 2022
0.15.0 Mar 29, 2022
0.14.0 Dec 25, 2021
0.13.0 Sep 27, 2021
0.4.1 Mar 4, 2019

#8 in Embedded development

Download history 2060/week @ 2022-03-15 3202/week @ 2022-03-22 3943/week @ 2022-03-29 1208/week @ 2022-04-05 2037/week @ 2022-04-12 1674/week @ 2022-04-19 1392/week @ 2022-04-26 1999/week @ 2022-05-03 1930/week @ 2022-05-10 1921/week @ 2022-05-17 1850/week @ 2022-05-24 1729/week @ 2022-05-31 3611/week @ 2022-06-07 2110/week @ 2022-06-14 1510/week @ 2022-06-21 1256/week @ 2022-06-28

8,774 downloads per month
Used in 47 crates (36 directly)

MIT/Apache

24MB
796K SLoC

HAL for working with atsamd & atsame devices

This crate provides a type-safe API for working with samd11, samd21, samd51, same51, same53, and same54 based devices.

Crates.io Docs License

Documentation

Supported Devices

  • atsamd11c (via the samd11c feature) [pac]
  • atsamd21e (via the samd21e feature) [pac]
  • atsamd21g (via the samd21g feature) [pac]
  • atsamd21j (via the samd21j feature) [pac]
  • atsamd51g (via the samd51g feature) [pac]
  • atsamd51j (via the samd51j feature) [pac]
  • atsamd51j (via the samd51j feature) [pac]
  • atsamd51n (via the samd51n feature) [pac]
  • atsamd51p (via the samd51p feature) [pac]
  • atsamd51p (via the samd51p feature) [pac]
  • atsame51g (via the same51g feature) [pac]
  • atsame51j (via the same51j feature) [pac]
  • atsame51n (via the same51n feature) [pac]
  • atsame53j (via the same53j feature) [pac]
  • atsame53n (via the same53n feature) [pac]
  • atsame54n (via the same54n feature) [pac]
  • atsame54p (via the same54p feature) [pac]

This crate can support other variants in a similar fashion; pull requests for this are welcomed!

Examples?

Check out the feather_m0 board support crate examples:

https://github.com/atsamd-rs/atsamd/tree/master/boards/feather_m0/examples

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