Re-exports§
pub use atsamd_hal as hal;pub use hal::ehal;pub use hal::pac;
Macros§
Structs§
Constants§
- LED_ID
- DynPinId
for the
Ledalias. - LED_
MODE - DynPinMode
for the
Ledalias. - MISO_ID
- DynPinId
for the
Misoalias. - MISO_
MODE - DynPinMode
for the
Misoalias. - MOSI_ID
- DynPinId
for the
Mosialias. - MOSI_
MODE - DynPinMode
for the
Mosialias. - NINA_
ACK_ ID - DynPinId
for the
NinaAckalias. - NINA_
ACK_ MODE - DynPinMode
for the
NinaAckalias. - NINA_
CS_ ID - DynPinId
for the
NinaCsalias. - NINA_
CS_ MODE - DynPinMode
for the
NinaCsalias. - NINA_
MISO_ ID - DynPinId
for the
NinaMisoalias. - NINA_
MISO_ MODE - DynPinMode
for the
NinaMisoalias. - NINA_
MOSI_ ID - DynPinId
for the
NinaMosialias. - NINA_
MOSI_ MODE - DynPinMode
for the
NinaMosialias. - NINA_
RESET_ N_ ID - DynPinId
for the
NinaResetNalias. - NINA_
RESET_ N_ MODE - DynPinMode
for the
NinaResetNalias. - NINA_
SCK_ ID - DynPinId
for the
NinaSckalias. - NINA_
SCK_ MODE - DynPinMode
for the
NinaSckalias. - RX_ID
- DynPinId
for the
Rxalias. - RX_MODE
- DynPinMode
for the
Rxalias. - SCK_ID
- DynPinId
for the
Sckalias. - SCK_
MODE - DynPinMode
for the
Sckalias. - SCL_ID
- DynPinId
for the
Sclalias. - SCL_
MODE - DynPinMode
for the
Sclalias. - SDA_ID
- DynPinId
for the
Sdaalias. - SDA_
MODE - DynPinMode
for the
Sdaalias. - TX_ID
- DynPinId
for the
Txalias. - TX_MODE
- DynPinMode
for the
Txalias. - USB_
DM_ ID - DynPinId
for the
UsbDmalias. - USB_
DM_ MODE - DynPinMode
for the
UsbDmalias. - USB_
DP_ ID - DynPinId
for the
UsbDpalias. - USB_
DP_ MODE - DynPinMode
for the
UsbDpalias.
Functions§
- i2c_
master - Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.
- nina_
spi_ master - Convenience for setting up the Nina peripheral. This powers up SERCOM2 and configures it for use as an SPI Master in SPI Mode 0.
- spi_
master - Convenience for setting up the labelled SPI peripheral. This powers up SERCOM1 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§
- Led
- Alias for a configured
Pin - LedId
PinIdfor theLedalias- LedMode
PinModefor theLedalias- Miso
- Alias for a configured
Pin - MisoId
PinIdfor theMisoalias- Miso
Mode PinModefor theMisoalias- Mosi
- Alias for a configured
Pin - MosiId
PinIdfor theMosialias- Mosi
Mode PinModefor theMosialias- NinaAck
- Alias for a configured
Pin - Nina
AckId PinIdfor theNinaAckalias- Nina
AckMode PinModefor theNinaAckalias- NinaCs
- Alias for a configured
Pin - Nina
CsId PinIdfor theNinaCsalias- Nina
CsMode PinModefor theNinaCsalias- Nina
Miso - Alias for a configured
Pin - Nina
Miso Id PinIdfor theNinaMisoalias- Nina
Miso Mode PinModefor theNinaMisoalias- Nina
Mosi - Alias for a configured
Pin - Nina
Mosi Id PinIdfor theNinaMosialias- Nina
Mosi Mode PinModefor theNinaMosialias- Nina
ResetN - Alias for a configured
Pin - Nina
ResetN Id PinIdfor theNinaResetNalias- Nina
ResetN Mode PinModefor theNinaResetNalias- NinaSck
- Alias for a configured
Pin - Nina
SckId PinIdfor theNinaSckalias- Nina
SckMode PinModefor theNinaSckalias- NinaSpi
- SPI master for the Nina peripheral
- Nina
SpiPads - You can use these pads with other, user-defined
spi::Configurations. - Rx
- Alias for a configured
Pin - RxId
PinIdfor theRxalias- RxMode
PinModefor theRxalias- Sck
- Alias for a configured
Pin - SckId
PinIdfor theSckalias- SckMode
PinModefor theSckalias- Scl
- Alias for a configured
Pin - SclId
PinIdfor theSclalias- SclMode
PinModefor theSclalias- Sda
- Alias for a configured
Pin - SdaId
PinIdfor theSdaalias- SdaMode
PinModefor theSdaalias- Spi
- SPI master for the labelled SPI peripheral
- SpiPads
- You can use these pads with other, user-defined
spi::Configurations. - Tx
- Alias for a configured
Pin - TxId
PinIdfor theTxalias- TxMode
PinModefor theTxalias- Uart
- UART device for the labelled RX & TX pins
- Uart
Pads - UART pads
- UsbDm
- Alias for a configured
Pin - UsbDmId
PinIdfor theUsbDmalias- UsbDm
Mode PinModefor theUsbDmalias- UsbDp
- Alias for a configured
Pin - UsbDpId
PinIdfor theUsbDpalias- UsbDp
Mode PinModefor theUsbDpalias