Registry / other / atsamd-hal

atsamd-hal

JSON →
library0.23.3rscratesunverified

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

# Cargo.toml [dependencies] atsamd-hal = "0.23.3"
INSTALL
IMPORT
SIG · ATSAMD-HAL
A
atsamd-hal
otherrustv0.23.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Peripherals
use atsamd_hal::target_device::Peripherals;

Takes the microcontroller peripherals for use in embedded applications.

use atsamd_hal::target_device::Peripherals; fn main() { let peripherals = Peripherals::take().unwrap(); println!("Peripherals acquired"); }
Debug
Known issues
gotchaRequires specific microcontroller target and may need board-specific configuration.
fix
Ensure you are compiling for the correct ATSAMD target and have the appropriate board support.
affects: >=0.23.3
Upgrade
Version history
0.23.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Meta
2
OpenAI (training)
1
Resources
atsamd-hal — cargo add atsamd-hal · libregistry