Re-exports§
pub use atsamd_hal as hal;
pub use hal::ehal;
pub use hal::pac;
Macros§
Structs§
Constants§
- LED_ID
- DynPinId
for the
Led
alias. - LED_
MODE - DynPinMode
for the
Led
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. - NINA_
ACK_ ID - DynPinId
for the
NinaAck
alias. - NINA_
ACK_ MODE - DynPinMode
for the
NinaAck
alias. - NINA_
CS_ ID - DynPinId
for the
NinaCs
alias. - NINA_
CS_ MODE - DynPinMode
for the
NinaCs
alias. - NINA_
MISO_ ID - DynPinId
for the
NinaMiso
alias. - NINA_
MISO_ MODE - DynPinMode
for the
NinaMiso
alias. - NINA_
MOSI_ ID - DynPinId
for the
NinaMosi
alias. - NINA_
MOSI_ MODE - DynPinMode
for the
NinaMosi
alias. - NINA_
RESET_ N_ ID - DynPinId
for the
NinaResetN
alias. - NINA_
RESET_ N_ MODE - DynPinMode
for the
NinaResetN
alias. - NINA_
SCK_ ID - DynPinId
for the
NinaSck
alias. - NINA_
SCK_ MODE - DynPinMode
for the
NinaSck
alias. - RX_ID
- DynPinId
for the
Rx
alias. - RX_MODE
- DynPinMode
for the
Rx
alias. - SCK_ID
- DynPinId
for the
Sck
alias. - SCK_
MODE - DynPinMode
for the
Sck
alias. - SCL_ID
- DynPinId
for the
Scl
alias. - SCL_
MODE - DynPinMode
for the
Scl
alias. - SDA_ID
- DynPinId
for the
Sda
alias. - SDA_
MODE - DynPinMode
for the
Sda
alias. - TX_ID
- DynPinId
for the
Tx
alias. - TX_MODE
- DynPinMode
for the
Tx
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.
- 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
PinId
for theLed
alias- LedMode
PinMode
for theLed
alias- Miso
- Alias for a configured
Pin
- MisoId
PinId
for theMiso
alias- Miso
Mode PinMode
for theMiso
alias- Mosi
- Alias for a configured
Pin
- MosiId
PinId
for theMosi
alias- Mosi
Mode PinMode
for theMosi
alias- NinaAck
- Alias for a configured
Pin
- Nina
AckId PinId
for theNinaAck
alias- Nina
AckMode PinMode
for theNinaAck
alias- NinaCs
- Alias for a configured
Pin
- Nina
CsId PinId
for theNinaCs
alias- Nina
CsMode PinMode
for theNinaCs
alias- Nina
Miso - Alias for a configured
Pin
- Nina
Miso Id PinId
for theNinaMiso
alias- Nina
Miso Mode PinMode
for theNinaMiso
alias- Nina
Mosi - Alias for a configured
Pin
- Nina
Mosi Id PinId
for theNinaMosi
alias- Nina
Mosi Mode PinMode
for theNinaMosi
alias- Nina
ResetN - Alias for a configured
Pin
- Nina
ResetN Id PinId
for theNinaResetN
alias- Nina
ResetN Mode PinMode
for theNinaResetN
alias- NinaSck
- Alias for a configured
Pin
- Nina
SckId PinId
for theNinaSck
alias- Nina
SckMode PinMode
for theNinaSck
alias- NinaSpi
- SPI master for the Nina peripheral
- Nina
SpiPads - You can use these pads with other, user-defined
spi::Config
urations. - Rx
- Alias for a configured
Pin
- RxId
PinId
for theRx
alias- RxMode
PinMode
for theRx
alias- Sck
- Alias for a configured
Pin
- SckId
PinId
for theSck
alias- SckMode
PinMode
for theSck
alias- Scl
- Alias for a configured
Pin
- SclId
PinId
for theScl
alias- SclMode
PinMode
for theScl
alias- Sda
- Alias for a configured
Pin
- SdaId
PinId
for theSda
alias- SdaMode
PinMode
for theSda
alias- Spi
- SPI master for the labelled SPI peripheral
- SpiPads
- You can use these pads with other, user-defined
spi::Config
urations. - Tx
- Alias for a configured
Pin
- TxId
PinId
for theTx
alias- TxMode
PinMode
for theTx
alias- Uart
- UART device for the labelled RX & TX pins
- Uart
Pads - UART pads
- UsbDm
- Alias for a configured
Pin
- UsbDmId
PinId
for theUsbDm
alias- UsbDm
Mode PinMode
for theUsbDm
alias- UsbDp
- Alias for a configured
Pin
- UsbDpId
PinId
for theUsbDp
alias- UsbDp
Mode PinMode
for theUsbDp
alias