Crate atsamd_hal
source · [−]Re-exports
Modules
Analogue-to-Digital Conversion
NVM Software Calibration Area Mapping
Configuring the system clock sources.
You will typically need to create an instance of
GenericClockController
before you can set up most of the peripherals on the atsamd21 device.
The other types in this module are used to enforce at compile time
that the peripherals have been correctly configured.Delays
GPIO
Import the prelude to gain convenient access to helper traits
Real-time clock/counter
Configure the SERCOM peripherals
Delays with WFI sleep while we wait using a timer
Time units
Working with timer counter hardware
helper struct to calculate divider & cycles settings for timers.
Module supporting type-level programming
Macros
Helper macro to give meaningful names to peripherals
Helper macro to give meaningful names to GPIO pins
Enums
ResetCause represents the reason the MCU was reset.
Functions
Returns the cause of the last reset.
Returns the serial number of the chip as an array of bytes. The serial
number is only guaranteed to be unique if all 16 bytes are used.
Returns the serial number of the chip as 4 32-bit integers. The serial
number is only guaranteed to be unique if all 128 bits are used.