#[repr(transparent)]pub struct Pmcr(pub u32);Expand description
Performance Monitor Control
Tuple Fields§
§0: u32Implementations§
Source§impl Pmcr
impl Pmcr
Sourcepub const fn set_rectr1(&mut self, val: Rectr1)
pub const fn set_rectr1(&mut self, val: Rectr1)
Reset Event Counter 1
Sourcepub const fn set_rectr2(&mut self, val: Rectr2)
pub const fn set_rectr2(&mut self, val: Rectr2)
Reset Event Counter 2
Sourcepub const fn set_rectr3(&mut self, val: Rectr3)
pub const fn set_rectr3(&mut self, val: Rectr3)
Reset Event Counter 3
Sourcepub const fn set_selevt1(&mut self, val: u8)
pub const fn set_selevt1(&mut self, val: u8)
Select Event 1
Sourcepub const fn set_selevt2(&mut self, val: u8)
pub const fn set_selevt2(&mut self, val: u8)
Select Event 2
Sourcepub const fn set_selevt3(&mut self, val: u8)
pub const fn set_selevt3(&mut self, val: u8)
Select Event 3
Trait Implementations§
impl Copy for Pmcr
impl Eq for Pmcr
impl StructuralPartialEq for Pmcr
Auto Trait Implementations§
impl Freeze for Pmcr
impl RefUnwindSafe for Pmcr
impl Send for Pmcr
impl Sync for Pmcr
impl Unpin for Pmcr
impl UnwindSafe for Pmcr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more