Re-exports§
pub use embedded_hal_1 as ehal;
pub use embedded_hal_nb as ehal_nb;
pub use embedded_io;
pub use fugit;
pub use nb;
pub use paste;
pub use embedded_hal_async as ehal_async;
pub use embedded_io_async;
pub use atsamd51p as pac;
Modules§
- adc
- Analogue-to-Digital Conversion
- aes
- AES - Advanced Encryption Standard
- async_
hal - Asynchronous HAL APIs
- calibration
- NVM Software Calibration Area Mapping
- clock
- Clocking API
- delay
- Delays
- dmac
- Direct Memory Access Controller
- dsu
- Device Service Unit
- eic
- External Interrupt Controller
- gpio
- GPIO
- icm
- ICM - Integrity Check Module
- interrupt
- Primitives for manipulating interrupts
- nvm
- Non-volatile Memory Controller
- prelude
- Import the prelude to gain convenient access to helper traits
- pukcc
- Public Key Cryptography Controller (PUKCC)
- pwm
- qspi
- rtc
- Real-time clock/counter
- sercom
- Configure the SERCOM peripherals
- sleeping_
delay - Delays with WFI sleep while we wait using a timer
- time
- Time units
- timer
- Working with timer counter hardware
- timer_
params - helper struct to calculate divider & cycles settings for timers.
- timer_
traits - trng
- typelevel
- Module supporting type-level programming
- usb
- USB Device support
- watchdog
Macros§
- bind_
interrupts - Bind interrupt sources to a single handler each.
- bind_
multiple_ interrupts - Bind multiple interrupt sources to the same interrupt handler.
- bsp_
peripherals - Helper macro to give meaningful names to peripherals
- bsp_
pins - Helper macro to give meaningful names to GPIO pins
- dbgprint
- with_
num_ channels
Enums§
- Reset
Cause - ResetCause represents the reason the MCU was reset.
Functions§
- reset_
cause - Returns the cause of the last reset.
- serial_
number - 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.
- split_
serial_ number - 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.