Docs.rs
stm32l4xx-hal-0.7.1
stm32l4xx-hal 0.7.1
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
korken89
MabezDev
Dependencies
bxcan >=0.4, <0.7
normal
cast ^0.2.2
normal
cortex-m ^0.7
normal
embedded-dma ^0.1
normal
embedded-hal ^0.2.6
normal
fugit ^0.3.5
normal
nb ^0.1.1
normal
rand_core ^0.6.2
normal
stable_deref_trait ^1.1
normal
stm32-usbd ^0.6.0
normal
stm32l4 ^0.14.0
normal
synopsys-usb-otg ^0.2.4
normal
void ^1.0.2
normal
cortex-m-rt ^0.7
dev
cortex-m-rtic ^0.5.9
dev
cortex-m-semihosting ^0.3.5
dev
heapless ^0.5
dev
panic-halt ^0.2.0
dev
panic-rtt-target ^0.1.1
dev
panic-semihosting ^0.5.0
dev
rtt-target ^0.2.2
dev
usb-device ^0.2.3
dev
usbd-serial ^0.1.0
dev
Versions
49.68%
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
☰
SpiRxDma
Methods
split
split
Trait Implementations
ReadDma<B, u8>
ReadDma<B, u8>
Receive
Receive
TransferPayload
TransferPayload
In stm32l4xx_hal::spi
?
Type Definition
stm32l4xx_hal
::
spi
::
SpiRxDma
source
·
[
−
]
pub type SpiRxDma<SPI, PINS, CHANNEL> =
RxDma
<
SpiPayload
<SPI, PINS>, CHANNEL>;
Implementations
source
impl<PINS>
SpiRxDma
<
SPI1
, PINS,
C2
>
source
pub fn
split
(self) ->
(
Spi
<
SPI1
, PINS>,
C2
)
source
impl<PINS>
SpiRxDma
<
SPI3
, PINS,
C1
>
source
pub fn
split
(self) ->
(
Spi
<
SPI3
, PINS>,
C1
)
Trait Implementations
source
impl<B, PINS>
ReadDma
<B,
u8
> for
SpiRxDma
<
SPI1
, PINS,
C2
>
where
B:
StaticWriteBuffer
<Word =
u8
>,
source
fn
read
(self, buffer: B) ->
Transfer
<
W
, B, Self>
source
impl<B, PINS>
ReadDma
<B,
u8
> for
SpiRxDma
<
SPI3
, PINS,
C1
>
where
B:
StaticWriteBuffer
<Word =
u8
>,
source
fn
read
(self, buffer: B) ->
Transfer
<
W
, B, Self>
source
impl<PINS>
Receive
for
SpiRxDma
<
SPI1
, PINS,
C2
>
type
RxChannel
=
C2
type
TransmittedWord
=
u8
source
impl<PINS>
Receive
for
SpiRxDma
<
SPI3
, PINS,
C1
>
type
RxChannel
=
C1
type
TransmittedWord
=
u8
source
impl<PINS>
TransferPayload
for
SpiRxDma
<
SPI1
, PINS,
C2
>
source
fn
start
(&mut self)
source
fn
stop
(&mut self)
source
impl<PINS>
TransferPayload
for
SpiRxDma
<
SPI3
, PINS,
C1
>
source
fn
start
(&mut self)
source
fn
stop
(&mut self)