Enum d1_pac::spinlock::spinlock_systatus::LOCKS_NUM_A
source · #[repr(u8)]pub enum LOCKS_NUM_A {
N256 = 0,
N32 = 1,
N64 = 2,
N128 = 3,
}
Expand description
Number of lock registers implemented
Value on reset: 0
Variants§
N256 = 0
0: 256 lock registers
N32 = 1
1: 32 lock registers
N64 = 2
2: 64 lock registers
N128 = 3
3: 128 lock registers
Trait Implementations§
source§impl Clone for LOCKS_NUM_A
impl Clone for LOCKS_NUM_A
source§fn clone(&self) -> LOCKS_NUM_A
fn clone(&self) -> LOCKS_NUM_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LOCKS_NUM_A
impl Debug for LOCKS_NUM_A
source§impl From<LOCKS_NUM_A> for u8
impl From<LOCKS_NUM_A> for u8
source§fn from(variant: LOCKS_NUM_A) -> Self
fn from(variant: LOCKS_NUM_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for LOCKS_NUM_A
impl PartialEq for LOCKS_NUM_A
impl Copy for LOCKS_NUM_A
impl Eq for LOCKS_NUM_A
impl StructuralPartialEq for LOCKS_NUM_A
Auto Trait Implementations§
impl Freeze for LOCKS_NUM_A
impl RefUnwindSafe for LOCKS_NUM_A
impl Send for LOCKS_NUM_A
impl Sync for LOCKS_NUM_A
impl Unpin for LOCKS_NUM_A
impl UnwindSafe for LOCKS_NUM_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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)