Crate itsybitsy_m0

Crate itsybitsy_m0 

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§

A0_ID
DynPinId for the A0 alias.
A0_MODE
DynPinMode for the A0 alias.
D5_PWM_ID
DynPinId for the D5Pwm alias.
D5_PWM_MODE
DynPinMode for the D5Pwm alias.
DOT_STAR_CLK_ID
DynPinId for the DotStarClk alias.
DOT_STAR_CLK_MODE
DynPinMode for the DotStarClk alias.
DOT_STAR_DATA_ID
DynPinId for the DotStarData alias.
DOT_STAR_DATA_MODE
DynPinMode for the DotStarData alias.
DOT_STAR_N_C_ID
DynPinId for the DotStarNC alias.
DOT_STAR_N_C_MODE
DynPinMode for the DotStarNC 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.
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.
SDA_ID
DynPinId for the Sda alias.
SDA_MODE
DynPinMode for the Sda alias.
UART_RX_ID
DynPinId for the UartRx alias.
UART_RX_MODE
DynPinMode for the UartRx 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§

dotstar_bitbang
Convenience for setting up the dotstar LED using bitbang’ed SPI.
i2c_master
Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.
spi_master
Convenience for setting up the labelled SPI peripheral. This powers up the SPI SERCOM 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§

A0
Alias for a configured Pin
A0Id
PinId for the A0 alias
A0Mode
PinMode for the A0 alias
D5Pwm
Alias for a configured Pin
D5PwmId
PinId for the D5Pwm alias
D5PwmMode
PinMode for the D5Pwm alias
DotStarClk
Alias for a configured Pin
DotStarClkId
PinId for the DotStarClk alias
DotStarClkMode
PinMode for the DotStarClk alias
DotStarData
Alias for a configured Pin
DotStarDataId
PinId for the DotStarData alias
DotStarDataMode
PinMode for the DotStarData alias
DotStarNC
Alias for a configured Pin
DotStarNCId
PinId for the DotStarNC alias
DotStarNCMode
PinMode for the DotStarNC alias
I2c
I2C master for the labelled I2C peripheral
I2cPads
I2C pads for the labelled I2C peripheral
I2cSercom
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
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
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
SPI pads for the labelled SPI peripheral
SpiSercom
Uart
UART device for the labelled RX & TX pins
UartPads
UART pads for the labelled RX & TX pins
UartRx
Alias for a configured Pin
UartRxId
PinId for the UartRx alias
UartRxMode
PinMode for the UartRx alias
UartSercom
UartTx
Alias for a configured Pin
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