Docs.rs
embassy-stm32-0.2.0
embassy-stm32 0.2.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
Dirbaio
github:embassy-rs:crates-io
Dependencies
aligned ^0.4.1
normal
bit_field ^0.10.2
normal
bitflags ^2.4.2
normal
block-device-driver ^0.2
normal
cfg-if ^1.0.0
normal
chrono ^0.4
normal
optional
cortex-m ^0.7.6
normal
cortex-m-rt >=0.6.15, <0.8
normal
critical-section ^1.1
normal
defmt ^0.3
normal
optional
document-features ^0.2.7
normal
embassy-embedded-hal ^0.3.0
normal
embassy-executor ^0.7.0
normal
optional
embassy-futures ^0.1.0
normal
embassy-hal-internal ^0.2.0
normal
embassy-net-driver ^0.2.0
normal
embassy-sync ^0.6.1
normal
embassy-time ^0.4.0
normal
optional
embassy-time-driver ^0.2
normal
optional
embassy-time-queue-utils ^0.1
normal
optional
embassy-usb-driver ^0.1.0
normal
embassy-usb-synopsys-otg ^0.2.0
normal
embedded-can ^0.4
normal
embedded-hal ^0.2.6
normal
embedded-hal ^1.0
normal
embedded-hal-async ^1.0
normal
embedded-hal-nb ^1.0
normal
embedded-io ^0.6.0
normal
embedded-io-async ^0.6.1
normal
embedded-storage ^0.3.1
normal
embedded-storage-async ^0.4.1
normal
futures-util ^0.3.30
normal
log ^0.4.14
normal
optional
nb ^1.0.0
normal
rand_core ^0.6.3
normal
sdio-host ^0.5.0
normal
static_assertions ^1.1
normal
stm32-fmc ^0.3.0
normal
stm32-metapac ^16
normal
vcell ^0.1.3
normal
volatile-register ^0.2.1
normal
critical-section ^1.1
dev
proptest ^1.5.0
dev
proptest-state-machine ^0.3.0
dev
proc-macro2 ^1.0.36
build
quote ^1.0.15
build
stm32-metapac ^16
build
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
embassy_
stm32
0.2.0
Module spi
Module Items
Structs
Enums
Constants
Traits
In crate embassy_
stm32
embassy_stm32
Module
spi
Copy item path
Source
Expand description
Serial Peripheral Interface (SPI)
Structs
§
Config
SPI configuration.
Mode
SPI mode
Spi
SPI driver.
Enums
§
BitOrder
SPI bit order
Error
SPI error.
Phase
Clock phase
Polarity
Clock polarity
Constants
§
MODE_0
Helper for CPOL = 0, CPHA = 0
MODE_1
Helper for CPOL = 0, CPHA = 1
MODE_2
Helper for CPOL = 1, CPHA = 0
MODE_3
Helper for CPOL = 1, CPHA = 1
Traits
§
CkPin
CkPin pin trait
CsPin
CsPin pin trait
Instance
Peripheral instance trait.
MckPin
MckPin pin trait
MisoPin
MisoPin pin trait
MosiPin
MosiPin pin trait
RxDma
RxDma DMA request trait
SckPin
SckPin pin trait
TxDma
TxDma DMA request trait
Word
Word sizes usable for SPI.
WsPin
WsPin pin trait