Enum nrf52840_pac::timer0::mode::MODE_A
source · #[repr(u8)]pub enum MODE_A {
TIMER = 0,
COUNTER = 1,
LOW_POWER_COUNTER = 2,
}
Expand description
Timer mode
Value on reset: 0
Variants§
TIMER = 0
0: Select Timer mode
COUNTER = 1
1: Deprecated enumerator - Select Counter mode
LOW_POWER_COUNTER = 2
2: Select Low Power Counter mode
Trait Implementations§
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations§
impl Freeze for MODE_A
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)