Crate qt_py_m0[][src]

Expand description

Adafruit QT Py Board Support Package

This crate provides a board support package for the Adafruit QT Py board. This device is a small form-factor breadboard-compatible SAMD21E-based device with an on-board WS2812 LED (“neopixel”), STEMMA I2C (Qwiic-compatible) connector, and USB-C running USB 2.0 connectivity.

Re-exports

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

Macros

Refer to fields of the Pins struct by alternate names

Structs

‘Analog’ GPIO pins. Marked A0-A3 on the board. Can also be used as normal digital GPIO.

I2C pins.

Neopixel pins.

BSP replacement for the HAL Pins type

Pins grouped by category.

SPI pins.

UART mapped to the TX/RX pins on the board.

USB pins. These are connected to the on-board USB-C connector.

Constants

DynPinId for the A0Reset alias.

DynPinMode for the A0Reset alias.

DynPinId for the A1Reset alias.

DynPinMode for the A1Reset alias.

DynPinId for the A2Reset alias.

DynPinMode for the A2Reset alias.

DynPinId for the A3Reset alias.

DynPinMode for the A3Reset alias.

DynPinId for the FlashCs alias.

DynPinMode for the FlashCs alias.

DynPinId for the FlashCsReset alias.

DynPinMode for the FlashCsReset alias.

DynPinId for the FlashMiso alias.

DynPinMode for the FlashMiso alias.

DynPinId for the FlashMisoReset alias.

DynPinMode for the FlashMisoReset alias.

DynPinId for the FlashMosi alias.

DynPinMode for the FlashMosi alias.

DynPinId for the FlashMosiReset alias.

DynPinMode for the FlashMosiReset alias.

DynPinId for the FlashSck alias.

DynPinMode for the FlashSck alias.

DynPinId for the FlashSckReset alias.

DynPinMode for the FlashSckReset alias.

DynPinId for the I2cScl alias.

DynPinMode for the I2cScl alias.

DynPinId for the I2cSclReset alias.

DynPinMode for the I2cSclReset alias.

DynPinId for the I2cSda alias.

DynPinMode for the I2cSda alias.

DynPinId for the I2cSdaReset alias.

DynPinMode for the I2cSdaReset alias.

DynPinId for the MisoReset alias.

DynPinMode for the MisoReset alias.

DynPinId for the MosiReset alias.

DynPinMode for the MosiReset alias.

DynPinId for the NeopixelData alias.

DynPinMode for the NeopixelData alias.

DynPinId for the NeopixelDataReset alias.

DynPinMode for the NeopixelDataReset alias.

DynPinId for the NeopixelPower alias.

DynPinMode for the NeopixelPower alias.

DynPinId for the NeopixelPowerReset alias.

DynPinMode for the NeopixelPowerReset alias.

DynPinId for the SckReset alias.

DynPinMode for the SckReset alias.

DynPinId for the SpiMiso alias.

DynPinMode for the SpiMiso alias.

DynPinId for the SpiMosi alias.

DynPinMode for the SpiMosi alias.

DynPinId for the SpiSck alias.

DynPinMode for the SpiSck alias.

DynPinId for the UartRx alias.

DynPinMode for the UartRx alias.

DynPinId for the UartRxReset alias.

DynPinMode for the UartRxReset alias.

DynPinId for the UartTx alias.

DynPinMode for the UartTx alias.

DynPinId for the UartTxReset alias.

DynPinMode for the UartTxReset alias.

DynPinId for the UsbDm alias.

DynPinMode for the UsbDm alias.

DynPinId for the UsbDmReset alias.

DynPinMode for the UsbDmReset alias.

DynPinId for the UsbDp alias.

DynPinMode for the UsbDp alias.

DynPinId for the UsbDpReset alias.

DynPinMode for the UsbDpReset alias.

Type Definitions

Alias for a configured Pin

PinId for the A0Reset alias

Alias for a configured Pin

PinId for the A1Reset alias

Alias for a configured Pin

PinId for the A2Reset alias

Alias for a configured Pin

PinId for the A3Reset alias

Alias for a configured Pin

PinId for the FlashCs alias

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

PinId for the FlashSck alias

Alias for a configured Pin

Alias for a configured Pin

PinId for the I2cScl alias

PinMode for the I2cScl alias

Alias for a configured Pin

Alias for a configured Pin

PinId for the I2cSda alias

PinMode for the I2cSda alias

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

Alias for a configured Pin

PinId for the SckReset alias

The SPI type for the labeled SPI bus.

Alias for a configured Pin

PinId for the SpiMiso alias

Alias for a configured Pin

PinId for the SpiMosi alias

Alias for a configured Pin

PinId for the SpiSck alias

PinMode for the SpiSck alias

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 a configured Pin

Alias for a configured Pin

PinId for the UartTx alias

PinMode for the UartTx alias

Alias for a configured Pin

Alias for a configured Pin

PinId for the UsbDm alias

PinMode for the UsbDm alias

Alias for a configured Pin

Alias for a configured Pin

PinId for the UsbDp alias

PinMode for the UsbDp alias

Alias for a configured Pin

Attribute Macros