pub use atsamd_hal as hal;
pub use hal::pac;
Import the prelude to gain convenient access to helper traits
Configure the SERCOM peripherals
Delays with WFI sleep while we wait using a timer
helper struct to calculate divider & cycles settings for timers.
Maps the pins to their arduino names and the numbers printed on the board.
ResetCause represents the reason the MCU was reset.
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.
Convenience for setting up the D2 and D0 pins to operate as UART RX/TX (respectively) running at the specified baud.