Expand description

Board support crate for Adafruit’s Feather M4 Express, an ATSAMD51-based board in Feather form factor.

Re-exports

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

Macros

Refer to fields of the Peripherals struct by alternate names

Refer to fields of the Pins struct by alternate names

Structs

BSP replacement for the HAL Pins type

Constants

DynPinId for the Miso alias.

DynPinMode for the Miso alias.

DynPinId for the Mosi alias.

DynPinMode for the Mosi alias.

DynPinId for the RedLed alias.

DynPinMode for the RedLed alias.

DynPinId for the RedLedPwm alias.

DynPinMode for the RedLedPwm alias.

DynPinId for the Sclk alias.

DynPinMode for the Sclk alias.

DynPinId for the Scl alias.

DynPinMode for the Scl alias.

DynPinId for the Sda alias.

DynPinMode for the Sda alias.

DynPinId for the UartRx alias.

DynPinMode for the UartRx alias.

DynPinId for the UartTx alias.

DynPinMode for the UartTx 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

I2C master for the labelled I2C peripheral

I2C pads for the labelled I2C peripheral

Alias for the SERCOM2 peripheral

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 RedLed alias

PinMode for the RedLed alias

Alias for a configured Pin

Alias for a configured Pin

PinId for the Scl alias

PinMode for the Scl alias

Alias for a configured Pin

PinId for the Sclk alias

PinMode for the Sclk alias

Alias for a configured Pin

PinId for the Sda alias

PinMode for the Sda alias

SPI master for the labelled SPI peripheral

SPI pads for the labelled SPI peripheral

Alias for the SERCOM1 peripheral

UART device for the labelled RX & TX pins

UART pads for the labelled RX & TX pins

Alias for a configured Pin

PinId for the UartRx alias

PinMode for the UartRx alias

Alias for the SERCOM5 peripheral

Alias for a configured Pin

PinId for the UartTx alias

PinMode for the UartTx alias

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