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.
§Useful External Links
Re-exports§
pub use atsamd_hal as hal;
pub use hal::pac;
Macros§
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
- A0Reset
Id PinId
for theA0Reset
alias- A0Reset
Mode PinMode
for theA0Reset
alias- A1Reset
- Alias for a configured
Pin
- A1Reset
Id PinId
for theA1Reset
alias- A1Reset
Mode PinMode
for theA1Reset
alias- A2Reset
- Alias for a configured
Pin
- A2Reset
Id PinId
for theA2Reset
alias- A2Reset
Mode PinMode
for theA2Reset
alias- A3Reset
- Alias for a configured
Pin
- A3Reset
Id PinId
for theA3Reset
alias- A3Reset
Mode PinMode
for theA3Reset
alias- FlashCs
- Alias for a configured
Pin
- Flash
CsId PinId
for theFlashCs
alias- Flash
CsMode PinMode
for theFlashCs
alias- Flash
CsReset - Alias for a configured
Pin
- Flash
CsReset Id PinId
for theFlashCsReset
alias- Flash
CsReset Mode PinMode
for theFlashCsReset
alias- Flash
Miso - Alias for a configured
Pin
- Flash
Miso Id PinId
for theFlashMiso
alias- Flash
Miso Mode PinMode
for theFlashMiso
alias- Flash
Miso Reset - Alias for a configured
Pin
- Flash
Miso Reset Id PinId
for theFlashMisoReset
alias- Flash
Miso Reset Mode PinMode
for theFlashMisoReset
alias- Flash
Mosi - Alias for a configured
Pin
- Flash
Mosi Id PinId
for theFlashMosi
alias- Flash
Mosi Mode PinMode
for theFlashMosi
alias- Flash
Mosi Reset - Alias for a configured
Pin
- Flash
Mosi Reset Id PinId
for theFlashMosiReset
alias- Flash
Mosi Reset Mode PinMode
for theFlashMosiReset
alias- Flash
Sck - Alias for a configured
Pin
- Flash
SckId PinId
for theFlashSck
alias- Flash
SckMode PinMode
for theFlashSck
alias- Flash
SckReset - Alias for a configured
Pin
- Flash
SckReset Id PinId
for theFlashSckReset
alias- Flash
SckReset Mode PinMode
for theFlashSckReset
alias- I2cScl
- Alias for a configured
Pin
- I2cScl
Id PinId
for theI2cScl
alias- I2cScl
Mode PinMode
for theI2cScl
alias- I2cScl
Reset - Alias for a configured
Pin
- I2cScl
Reset Id PinId
for theI2cSclReset
alias- I2cScl
Reset Mode PinMode
for theI2cSclReset
alias- I2cSda
- Alias for a configured
Pin
- I2cSda
Id PinId
for theI2cSda
alias- I2cSda
Mode PinMode
for theI2cSda
alias- I2cSda
Reset - Alias for a configured
Pin
- I2cSda
Reset Id PinId
for theI2cSdaReset
alias- I2cSda
Reset Mode PinMode
for theI2cSdaReset
alias- Miso
Reset - Alias for a configured
Pin
- Miso
Reset Id PinId
for theMisoReset
alias- Miso
Reset Mode PinMode
for theMisoReset
alias- Mosi
Reset - Alias for a configured
Pin
- Mosi
Reset Id PinId
for theMosiReset
alias- Mosi
Reset Mode PinMode
for theMosiReset
alias- Neopixel
Data - Alias for a configured
Pin
- Neopixel
Data Id PinId
for theNeopixelData
alias- Neopixel
Data Mode PinMode
for theNeopixelData
alias- Neopixel
Data Reset - Alias for a configured
Pin
- Neopixel
Data Reset Id PinId
for theNeopixelDataReset
alias- Neopixel
Data Reset Mode PinMode
for theNeopixelDataReset
alias- Neopixel
Power - Alias for a configured
Pin
- Neopixel
Power Id PinId
for theNeopixelPower
alias- Neopixel
Power Mode PinMode
for theNeopixelPower
alias- Neopixel
Power Reset - Alias for a configured
Pin
- Neopixel
Power Reset Id PinId
for theNeopixelPowerReset
alias- Neopixel
Power Reset Mode PinMode
for theNeopixelPowerReset
alias- SckReset
- Alias for a configured
Pin
- SckReset
Id PinId
for theSckReset
alias- SckReset
Mode PinMode
for theSckReset
alias- SpiConfig
- The SPI type for the labeled SPI bus.
- SpiMiso
- Alias for a configured
Pin
- SpiMiso
Id PinId
for theSpiMiso
alias- SpiMiso
Mode PinMode
for theSpiMiso
alias- SpiMosi
- Alias for a configured
Pin
- SpiMosi
Id PinId
for theSpiMosi
alias- SpiMosi
Mode PinMode
for theSpiMosi
alias- SpiSck
- Alias for a configured
Pin
- SpiSck
Id PinId
for theSpiSck
alias- SpiSck
Mode PinMode
for theSpiSck
alias- Uart
Config - UART device for the labelled RX & TX pins
- Uart
Pads - UART pads for the labelled RX & TX pins
- UartRx
- Alias for a configured
Pin
- Uart
RxId PinId
for theUartRx
alias- Uart
RxMode PinMode
for theUartRx
alias- Uart
RxReset - Alias for a configured
Pin
- Uart
RxReset Id PinId
for theUartRxReset
alias- Uart
RxReset Mode PinMode
for theUartRxReset
alias- UartTx
- Alias for a configured
Pin
- Uart
TxId PinId
for theUartTx
alias- Uart
TxMode PinMode
for theUartTx
alias- Uart
TxReset - Alias for a configured
Pin
- Uart
TxReset Id PinId
for theUartTxReset
alias- Uart
TxReset Mode PinMode
for theUartTxReset
alias- UsbDm
- Alias for a configured
Pin
- UsbDmId
PinId
for theUsbDm
alias- UsbDm
Mode PinMode
for theUsbDm
alias- UsbDm
Reset - Alias for a configured
Pin
- UsbDm
Reset Id PinId
for theUsbDmReset
alias- UsbDm
Reset Mode PinMode
for theUsbDmReset
alias- UsbDp
- Alias for a configured
Pin
- UsbDpId
PinId
for theUsbDp
alias- UsbDp
Mode PinMode
for theUsbDp
alias- UsbDp
Reset - Alias for a configured
Pin
- UsbDp
Reset Id PinId
for theUsbDpReset
alias- UsbDp
Reset Mode PinMode
for theUsbDpReset
alias