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

pub trait RReg<T>: Reg<T> where
    T: RegTag
{ 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

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::dwt::Cyccnt<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::fpu::Cpacr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::fpu::Fpcar<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::fpu::Fpccr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::fpu::Fpdscr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::itm::Tcr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::itm::Tpr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::mpu::Ctrl<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::mpu::Rasr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::mpu::Rbar<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::mpu::Rnr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::mpu::Type<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Afsr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Aircr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Bfar<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Bfsr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Ccr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Cpuid<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Demcr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Dfsr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Hfsr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Icsr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Mmfar<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Mmfsr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Scr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Shcsr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Shpr1<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Shpr2<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Shpr3<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Ufsr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::scb::Vtor<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::stk::Calib<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::stk::Ctrl<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::stk::Load<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::stk::Val<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::tpiu::Acpr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::tpiu::Ffcr<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortex_m::map::reg::tpiu::Sppr<_T>[src]

Loading content...