embassy-stm32

Crates

git

Versions

stm32h533he

Flavors

๐Ÿ“ฃ We want to hear from you! Fill the Rust Embedded 2024 micro-survey.

Trait embassy_stm32::dma::word::Word

source ยท
pub trait Word:
    SealedWord
    + Default
    + Copy
    + 'static {
    // Required methods
    fn size() -> WordSize;
    fn bits() -> usize;
}
Expand description

DMA word trait.

This is implemented for u8, u16, u32, etc.

Required Methodsยง

source

fn size() -> WordSize

Word size

source

fn bits() -> usize

Amount of bits of this word size.

Object Safetyยง

This trait is not object safe.

Implementations on Foreign Typesยง

sourceยง

impl Word for u8

sourceยง

impl Word for u16

sourceยง

impl Word for u32

Implementorsยง