[][src]Trait drone_core::reg::RReg

pub trait RReg<T: RegTag>: Reg<T> {
    fn load_val(&self) -> Self::Val { ... }
fn load<'a>(&'a self) -> Self::Hold
    where
        Self: RegRef<'a, T>
, { ... }
fn as_ptr(&self) -> *const <Self::Val as Bitfield>::Bits { ... } }

Readable register.

Provided methods

fn load_val(&self) -> Self::Val

Reads the value from the register memory to the opaque value type.

See also load.

fn load<'a>(&'a self) -> Self::Hold where
    Self: RegRef<'a, T>, 

Reads the value from the register memory to the exposed value type.

See also load_val.

fn as_ptr(&self) -> *const <Self::Val as Bitfield>::Bits

Returns a raw pointer to the register memory.

See also as_mut_ptr.

Loading content...

Implementors

Loading content...