Trait drone_cortexm::reg::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

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::dwt::cyccnt::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::itm::tcr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::itm::tpr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::afsr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::aircr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::bfar::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::bfsr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::ccr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::cpuid::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::demcr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::dfsr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::hfsr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::icsr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::mmfar::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::mmfsr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::scr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::shcsr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::shpr1::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::shpr2::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::shpr3::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::ufsr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::scb::vtor::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::stk::calib::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::stk::ctrl::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::stk::load::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::stk::val::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::tpiu::acpr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::tpiu::ffcr::Reg<_T>[src]

impl<_T: RegTag> RReg<_T> for drone_cortexm::map::reg::tpiu::sppr::Reg<_T>[src]

Loading content...