Crate grand_central_m4
source ·Expand description
Board support crate for Adafruit’s Grand Central M4 Express, an ATSAMD51-based board in an Arduino Mega 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
FlashCs
alias. - DynPinMode for the
FlashCs
alias. - DynPinId for the
FlashD0
alias. - DynPinMode for the
FlashD0
alias. - DynPinId for the
FlashD1
alias. - DynPinMode for the
FlashD1
alias. - DynPinId for the
FlashD2
alias. - DynPinMode for the
FlashD2
alias. - DynPinId for the
FlashD3
alias. - DynPinMode for the
FlashD3
alias. - DynPinId for the
FlashSclk
alias. - DynPinMode for the
FlashSclk
alias. - 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
Scl1
alias. - DynPinMode for the
Scl1
alias. - DynPinId for the
Sclk
alias. - DynPinMode for the
Sclk
alias. - DynPinId for the
Scl
alias. - DynPinMode for the
Scl
alias. - DynPinId for the
Sda1
alias. - DynPinMode for the
Sda1
alias. - DynPinId for the
Sda
alias. - DynPinMode for the
Sda
alias. - DynPinId for the
SdCardDetect
alias. - DynPinMode for the
SdCardDetect
alias. - DynPinId for the
SdCs
alias. - DynPinMode for the
SdCs
alias. - DynPinId for the
SdMiso
alias. - DynPinMode for the
SdMiso
alias. - DynPinId for the
SdMosi
alias. - DynPinMode for the
SdMosi
alias. - DynPinId for the
SdSclk
alias. - DynPinMode for the
SdSclk
alias. - DynPinId for the
UartRx1
alias. - DynPinMode for the
UartRx1
alias. - DynPinId for the
UartRx2
alias. - DynPinMode for the
UartRx2
alias. - DynPinId for the
UartRx3
alias. - DynPinMode for the
UartRx3
alias. - DynPinId for the
UartRx
alias. - DynPinMode for the
UartRx
alias. - DynPinId for the
UartTx1
alias. - DynPinMode for the
UartTx1
alias. - DynPinId for the
UartTx2
alias. - DynPinMode for the
UartTx2
alias. - DynPinId for the
UartTx3
alias. - DynPinMode for the
UartTx3
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 onboard QSPI flash. Enables the clocks for the QSPI peripheral in single data rate mode assuming 120MHz system clock, for 4MHz QSPI mode 0 operation.
- Convenience for setting up the 2x3 header block for SPI. This powers up SERCOM7 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
- 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
- I2C master for the labelled I2C peripheral
- I2C pads for the labelled I2C peripheral
- Alias for the
SERCOM3
peripheral - Alias for the
SERCOM6
peripheral - 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 theSdCardDetect
aliasPinMode
for theSdCardDetect
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
- SPI master for the labelled SPI peripheral
- SPI pads for the labelled SPI peripheral
- Alias for the
SERCOM7
peripheral - UART device for the labelled RX & TX pins
- UART Pads for the labelled UART peripheral
- Alias for a configured
Pin
- Alias for a configured
Pin
- Alias for a configured
Pin
- Alias for a configured
Pin
- Alias for the
SERCOM0
peripheral - Alias for the
SERCOM1
peripheral - Alias for the
SERCOM5
peripheral - 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