Struct drone_cortexm::map::reg::dwt::cyccnt::Val [−][src]
Cycle Count Register.
Trait Implementations
impl Bitfield for Val
[src]
type Bits = u32
The type of the integer. Determines the total number of bits.
fn bits(&self) -> u32
[src]
fn bits_mut(&mut self) -> &mut u32
[src]
pub unsafe fn read_bit(&self, offset: Self::Bits) -> bool
[src]
pub unsafe fn set_bit(&mut self, offset: Self::Bits)
[src]
pub unsafe fn clear_bit(&mut self, offset: Self::Bits)
[src]
pub unsafe fn toggle_bit(&mut self, offset: Self::Bits)
[src]
pub unsafe fn read_bits(
&self,
offset: Self::Bits,
width: Self::Bits
) -> Self::Bits
[src]
&self,
offset: Self::Bits,
width: Self::Bits
) -> Self::Bits
pub unsafe fn write_bits(
&mut self,
offset: Self::Bits,
width: Self::Bits,
bits: Self::Bits
)
[src]
&mut self,
offset: Self::Bits,
width: Self::Bits,
bits: Self::Bits
)
impl Clone for Val
[src]
fn clone(&self) -> Val
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Val
[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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,