Struct Mode
#[repr(transparent)]pub struct Mode(pub u32);Expand description
Counter mode selection.
Tuple Fields§
§0: u32Implementations§
§impl Mode
impl Mode
pub const fn set_autoen(&mut self, val: Autoen)
pub const fn set_autoen(&mut self, val: Autoen)
Automatic enable to keep the SYSCOUNTER active.
pub const fn syscounteren(&self) -> bool
pub const fn syscounteren(&self) -> bool
Enable the SYSCOUNTER.
pub const fn set_syscounteren(&mut self, val: bool)
pub const fn set_syscounteren(&mut self, val: bool)
Enable the SYSCOUNTER.
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnsafeUnpin for Mode
impl UnwindSafe for Mode
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