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
Pinstype - 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
A0Resetalias. - A0_
RESET_ MODE - DynPinMode
for the
A0Resetalias. - A1_
RESET_ ID - DynPinId
for the
A1Resetalias. - A1_
RESET_ MODE - DynPinMode
for the
A1Resetalias. - A2_
RESET_ ID - DynPinId
for the
A2Resetalias. - A2_
RESET_ MODE - DynPinMode
for the
A2Resetalias. - A3_
RESET_ ID - DynPinId
for the
A3Resetalias. - A3_
RESET_ MODE - DynPinMode
for the
A3Resetalias. - FLASH_
CS_ ID - DynPinId
for the
FlashCsalias. - FLASH_
CS_ MODE - DynPinMode
for the
FlashCsalias. - FLASH_
CS_ RESET_ ID - DynPinId
for the
FlashCsResetalias. - FLASH_
CS_ RESET_ MODE - DynPinMode
for the
FlashCsResetalias. - FLASH_
MISO_ ID - DynPinId
for the
FlashMisoalias. - FLASH_
MISO_ MODE - DynPinMode
for the
FlashMisoalias. - FLASH_
MISO_ RESET_ ID - DynPinId
for the
FlashMisoResetalias. - FLASH_
MISO_ RESET_ MODE - DynPinMode
for the
FlashMisoResetalias. - FLASH_
MOSI_ ID - DynPinId
for the
FlashMosialias. - FLASH_
MOSI_ MODE - DynPinMode
for the
FlashMosialias. - FLASH_
MOSI_ RESET_ ID - DynPinId
for the
FlashMosiResetalias. - FLASH_
MOSI_ RESET_ MODE - DynPinMode
for the
FlashMosiResetalias. - FLASH_
SCK_ ID - DynPinId
for the
FlashSckalias. - FLASH_
SCK_ MODE - DynPinMode
for the
FlashSckalias. - FLASH_
SCK_ RESET_ ID - DynPinId
for the
FlashSckResetalias. - FLASH_
SCK_ RESET_ MODE - DynPinMode
for the
FlashSckResetalias. - I2C_
SCL_ ID - DynPinId
for the
I2cSclalias. - I2C_
SCL_ MODE - DynPinMode
for the
I2cSclalias. - I2C_
SCL_ RESET_ ID - DynPinId
for the
I2cSclResetalias. - I2C_
SCL_ RESET_ MODE - DynPinMode
for the
I2cSclResetalias. - I2C_
SDA_ ID - DynPinId
for the
I2cSdaalias. - I2C_
SDA_ MODE - DynPinMode
for the
I2cSdaalias. - I2C_
SDA_ RESET_ ID - DynPinId
for the
I2cSdaResetalias. - I2C_
SDA_ RESET_ MODE - DynPinMode
for the
I2cSdaResetalias. - MISO_
RESET_ ID - DynPinId
for the
MisoResetalias. - MISO_
RESET_ MODE - DynPinMode
for the
MisoResetalias. - MOSI_
RESET_ ID - DynPinId
for the
MosiResetalias. - MOSI_
RESET_ MODE - DynPinMode
for the
MosiResetalias. - NEOPIXEL_
DATA_ ID - DynPinId
for the
NeopixelDataalias. - NEOPIXEL_
DATA_ MODE - DynPinMode
for the
NeopixelDataalias. - NEOPIXEL_
DATA_ RESET_ ID - DynPinId
for the
NeopixelDataResetalias. - NEOPIXEL_
DATA_ RESET_ MODE - DynPinMode
for the
NeopixelDataResetalias. - NEOPIXEL_
POWER_ ID - DynPinId
for the
NeopixelPoweralias. - NEOPIXEL_
POWER_ MODE - DynPinMode
for the
NeopixelPoweralias. - NEOPIXEL_
POWER_ RESET_ ID - DynPinId
for the
NeopixelPowerResetalias. - NEOPIXEL_
POWER_ RESET_ MODE - DynPinMode
for the
NeopixelPowerResetalias. - SCK_
RESET_ ID - DynPinId
for the
SckResetalias. - SCK_
RESET_ MODE - DynPinMode
for the
SckResetalias. - SPI_
MISO_ ID - DynPinId
for the
SpiMisoalias. - SPI_
MISO_ MODE - DynPinMode
for the
SpiMisoalias. - SPI_
MOSI_ ID - DynPinId
for the
SpiMosialias. - SPI_
MOSI_ MODE - DynPinMode
for the
SpiMosialias. - SPI_
SCK_ ID - DynPinId
for the
SpiSckalias. - SPI_
SCK_ MODE - DynPinMode
for the
SpiSckalias. - UART_
RX_ ID - DynPinId
for the
UartRxalias. - UART_
RX_ MODE - DynPinMode
for the
UartRxalias. - UART_
RX_ RESET_ ID - DynPinId
for the
UartRxResetalias. - UART_
RX_ RESET_ MODE - DynPinMode
for the
UartRxResetalias. - UART_
TX_ ID - DynPinId
for the
UartTxalias. - UART_
TX_ MODE - DynPinMode
for the
UartTxalias. - UART_
TX_ RESET_ ID - DynPinId
for the
UartTxResetalias. - UART_
TX_ RESET_ MODE - DynPinMode
for the
UartTxResetalias. - USB_
DM_ ID - DynPinId
for the
UsbDmalias. - USB_
DM_ MODE - DynPinMode
for the
UsbDmalias. - USB_
DM_ RESET_ ID - DynPinId
for the
UsbDmResetalias. - USB_
DM_ RESET_ MODE - DynPinMode
for the
UsbDmResetalias. - USB_
DP_ ID - DynPinId
for the
UsbDpalias. - USB_
DP_ MODE - DynPinMode
for the
UsbDpalias. - USB_
DP_ RESET_ ID - DynPinId
for the
UsbDpResetalias. - USB_
DP_ RESET_ MODE - DynPinMode
for the
UsbDpResetalias.
Type Aliases§
- A0Reset
- Alias for a configured
Pin - A0Reset
Id PinIdfor theA0Resetalias- A0Reset
Mode PinModefor theA0Resetalias- A1Reset
- Alias for a configured
Pin - A1Reset
Id PinIdfor theA1Resetalias- A1Reset
Mode PinModefor theA1Resetalias- A2Reset
- Alias for a configured
Pin - A2Reset
Id PinIdfor theA2Resetalias- A2Reset
Mode PinModefor theA2Resetalias- A3Reset
- Alias for a configured
Pin - A3Reset
Id PinIdfor theA3Resetalias- A3Reset
Mode PinModefor theA3Resetalias- FlashCs
- Alias for a configured
Pin - Flash
CsId PinIdfor theFlashCsalias- Flash
CsMode PinModefor theFlashCsalias- Flash
CsReset - Alias for a configured
Pin - Flash
CsReset Id PinIdfor theFlashCsResetalias- Flash
CsReset Mode PinModefor theFlashCsResetalias- Flash
Miso - Alias for a configured
Pin - Flash
Miso Id PinIdfor theFlashMisoalias- Flash
Miso Mode PinModefor theFlashMisoalias- Flash
Miso Reset - Alias for a configured
Pin - Flash
Miso Reset Id PinIdfor theFlashMisoResetalias- Flash
Miso Reset Mode PinModefor theFlashMisoResetalias- Flash
Mosi - Alias for a configured
Pin - Flash
Mosi Id PinIdfor theFlashMosialias- Flash
Mosi Mode PinModefor theFlashMosialias- Flash
Mosi Reset - Alias for a configured
Pin - Flash
Mosi Reset Id PinIdfor theFlashMosiResetalias- Flash
Mosi Reset Mode PinModefor theFlashMosiResetalias- Flash
Sck - Alias for a configured
Pin - Flash
SckId PinIdfor theFlashSckalias- Flash
SckMode PinModefor theFlashSckalias- Flash
SckReset - Alias for a configured
Pin - Flash
SckReset Id PinIdfor theFlashSckResetalias- Flash
SckReset Mode PinModefor theFlashSckResetalias- I2cScl
- Alias for a configured
Pin - I2cScl
Id PinIdfor theI2cSclalias- I2cScl
Mode PinModefor theI2cSclalias- I2cScl
Reset - Alias for a configured
Pin - I2cScl
Reset Id PinIdfor theI2cSclResetalias- I2cScl
Reset Mode PinModefor theI2cSclResetalias- I2cSda
- Alias for a configured
Pin - I2cSda
Id PinIdfor theI2cSdaalias- I2cSda
Mode PinModefor theI2cSdaalias- I2cSda
Reset - Alias for a configured
Pin - I2cSda
Reset Id PinIdfor theI2cSdaResetalias- I2cSda
Reset Mode PinModefor theI2cSdaResetalias- Miso
Reset - Alias for a configured
Pin - Miso
Reset Id PinIdfor theMisoResetalias- Miso
Reset Mode PinModefor theMisoResetalias- Mosi
Reset - Alias for a configured
Pin - Mosi
Reset Id PinIdfor theMosiResetalias- Mosi
Reset Mode PinModefor theMosiResetalias- Neopixel
Data - Alias for a configured
Pin - Neopixel
Data Id PinIdfor theNeopixelDataalias- Neopixel
Data Mode PinModefor theNeopixelDataalias- Neopixel
Data Reset - Alias for a configured
Pin - Neopixel
Data Reset Id PinIdfor theNeopixelDataResetalias- Neopixel
Data Reset Mode PinModefor theNeopixelDataResetalias- Neopixel
Power - Alias for a configured
Pin - Neopixel
Power Id PinIdfor theNeopixelPoweralias- Neopixel
Power Mode PinModefor theNeopixelPoweralias- Neopixel
Power Reset - Alias for a configured
Pin - Neopixel
Power Reset Id PinIdfor theNeopixelPowerResetalias- Neopixel
Power Reset Mode PinModefor theNeopixelPowerResetalias- SckReset
- Alias for a configured
Pin - SckReset
Id PinIdfor theSckResetalias- SckReset
Mode PinModefor theSckResetalias- SpiConfig
- The SPI type for the labeled SPI bus.
- SpiMiso
- Alias for a configured
Pin - SpiMiso
Id PinIdfor theSpiMisoalias- SpiMiso
Mode PinModefor theSpiMisoalias- SpiMosi
- Alias for a configured
Pin - SpiMosi
Id PinIdfor theSpiMosialias- SpiMosi
Mode PinModefor theSpiMosialias- SpiSck
- Alias for a configured
Pin - SpiSck
Id PinIdfor theSpiSckalias- SpiSck
Mode PinModefor theSpiSckalias- 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 PinIdfor theUartRxalias- Uart
RxMode PinModefor theUartRxalias- Uart
RxReset - Alias for a configured
Pin - Uart
RxReset Id PinIdfor theUartRxResetalias- Uart
RxReset Mode PinModefor theUartRxResetalias- UartTx
- Alias for a configured
Pin - Uart
TxId PinIdfor theUartTxalias- Uart
TxMode PinModefor theUartTxalias- Uart
TxReset - Alias for a configured
Pin - Uart
TxReset Id PinIdfor theUartTxResetalias- Uart
TxReset Mode PinModefor theUartTxResetalias- UsbDm
- Alias for a configured
Pin - UsbDmId
PinIdfor theUsbDmalias- UsbDm
Mode PinModefor theUsbDmalias- UsbDm
Reset - Alias for a configured
Pin - UsbDm
Reset Id PinIdfor theUsbDmResetalias- UsbDm
Reset Mode PinModefor theUsbDmResetalias- UsbDp
- Alias for a configured
Pin - UsbDpId
PinIdfor theUsbDpalias- UsbDp
Mode PinModefor theUsbDpalias- UsbDp
Reset - Alias for a configured
Pin - UsbDp
Reset Id PinIdfor theUsbDpResetalias- UsbDp
Reset Mode PinModefor theUsbDpResetalias