Skip to main content

SpmiRegisterDef

Trait SpmiRegisterDef 

Source
pub trait SpmiRegisterDef {
    type Value: RegisterValue;
    type Mode;

    const ADDRESS: u16;
}
Expand description

Base trait implemented by register definitions providing device-independent metadata.

Required Associated Constants§

Source

const ADDRESS: u16

The address of this register.

Required Associated Types§

Source

type Value: RegisterValue

The type representing the value of this register.

Source

type Mode

The typestate access mode marker for this register.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§