Crate qt_py_m0

Source
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§

pin_alias
Refer to fields of the Pins struct by alternate names

Structs§

Analog
‘Analog’ GPIO pins. Marked A0-A3 on the board. Can also be used as normal digital GPIO.
I2c
I2C pins.
Neopixel
Neopixel pins.
Pins
BSP replacement for the HAL Pins type
Sets
Pins grouped by category.
Spi
SPI pins.
Uart
UART mapped to the TX/RX pins on the board.
Usb
USB pins. These are connected to the on-board USB-C connector.

Constants§

A0_RESET_ID
DynPinId for the A0Reset alias.
A0_RESET_MODE
DynPinMode for the A0Reset alias.
A1_RESET_ID
DynPinId for the A1Reset alias.
A1_RESET_MODE
DynPinMode for the A1Reset alias.
A2_RESET_ID
DynPinId for the A2Reset alias.
A2_RESET_MODE
DynPinMode for the A2Reset alias.
A3_RESET_ID
DynPinId for the A3Reset alias.
A3_RESET_MODE
DynPinMode for the A3Reset alias.
FLASH_CS_ID
DynPinId for the FlashCs alias.
FLASH_CS_MODE
DynPinMode for the FlashCs alias.
FLASH_CS_RESET_ID
DynPinId for the FlashCsReset alias.
FLASH_CS_RESET_MODE
DynPinMode for the FlashCsReset alias.
FLASH_MISO_ID
DynPinId for the FlashMiso alias.
FLASH_MISO_MODE
DynPinMode for the FlashMiso alias.
FLASH_MISO_RESET_ID
DynPinId for the FlashMisoReset alias.
FLASH_MISO_RESET_MODE
DynPinMode for the FlashMisoReset alias.
FLASH_MOSI_ID
DynPinId for the FlashMosi alias.
FLASH_MOSI_MODE
DynPinMode for the FlashMosi alias.
FLASH_MOSI_RESET_ID
DynPinId for the FlashMosiReset alias.
FLASH_MOSI_RESET_MODE
DynPinMode for the FlashMosiReset alias.
FLASH_SCK_ID
DynPinId for the FlashSck alias.
FLASH_SCK_MODE
DynPinMode for the FlashSck alias.
FLASH_SCK_RESET_ID
DynPinId for the FlashSckReset alias.
FLASH_SCK_RESET_MODE
DynPinMode for the FlashSckReset alias.
I2C_SCL_ID
DynPinId for the I2cScl alias.
I2C_SCL_MODE
DynPinMode for the I2cScl alias.
I2C_SCL_RESET_ID
DynPinId for the I2cSclReset alias.
I2C_SCL_RESET_MODE
DynPinMode for the I2cSclReset alias.
I2C_SDA_ID
DynPinId for the I2cSda alias.
I2C_SDA_MODE
DynPinMode for the I2cSda alias.
I2C_SDA_RESET_ID
DynPinId for the I2cSdaReset alias.
I2C_SDA_RESET_MODE
DynPinMode for the I2cSdaReset alias.
MISO_RESET_ID
DynPinId for the MisoReset alias.
MISO_RESET_MODE
DynPinMode for the MisoReset alias.
MOSI_RESET_ID
DynPinId for the MosiReset alias.
MOSI_RESET_MODE
DynPinMode for the MosiReset alias.
NEOPIXEL_DATA_ID
DynPinId for the NeopixelData alias.
NEOPIXEL_DATA_MODE
DynPinMode for the NeopixelData alias.
NEOPIXEL_DATA_RESET_ID
DynPinId for the NeopixelDataReset alias.
NEOPIXEL_DATA_RESET_MODE
DynPinMode for the NeopixelDataReset alias.
NEOPIXEL_POWER_ID
DynPinId for the NeopixelPower alias.
NEOPIXEL_POWER_MODE
DynPinMode for the NeopixelPower alias.
NEOPIXEL_POWER_RESET_ID
DynPinId for the NeopixelPowerReset alias.
NEOPIXEL_POWER_RESET_MODE
DynPinMode for the NeopixelPowerReset alias.
SCK_RESET_ID
DynPinId for the SckReset alias.
SCK_RESET_MODE
DynPinMode for the SckReset alias.
SPI_MISO_ID
DynPinId for the SpiMiso alias.
SPI_MISO_MODE
DynPinMode for the SpiMiso alias.
SPI_MOSI_ID
DynPinId for the SpiMosi alias.
SPI_MOSI_MODE
DynPinMode for the SpiMosi alias.
SPI_SCK_ID
DynPinId for the SpiSck alias.
SPI_SCK_MODE
DynPinMode for the SpiSck alias.
UART_RX_ID
DynPinId for the UartRx alias.
UART_RX_MODE
DynPinMode for the UartRx alias.
UART_RX_RESET_ID
DynPinId for the UartRxReset alias.
UART_RX_RESET_MODE
DynPinMode for the UartRxReset alias.
UART_TX_ID
DynPinId for the UartTx alias.
UART_TX_MODE
DynPinMode for the UartTx alias.
UART_TX_RESET_ID
DynPinId for the UartTxReset alias.
UART_TX_RESET_MODE
DynPinMode for the UartTxReset alias.
USB_DM_ID
DynPinId for the UsbDm alias.
USB_DM_MODE
DynPinMode for the UsbDm alias.
USB_DM_RESET_ID
DynPinId for the UsbDmReset alias.
USB_DM_RESET_MODE
DynPinMode for the UsbDmReset alias.
USB_DP_ID
DynPinId for the UsbDp alias.
USB_DP_MODE
DynPinMode for the UsbDp alias.
USB_DP_RESET_ID
DynPinId for the UsbDpReset alias.
USB_DP_RESET_MODE
DynPinMode for the UsbDpReset alias.

Type Aliases§

A0Reset
Alias for a configured Pin
A0ResetId
PinId for the A0Reset alias
A0ResetMode
PinMode for the A0Reset alias
A1Reset
Alias for a configured Pin
A1ResetId
PinId for the A1Reset alias
A1ResetMode
PinMode for the A1Reset alias
A2Reset
Alias for a configured Pin
A2ResetId
PinId for the A2Reset alias
A2ResetMode
PinMode for the A2Reset alias
A3Reset
Alias for a configured Pin
A3ResetId
PinId for the A3Reset alias
A3ResetMode
PinMode for the A3Reset alias
FlashCs
Alias for a configured Pin
FlashCsId
PinId for the FlashCs alias
FlashCsMode
PinMode for the FlashCs alias
FlashCsReset
Alias for a configured Pin
FlashCsResetId
PinId for the FlashCsReset alias
FlashCsResetMode
PinMode for the FlashCsReset alias
FlashMiso
Alias for a configured Pin
FlashMisoId
PinId for the FlashMiso alias
FlashMisoMode
PinMode for the FlashMiso alias
FlashMisoReset
Alias for a configured Pin
FlashMisoResetId
PinId for the FlashMisoReset alias
FlashMisoResetMode
PinMode for the FlashMisoReset alias
FlashMosi
Alias for a configured Pin
FlashMosiId
PinId for the FlashMosi alias
FlashMosiMode
PinMode for the FlashMosi alias
FlashMosiReset
Alias for a configured Pin
FlashMosiResetId
PinId for the FlashMosiReset alias
FlashMosiResetMode
PinMode for the FlashMosiReset alias
FlashSck
Alias for a configured Pin
FlashSckId
PinId for the FlashSck alias
FlashSckMode
PinMode for the FlashSck alias
FlashSckReset
Alias for a configured Pin
FlashSckResetId
PinId for the FlashSckReset alias
FlashSckResetMode
PinMode for the FlashSckReset alias
I2cScl
Alias for a configured Pin
I2cSclId
PinId for the I2cScl alias
I2cSclMode
PinMode for the I2cScl alias
I2cSclReset
Alias for a configured Pin
I2cSclResetId
PinId for the I2cSclReset alias
I2cSclResetMode
PinMode for the I2cSclReset alias
I2cSda
Alias for a configured Pin
I2cSdaId
PinId for the I2cSda alias
I2cSdaMode
PinMode for the I2cSda alias
I2cSdaReset
Alias for a configured Pin
I2cSdaResetId
PinId for the I2cSdaReset alias
I2cSdaResetMode
PinMode for the I2cSdaReset alias
MisoReset
Alias for a configured Pin
MisoResetId
PinId for the MisoReset alias
MisoResetMode
PinMode for the MisoReset alias
MosiReset
Alias for a configured Pin
MosiResetId
PinId for the MosiReset alias
MosiResetMode
PinMode for the MosiReset alias
NeopixelData
Alias for a configured Pin
NeopixelDataId
PinId for the NeopixelData alias
NeopixelDataMode
PinMode for the NeopixelData alias
NeopixelDataReset
Alias for a configured Pin
NeopixelDataResetId
PinId for the NeopixelDataReset alias
NeopixelDataResetMode
PinMode for the NeopixelDataReset alias
NeopixelPower
Alias for a configured Pin
NeopixelPowerId
PinId for the NeopixelPower alias
NeopixelPowerMode
PinMode for the NeopixelPower alias
NeopixelPowerReset
Alias for a configured Pin
NeopixelPowerResetId
PinId for the NeopixelPowerReset alias
NeopixelPowerResetMode
PinMode for the NeopixelPowerReset alias
SckReset
Alias for a configured Pin
SckResetId
PinId for the SckReset alias
SckResetMode
PinMode for the SckReset alias
SpiConfig
The SPI type for the labeled SPI bus.
SpiMiso
Alias for a configured Pin
SpiMisoId
PinId for the SpiMiso alias
SpiMisoMode
PinMode for the SpiMiso alias
SpiMosi
Alias for a configured Pin
SpiMosiId
PinId for the SpiMosi alias
SpiMosiMode
PinMode for the SpiMosi alias
SpiSck
Alias for a configured Pin
SpiSckId
PinId for the SpiSck alias
SpiSckMode
PinMode for the SpiSck alias
UartConfig
UART device for the labelled RX & TX pins
UartPads
UART pads for the labelled RX & TX pins
UartRx
Alias for a configured Pin
UartRxId
PinId for the UartRx alias
UartRxMode
PinMode for the UartRx alias
UartRxReset
Alias for a configured Pin
UartRxResetId
PinId for the UartRxReset alias
UartRxResetMode
PinMode for the UartRxReset alias
UartTx
Alias for a configured Pin
UartTxId
PinId for the UartTx alias
UartTxMode
PinMode for the UartTx alias
UartTxReset
Alias for a configured Pin
UartTxResetId
PinId for the UartTxReset alias
UartTxResetMode
PinMode for the UartTxReset alias
UsbDm
Alias for a configured Pin
UsbDmId
PinId for the UsbDm alias
UsbDmMode
PinMode for the UsbDm alias
UsbDmReset
Alias for a configured Pin
UsbDmResetId
PinId for the UsbDmReset alias
UsbDmResetMode
PinMode for the UsbDmReset alias
UsbDp
Alias for a configured Pin
UsbDpId
PinId for the UsbDp alias
UsbDpMode
PinMode for the UsbDp alias
UsbDpReset
Alias for a configured Pin
UsbDpResetId
PinId for the UsbDpReset alias
UsbDpResetMode
PinMode for the UsbDpReset alias

Attribute Macros§

entry