#embedded-hal #cortex-m #arm

no-std atsamd-hal

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

30 releases (16 breaking)

new 0.20.2 Dec 11, 2024
0.20.0 Nov 28, 2024
0.17.0 May 3, 2024
0.16.0 Jul 15, 2023
0.4.1 Mar 4, 2019

#97 in Embedded development

Download history 2431/week @ 2024-08-21 2974/week @ 2024-08-28 4088/week @ 2024-09-04 1651/week @ 2024-09-11 1145/week @ 2024-09-18 2125/week @ 2024-09-25 1282/week @ 2024-10-02 1400/week @ 2024-10-09 2994/week @ 2024-10-16 2459/week @ 2024-10-23 1323/week @ 2024-10-30 1523/week @ 2024-11-06 1542/week @ 2024-11-13 1746/week @ 2024-11-20 1603/week @ 2024-11-27 2036/week @ 2024-12-04

7,375 downloads per month
Used in 50 crates (38 directly)

MIT/Apache

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

~2.5–4MB
~75K SLoC