embassy-stm32

Crates

git

Versions

stm32u595zj

Flavors

embassy_stm32::dma::word

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§

Source§

impl Word for U1

Source§

impl Word for U2

Source§

impl Word for U3

Source§

impl Word for U4

Source§

impl Word for U5

Source§

impl Word for U6

Source§

impl Word for U7

Source§

impl Word for U9

Source§

impl Word for U10

Source§

impl Word for U11

Source§

impl Word for U12

Source§

impl Word for U13

Source§

impl Word for U14

Source§

impl Word for U15

Source§

impl Word for U17

Source§

impl Word for U18

Source§

impl Word for U19

Source§

impl Word for U20

Source§

impl Word for U21

Source§

impl Word for U22

Source§

impl Word for U23

Source§

impl Word for U24

Source§

impl Word for U25

Source§

impl Word for U26

Source§

impl Word for U27

Source§

impl Word for U28

Source§

impl Word for U29

Source§

impl Word for U30

Source§

impl Word for U31