Enum atsamd51p::cmcc::type_::WAYNUMSELECT_A
source · #[repr(u8)]pub enum WAYNUMSELECT_A {
DMAPPED = 0,
ARCH2WAY = 1,
ARCH4WAY = 2,
}
Expand description
Number of Way
Value on reset: 2
Variants§
DMAPPED = 0
0: Direct Mapped Cache
ARCH2WAY = 1
1: 2-WAY set associative
ARCH4WAY = 2
2: 4-WAY set associative
Trait Implementations§
source§impl Clone for WAYNUMSELECT_A
impl Clone for WAYNUMSELECT_A
source§fn clone(&self) -> WAYNUMSELECT_A
fn clone(&self) -> WAYNUMSELECT_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 WAYNUMSELECT_A
impl Debug for WAYNUMSELECT_A
source§impl From<WAYNUMSELECT_A> for u8
impl From<WAYNUMSELECT_A> for u8
source§fn from(variant: WAYNUMSELECT_A) -> Self
fn from(variant: WAYNUMSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for WAYNUMSELECT_A
impl PartialEq for WAYNUMSELECT_A
source§fn eq(&self, other: &WAYNUMSELECT_A) -> bool
fn eq(&self, other: &WAYNUMSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WAYNUMSELECT_A
impl Eq for WAYNUMSELECT_A
impl StructuralPartialEq for WAYNUMSELECT_A
Auto Trait Implementations§
impl Freeze for WAYNUMSELECT_A
impl RefUnwindSafe for WAYNUMSELECT_A
impl Send for WAYNUMSELECT_A
impl Sync for WAYNUMSELECT_A
impl Unpin for WAYNUMSELECT_A
impl UnwindSafe for WAYNUMSELECT_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