Crate metro_m0 [−] [src]
Re-exports
pub use hal::atsamd21g18a::*; |
pub use hal::*; |
Structs
Pins |
Maps the pins to their arduino names and the numbers printed on the board. |
Functions
flash_spi_master |
Convenience for accessing the on-board SPI Flash device. This powers up SERCOM5 and configures it for use as an SPI Master. |
i2c_master |
Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency. |
pins |
Returns the pins for the device |
spi_master |
Convenience for setting up the 2x3 header block for SPI.
This powers up SERCOM4 and configures it for use as an
SPI Master in SPI Mode 0.
Unlike the |