Re-exports

pub use atsamd_hal as hal;
pub use hal::ehal;
pub use hal::pac;

Macros

Refer to fields of the Pins struct by alternate names

Structs

BSP replacement for the HAL Pins type

Constants

DynPinId for the Led alias.

DynPinMode for the Led alias.

DynPinId for the Miso alias.

DynPinMode for the Miso alias.

DynPinId for the Mosi alias.

DynPinMode for the Mosi alias.

DynPinId for the Rx alias.

DynPinMode for the Rx alias.

DynPinId for the Sck alias.

DynPinMode for the Sck alias.

DynPinId for the Scl alias.

DynPinMode for the Scl alias.

DynPinId for the Sda alias.

DynPinMode for the Sda alias.

DynPinId for the Tx alias.

DynPinMode for the Tx alias.

DynPinId for the UsbDm alias.

DynPinMode for the UsbDm alias.

DynPinId for the UsbDp alias.

DynPinMode for the UsbDp alias.

Functions

Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.

Convenience for setting up the labelled SPI peripheral. This powers up SERCOM1 and configures it for use as an SPI Master in SPI Mode 0.

Convenience for setting up the labelled RX, TX pins to operate as a UART device running at the specified baud.

Type Definitions

Alias for a configured Pin

PinId for the Led alias

PinMode for the Led alias

Alias for a configured Pin

PinId for the Miso alias

PinMode for the Miso alias

Alias for a configured Pin

PinId for the Mosi alias

PinMode for the Mosi alias

Alias for a configured Pin

PinId for the Rx alias

PinMode for the Rx alias

Alias for a configured Pin

PinId for the Sck alias

PinMode for the Sck alias

Alias for a configured Pin

PinId for the Scl alias

PinMode for the Scl alias

Alias for a configured Pin

PinId for the Sda alias

PinMode for the Sda alias

SPI master for the labelled SPI peripheral

You can use these pads with other, user-defined spi::Configurations.

Alias for a configured Pin

PinId for the Tx alias

PinMode for the Tx alias

UART device for the labelled RX & TX pins

UART pads

Alias for a configured Pin

PinId for the UsbDm alias

PinMode for the UsbDm alias

Alias for a configured Pin

PinId for the UsbDp alias

PinMode for the UsbDp alias

Attribute Macros