Trait drone_riscv::reg::prelude::RReg[][src]

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

Readable register.

Provided methods

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

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

See also load_val, load_bits.

pub fn load_val(&self) -> Self::Val[src]

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

See also load, load_bits.

pub fn load_bits(&self) -> <Self::Val as Bitfield>::Bits[src]

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

See also load, load_val.

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

Returns a raw pointer to the register memory.

See also as_mut_ptr.

Loading content...

Implementors

Loading content...