Struct drone_cortexm::map::reg::itm::lar::Reg [−][src]
ITM lock access register.
Fields
unlock: Unlock<_T>
Write 0xC5ACCE55
to unlock Write Access to the other ITM registers.
Trait Implementations
impl<_T: Clone + RegTag> Clone for Reg<_T>
[src]
fn clone(&self) -> Reg<_T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<_T: Copy + RegTag> Copy for Reg<_T>
[src]
impl<_T: RegTag> Reg<_T> for Reg<_T>
[src]
type Val = Val
Opaque storage for register values. Read more
type UReg = Reg<Urt>
Corresponding unsynchronized register token.
type SReg = Reg<Srt>
Corresponding synchronized register token.
type CReg = Reg<Crt>
Corresponding copyable register token.
const ADDRESS: usize
[src]
const RESET: u32
[src]
unsafe fn val_from(bits: u32) -> Val
[src]
pub fn into_unsync(self) -> Self::UReg where
T: RegOwned,
[src]
T: RegOwned,
pub fn into_sync(self) -> Self::SReg where
T: RegOwned,
[src]
T: RegOwned,
pub fn into_copy(self) -> Self::CReg
[src]
pub fn as_sync(&self) -> &Self::SReg where
T: RegAtomic,
[src]
T: RegAtomic,
pub fn default_val(&self) -> Self::Val
[src]
impl<'a, _T> RegHold<'a, _T, Reg<_T>> for Hold<'a, _T> where
_T: RegTag,
[src]
_T: RegTag,
impl<'a, _T> RegRef<'a, _T> for Reg<_T> where
_T: RegTag + 'a,
[src]
_T: RegTag + 'a,
type Hold = Hold<'a, _T>
Exposed storage for register values. Read more
fn hold(&'a self, val: Self::Val) -> Self::Hold
[src]
pub fn default(&'a self) -> Self::Hold
[src]
impl<_T: RegTag> Token for Reg<_T>
[src]
impl<_T: RegTag> WReg<_T> for Reg<_T>
[src]
pub fn as_mut_ptr(&self) -> *mut <Self::Val as Bitfield>::Bits
[src]
impl<_T: RegTag> WoReg<_T> for Reg<_T>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<R> CWoReg for R where
R: WoReg<Crt> + for<'a> WRegAtomic<'a, Crt> + Copy,
[src]
R: WoReg<Crt> + for<'a> WRegAtomic<'a, Crt> + Copy,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<R> SWoReg for R where
R: WoReg<Srt> + for<'a> WRegAtomic<'a, Srt>,
[src]
R: WoReg<Srt> + for<'a> WRegAtomic<'a, Srt>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<R> UWoReg for R where
R: WoReg<Urt> + for<'a> WRegUnsync<'a>,
[src]
R: WoReg<Urt> + for<'a> WRegUnsync<'a>,
impl<'a, R> WRegUnsync<'a> for R where
R: WReg<Urt> + RegRef<'a, Urt>,
[src]
R: WReg<Urt> + RegRef<'a, Urt>,
pub fn store<F>(&'a mut self, f: F) where
F: for<'b> FnOnce(&'b mut <R as RegRef<'a, Urt>>::Hold) -> &'b mut <R as RegRef<'a, Urt>>::Hold,
[src]
F: for<'b> FnOnce(&'b mut <R as RegRef<'a, Urt>>::Hold) -> &'b mut <R as RegRef<'a, Urt>>::Hold,
pub fn store_reg<F>(&'a mut self, f: F) where
F: for<'b> FnOnce(&'b R, &'b mut <R as Reg<Urt>>::Val),
[src]
F: for<'b> FnOnce(&'b R, &'b mut <R as Reg<Urt>>::Val),