Trait Word

Source
pub trait Word {
    // Required method
    fn register_config() -> (FRXTH_A, DS_A);
}
Expand description

Configuration trait for the Word Size used by the SPI peripheral

Required Methods§

Source

fn register_config() -> (FRXTH_A, DS_A)

Returns the register configuration to set the 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

Implementors§