Crate xiao_m0[−][src]
Re-exports
pub use atsamd_hal as hal;
pub use hal::pac;
Modules
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
helper struct to calculate divider & cycles settings for timers.
Structs
Enums
ResetCause represents the reason the MCU was reset.
Functions
Convenience function for setting up the A4/D4/SDA and A5/D5/SCL pins as an
I2C master operating at speed
.
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.
Convenience function for setting up the A8/D8/SCK, A10/D10/MOSI, and A9/D9/MISO pins as an SPI master in SPI mode 0.
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 function for setting up the TX (A6/D6) and RX (A7/D7) pins as a
UART operating at baud
.
Attribute Macros
Attribute to declare the entry point of the program