Crate arduino_nano33iot

Source

Re-exports§

pub use atsamd_hal as hal;
pub use hal::ehal;
pub use hal::pac;

Macros§

pin_alias
Refer to fields of the Pins struct by alternate names

Structs§

Pins
BSP replacement for the HAL Pins type

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 the Led alias
LedMode
PinMode for the Led alias
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
NinaAck
Alias for a configured Pin
NinaAckId
PinId for the NinaAck alias
NinaAckMode
PinMode for the NinaAck alias
NinaCs
Alias for a configured Pin
NinaCsId
PinId for the NinaCs alias
NinaCsMode
PinMode for the NinaCs alias
NinaMiso
Alias for a configured Pin
NinaMisoId
PinId for the NinaMiso alias
NinaMisoMode
PinMode for the NinaMiso alias
NinaMosi
Alias for a configured Pin
NinaMosiId
PinId for the NinaMosi alias
NinaMosiMode
PinMode for the NinaMosi alias
NinaResetN
Alias for a configured Pin
NinaResetNId
PinId for the NinaResetN alias
NinaResetNMode
PinMode for the NinaResetN alias
NinaSck
Alias for a configured Pin
NinaSckId
PinId for the NinaSck alias
NinaSckMode
PinMode for the NinaSck alias
NinaSpi
SPI master for the Nina peripheral
NinaSpiPads
You can use these pads with other, user-defined spi::Configurations.
Rx
Alias for a configured Pin
RxId
PinId for the Rx alias
RxMode
PinMode for the Rx alias
Sck
Alias for a configured Pin
SckId
PinId for the Sck alias
SckMode
PinMode for the Sck alias
Scl
Alias for a configured Pin
SclId
PinId for the Scl alias
SclMode
PinMode for the Scl alias
Sda
Alias for a configured Pin
SdaId
PinId for the Sda alias
SdaMode
PinMode for the Sda alias
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
PinId for the Tx alias
TxMode
PinMode for the Tx alias
Uart
UART device for the labelled RX & TX pins
UartPads
UART pads
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