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

no-std atsamd-hal

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

22 releases (12 breaking)

0.16.0 Jul 15, 2023
0.15.1 May 8, 2022
0.15.0 Mar 29, 2022
0.14.0 Dec 25, 2021
0.4.1 Mar 4, 2019

#281 in Embedded development

Download history 5301/week @ 2023-12-15 4867/week @ 2023-12-22 5510/week @ 2023-12-29 6723/week @ 2024-01-05 5426/week @ 2024-01-12 7304/week @ 2024-01-19 5536/week @ 2024-01-26 4371/week @ 2024-02-02 4663/week @ 2024-02-09 4201/week @ 2024-02-16 3792/week @ 2024-02-23 4327/week @ 2024-03-01 3528/week @ 2024-03-08 2917/week @ 2024-03-15 2711/week @ 2024-03-22 2324/week @ 2024-03-29

12,011 downloads per month
Used in 49 crates (37 directly)

MIT/Apache

24MB
801K 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