Struct drone_cortexm::map::reg::scb::cpuid::Reg [−][src]
Provides identification information for the processor.
Fields
implementer: Implementer<_T>
Implementer code assigned by ARM.
variant: Variant<_T>
Variant number.
architecture: Architecture<_T>
Reads as 0xF
.
partno: Partno<_T>
Part number of the processor.
revision: Revision<_T>
Revision number.
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> RReg<_T> for Reg<_T>
[src]
pub fn load<'a>(&'a self) -> Self::Hold where
Self: RegRef<'a, T>,
[src]
Self: RegRef<'a, T>,
pub fn load_val(&self) -> Self::Val
[src]
pub fn load_bits(&self) -> <Self::Val as Bitfield>::Bits
[src]
pub fn as_ptr(&self) -> *const <Self::Val as Bitfield>::Bits
[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> RoReg<_T> for Reg<_T>
[src]
impl<_T: RegTag> Token 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> CRoReg for R where
R: RoReg<Crt> + Copy,
[src]
R: RoReg<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> SRoReg for R where
R: RoReg<Srt>,
[src]
R: RoReg<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> URoReg for R where
R: RoReg<Urt>,
[src]
R: RoReg<Urt>,