Trait drone_core::reg::pointer::ValuePointer [] [src]

pub trait ValuePointer<R, A>: ThreadPointer<R, A> {
    type Value: RawValue<R>;
    fn read(&self) -> Self::Value { ... }
fn write<F>(&self, f: F)
    where
        F: Fn(&mut Self::Value) -> &Self::Value
, { ... }
fn modify<F>(&self, f: F)
    where
        F: Fn(&mut Self::Value) -> &Self::Value
, { ... } }

Register pointer with an associated value wrapper.

Associated Types

A corresponding register value wrapper type.

Provided Methods

Reads a wrapped value at the register address.

Writes a wrapped value at the register address.

Reads, modifies, and writes a wrapped value at the register address.

Implementors