#embedded-hal #cortex-m #arm

no-std atsamd-hal

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

27 releases (15 breaking)

new 0.19.0 Nov 21, 2024
0.17.0 May 3, 2024
0.16.0 Jul 15, 2023
0.15.1 May 8, 2022
0.4.1 Mar 4, 2019

#98 in Embedded development

Download history 1039/week @ 2024-08-01 973/week @ 2024-08-08 5640/week @ 2024-08-15 1394/week @ 2024-08-22 4392/week @ 2024-08-29 3001/week @ 2024-09-05 1479/week @ 2024-09-12 1067/week @ 2024-09-19 2107/week @ 2024-09-26 1270/week @ 2024-10-03 1484/week @ 2024-10-10 3243/week @ 2024-10-17 2353/week @ 2024-10-24 1066/week @ 2024-10-31 1575/week @ 2024-11-07 1396/week @ 2024-11-14

6,869 downloads per month
Used in 50 crates (38 directly)

MIT/Apache

16MB
429K 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

~4.5MB
~91K SLoC