Crate feather_m0
Source pub use atsamd_hal as hal;
pub use hal::ehal;
pub use hal::pac;
pub use pins::*;
- pins
- Definitions related to pins and pin aliases
- periph_alias
- Refer to fields of the
Peripherals
struct by alternate names - pin_alias
- Refer to fields of the
Pins
struct by alternate names
- i2c_master
- Convenience for setting up the labelled SDA, SCL pins to
operate as an I2C master running at the specified frequency.
- spi_master
- Convenience for setting up the labelled SPI peripheral.
This powers up the SPI SERCOM and configures it for use as an
SPI Master in SPI Mode 0.
- uart
- Convenience for setting up the labelled RX, TX pins to
operate as a UART device running at the specified baud.
- I2c
- I2C master for the labelled I2C peripheral
- I2cPads
- I2C pads for the labelled I2C peripheral
- I2cSercom
- Alias for the
Sercom3
peripheral - Spi
- SPI master for the labelled SPI peripheral
- SpiPads
- SPI pads for the labelled SPI peripheral
- SpiSercom
- Alias for the
Sercom4
peripheral - Uart
- UART device for the labelled RX & TX pins
- UartPads
- UART pads for the labelled RX & TX pins
- UartSercom
- Alias for the
Sercom0
peripheral
- entry