Trait radio::Register

source ·
pub trait Register: Copy + TryFrom<Self::Word, Error = Self::Error> + Into<Self::Word> {
    type Word;
    type Error;

    const ADDRESS: u8;
}
Expand description

Register contains the address and value of a register.

It is primarily intended as a type constraint for the Registers trait.

Required Associated Types§

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementors§