Crate grand_central_m4

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§

periph_alias
Refer to fields of the Peripherals struct by alternate names
pin_alias
Refer to fields of the Pins struct by alternate names

Structs§

Pins
BSP replacement for the HAL Pins type

Constants§

FLASH_CS_ID
DynPinId for the FlashCs alias.
FLASH_CS_MODE
DynPinMode for the FlashCs alias.
FLASH_D0_ID
DynPinId for the FlashD0 alias.
FLASH_D0_MODE
DynPinMode for the FlashD0 alias.
FLASH_D1_ID
DynPinId for the FlashD1 alias.
FLASH_D1_MODE
DynPinMode for the FlashD1 alias.
FLASH_D2_ID
DynPinId for the FlashD2 alias.
FLASH_D2_MODE
DynPinMode for the FlashD2 alias.
FLASH_D3_ID
DynPinId for the FlashD3 alias.
FLASH_D3_MODE
DynPinMode for the FlashD3 alias.
FLASH_SCLK_ID
DynPinId for the FlashSclk alias.
FLASH_SCLK_MODE
DynPinMode for the FlashSclk alias.
MISO_ID
DynPinId for the Miso alias.
MISO_MODE
DynPinMode for the Miso alias.
MOSI_ID
DynPinId for the Mosi alias.
MOSI_MODE
DynPinMode for the Mosi alias.
RED_LED_ID
DynPinId for the RedLed alias.
RED_LED_MODE
DynPinMode for the RedLed alias.
SCL1_ID
DynPinId for the Scl1 alias.
SCL1_MODE
DynPinMode for the Scl1 alias.
SCLK_ID
DynPinId for the Sclk alias.
SCLK_MODE
DynPinMode for the Sclk alias.
SCL_ID
DynPinId for the Scl alias.
SCL_MODE
DynPinMode for the Scl alias.
SDA1_ID
DynPinId for the Sda1 alias.
SDA1_MODE
DynPinMode for the Sda1 alias.
SDA_ID
DynPinId for the Sda alias.
SDA_MODE
DynPinMode for the Sda alias.
SD_CARD_DETECT_ID
DynPinId for the SdCardDetect alias.
SD_CARD_DETECT_MODE
DynPinMode for the SdCardDetect alias.
SD_CS_ID
DynPinId for the SdCs alias.
SD_CS_MODE
DynPinMode for the SdCs alias.
SD_MISO_ID
DynPinId for the SdMiso alias.
SD_MISO_MODE
DynPinMode for the SdMiso alias.
SD_MOSI_ID
DynPinId for the SdMosi alias.
SD_MOSI_MODE
DynPinMode for the SdMosi alias.
SD_SCLK_ID
DynPinId for the SdSclk alias.
SD_SCLK_MODE
DynPinMode for the SdSclk alias.
UART_RX1_ID
DynPinId for the UartRx1 alias.
UART_RX1_MODE
DynPinMode for the UartRx1 alias.
UART_RX2_ID
DynPinId for the UartRx2 alias.
UART_RX2_MODE
DynPinMode for the UartRx2 alias.
UART_RX3_ID
DynPinId for the UartRx3 alias.
UART_RX3_MODE
DynPinMode for the UartRx3 alias.
UART_RX_ID
DynPinId for the UartRx alias.
UART_RX_MODE
DynPinMode for the UartRx alias.
UART_TX1_ID
DynPinId for the UartTx1 alias.
UART_TX1_MODE
DynPinMode for the UartTx1 alias.
UART_TX2_ID
DynPinId for the UartTx2 alias.
UART_TX2_MODE
DynPinMode for the UartTx2 alias.
UART_TX3_ID
DynPinId for the UartTx3 alias.
UART_TX3_MODE
DynPinMode for the UartTx3 alias.
UART_TX_ID
DynPinId for the UartTx alias.
UART_TX_MODE
DynPinMode for the UartTx alias.
USB_DM_ID
DynPinId for the UsbDm alias.
USB_DM_MODE
DynPinMode for the UsbDm alias.
USB_DP_ID
DynPinId for the UsbDp alias.
USB_DP_MODE
DynPinMode for the UsbDp alias.

Functions§

i2c_master
Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.
qspi_master
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.
spi_master
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.
uart
Convenience for setting up the labelled RX, TX pins to operate as a UART device running at the specified baud.

Type Aliases§

FlashCs
Alias for a configured Pin
FlashCsId
PinId for the FlashCs alias
FlashCsMode
PinMode for the FlashCs alias
FlashD0
Alias for a configured Pin
FlashD0Id
PinId for the FlashD0 alias
FlashD0Mode
PinMode for the FlashD0 alias
FlashD1
Alias for a configured Pin
FlashD2
Alias for a configured Pin
FlashD3
Alias for a configured Pin
FlashD1Id
PinId for the FlashD1 alias
FlashD1Mode
PinMode for the FlashD1 alias
FlashD2Id
PinId for the FlashD2 alias
FlashD2Mode
PinMode for the FlashD2 alias
FlashD3Id
PinId for the FlashD3 alias
FlashD3Mode
PinMode for the FlashD3 alias
FlashSclk
Alias for a configured Pin
FlashSclkId
PinId for the FlashSclk alias
FlashSclkMode
PinMode for the FlashSclk alias
I2c
I2C master for the labelled I2C peripheral
I2cPads
I2C pads for the labelled I2C peripheral
I2cSercom
Alias for the Sercom3 peripheral
I2cSercom2
Alias for the Sercom6 peripheral
Miso
Alias for a configured Pin
MisoId
PinId for the Miso alias
MisoMode
PinMode for the Miso alias
Mosi
Alias for a configured Pin
MosiId
PinId for the Mosi alias
MosiMode
PinMode for the Mosi alias
RedLed
Alias for a configured Pin
RedLedId
PinId for the RedLed alias
RedLedMode
PinMode for the RedLed alias
Scl
Alias for a configured Pin
Scl1
Alias for a configured Pin
Scl1Id
PinId for the Scl1 alias
Scl1Mode
PinMode for the Scl1 alias
SclId
PinId for the Scl alias
SclMode
PinMode for the Scl alias
Sclk
Alias for a configured Pin
SclkId
PinId for the Sclk alias
SclkMode
PinMode for the Sclk alias
SdCardDetect
Alias for a configured Pin
SdCardDetectId
PinId for the SdCardDetect alias
SdCardDetectMode
PinMode for the SdCardDetect alias
SdCs
Alias for a configured Pin
SdCsId
PinId for the SdCs alias
SdCsMode
PinMode for the SdCs alias
SdMiso
Alias for a configured Pin
SdMisoId
PinId for the SdMiso alias
SdMisoMode
PinMode for the SdMiso alias
SdMosi
Alias for a configured Pin
SdMosiId
PinId for the SdMosi alias
SdMosiMode
PinMode for the SdMosi alias
SdSclk
Alias for a configured Pin
SdSclkId
PinId for the SdSclk alias
SdSclkMode
PinMode for the SdSclk alias
Sda
Alias for a configured Pin
Sda1
Alias for a configured Pin
Sda1Id
PinId for the Sda1 alias
Sda1Mode
PinMode for the Sda1 alias
SdaId
PinId for the Sda alias
SdaMode
PinMode for the Sda alias
Spi
SPI master for the labelled SPI peripheral
SpiPads
SPI pads for the labelled SPI peripheral
SpiSercom
Alias for the Sercom7 peripheral
Uart
UART device for the labelled RX & TX pins
UartPads
UART Pads for the labelled UART peripheral
UartRx
Alias for a configured Pin
UartRx1
Alias for a configured Pin
UartRx2
Alias for a configured Pin
UartRx3
Alias for a configured Pin
UartRx1Id
PinId for the UartRx1 alias
UartRx1Mode
PinMode for the UartRx1 alias
UartRx2Id
PinId for the UartRx2 alias
UartRx2Mode
PinMode for the UartRx2 alias
UartRx3Id
PinId for the UartRx3 alias
UartRx3Mode
PinMode for the UartRx3 alias
UartRxId
PinId for the UartRx alias
UartRxMode
PinMode for the UartRx alias
UartSercom
Alias for the Sercom0 peripheral
UartSercom2
Alias for the Sercom1 peripheral
UartSercom3
Alias for the Sercom5 peripheral
UartTx
Alias for a configured Pin
UartTx1
Alias for a configured Pin
UartTx2
Alias for a configured Pin
UartTx3
Alias for a configured Pin
UartTx1Id
PinId for the UartTx1 alias
UartTx1Mode
PinMode for the UartTx1 alias
UartTx2Id
PinId for the UartTx2 alias
UartTx2Mode
PinMode for the UartTx2 alias
UartTx3Id
PinId for the UartTx3 alias
UartTx3Mode
PinMode for the UartTx3 alias
UartTxId
PinId for the UartTx alias
UartTxMode
PinMode for the UartTx alias
UsbDm
Alias for a configured Pin
UsbDmId
PinId for the UsbDm alias
UsbDmMode
PinMode for the UsbDm alias
UsbDp
Alias for a configured Pin
UsbDpId
PinId for the UsbDp alias
UsbDpMode
PinMode for the UsbDp alias

Attribute Macros§

entry