Crate circuit_playground_express Copy item path 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 flash_spi_master Convenience for accessing the on-board SPI Flash device.
This powers up SERCOM3 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. spi_master Convenience for setting up the SPI bus on A1, A2, A3.
This powers up SERCOM0 and configures it for use as an
SPI Master in SPI Mode 0.
Unlike the flash_spi_master function, this
one does not accept a CS pin; configuring a pin for CS
is the responsibility of the caller, because it could be
any OutputPin, or even a pulled up line on the slave. uart Convenience for setting up the labelled RX, TX pins to
operate as a UART device running at the specified baud. AccelSercom Alias for the Sercom1 peripheral FlashPads SPI pads for the flash chip FlashSpi SPI master for the onboard SPI flash chip. I2c I2C master for the labelled I2C peripheral I2cPads I2C pads for the labelled I2C peripheral I2cSercom Alias for the Sercom5 peripheral Spi SPI master for the labelled SPI peripheral SpiPads SPI pads for the labelled SPI peripheral SpiSercom Alias for the Sercom0 peripheral Uart UART device for the labelled RX & TX pins UartPads UART pads for the labelled RX & TX pins UartSercom Alias for the Sercom4 peripheral entry