Trait drone_cortexm::reg::RegRef[][src]

pub trait RegRef<'a, T>: Reg<T> where
    T: RegTag
{ type Hold: RegHold<'a, T, Self>; pub fn hold(&'a self, val: Self::Val) -> Self::Hold; pub fn default(&'a self) -> Self::Hold { ... } }

Connects Reg with RegHold.

Associated Types

type Hold: RegHold<'a, T, Self>[src]

Exposed storage for register values.

See also Val.

Loading content...

Required methods

pub fn hold(&'a self, val: Self::Val) -> Self::Hold[src]

Creates a new exposed register value from val.

Loading content...

Provided methods

pub fn default(&'a self) -> Self::Hold[src]

Creates a new exposed register value, and initializes it with the reset value.

See also default_val.

Loading content...

Implementors

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::dwt::cyccnt::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::itm::lar::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::itm::tcr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::itm::tpr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::afsr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::aircr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::bfar::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::bfsr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::ccr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::cpuid::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::demcr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::dfsr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::hfsr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::icsr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::mmfar::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::mmfsr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::scr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::shcsr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::shpr1::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::shpr2::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::shpr3::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::ufsr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::scb::vtor::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::stk::calib::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::stk::ctrl::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::stk::load::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::stk::val::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::tpiu::acpr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::tpiu::ffcr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

impl<'a, _T> RegRef<'a, _T> for drone_cortexm::map::reg::tpiu::sppr::Reg<_T> where
    _T: RegTag + 'a, 
[src]

type Hold = Hold<'a, _T>

Loading content...