Crate itsybitsy_m4[−][src]
Re-exports
Modules
Use a SERCOM peripheral for SPI transactions
Use the SERCOM peripheral for UART communications
Macros
Structs
GenericClockController
encapsulates the GCLK hardware.
It provides a type safe way to configure the system clocks.
Initializing the GenericClockController
instance configures
the system to run at 120MHz by taking the DFLL48
and feeding it into the DPLL0 hardware which multiplies the
signal by 2.5x.
Hertz
Represents the Sercom instance configured to act as an I2C Master. The embedded_hal blocking I2C traits are implemented by this instance.
Qspi used for read/write of fixed-size octet buffers
Enums
Baudrate calculation in asynchronous mode
Baudrate oversampling values
Constants
DynPinId
for the Analog0
alias.
DynPinMode
for the Analog0
alias.
DynPinId
for the Analog1
alias.
DynPinMode
for the Analog1
alias.
DynPinId
for the Analog2
alias.
DynPinMode
for the Analog2
alias.
DynPinId
for the Analog3
alias.
DynPinMode
for the Analog3
alias.
DynPinId
for the Analog4
alias.
DynPinMode
for the Analog4
alias.
DynPinId
for the Analog5
alias.
DynPinMode
for the Analog5
alias.
DynPinId
for the BuiltinLed
alias.
DynPinMode
for the BuiltinLed
alias.
DynPinId
for the DotStarClk
alias.
DynPinMode
for the DotStarClk
alias.
DynPinId
for the DotStarData
alias.
DynPinMode
for the DotStarData
alias.
DynPinId
for the DotStarNC
alias.
DynPinMode
for the DotStarNC
alias.
DynPinMode
for the Miso
alias.
DynPinMode
for the Mosi
alias.
DynPinId
for the QspiCs
alias.
DynPinMode
for the QspiCs
alias.
DynPinId
for the QspiD0
alias.
DynPinMode
for the QspiD0
alias.
DynPinId
for the QspiD1
alias.
DynPinMode
for the QspiD1
alias.
DynPinId
for the QspiD2
alias.
DynPinMode
for the QspiD2
alias.
DynPinId
for the QspiD3
alias.
DynPinMode
for the QspiD3
alias.
DynPinId
for the QspiSck
alias.
DynPinMode
for the QspiSck
alias.
DynPinMode
for the Sck
alias.
DynPinMode
for the Scl
alias.
DynPinMode
for the Sda
alias.
DynPinId
for the UartRx
alias.
DynPinMode
for the UartRx
alias.
DynPinId
for the UartTx
alias.
DynPinMode
for the UartTx
alias.
DynPinId
for the UndocIoset2Pad2
alias.
DynPinMode
for the UndocIoset2Pad2
alias.
DynPinMode
for the UsbDm
alias.
DynPinMode
for the UsbDp
alias.
Functions
Convenience for setting up the dotstar LED using bitbang’ed SPI.
Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.
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.
Convenience for setting up the default SPI. This powers up SERCOM1 and configures it for use as an SPI Master in SPI Mode 0.
Convenience for setting up the labelled RX, TX pins to operate as a UART device running at the specified baud.
Type Definitions
Alias for a configured Pin
PinId
for the BuiltinLed
alias
PinMode
for the BuiltinLed
alias
Alias for a configured Pin
PinId
for the DotStarClk
alias
PinMode
for the DotStarClk
alias
Alias for a configured Pin
PinId
for the DotStarData
alias
PinMode
for the DotStarData
alias
I2C master for the labelled SDA & SCL pins
Type alias for the corresponding SERCOM instance
Type alias for the corresponding SERCOM instance
SPI master for the labelled SPI peripheral
SPI pads for the labelled SPI peripheral
UART device for the labelled RX & TX pins
UART Pads for the labelled UART peripheral
Alias for a configured Pin
PinId
for the UndocIoset2Pad2
alias
PinMode
for the UndocIoset2Pad2
alias