Enum atsame70n21b::qspi::ifr::OPTLSELECT_A
source · #[repr(u8)]pub enum OPTLSELECT_A {
OPTION_1BIT = 0,
OPTION_2BIT = 1,
OPTION_4BIT = 2,
OPTION_8BIT = 3,
}
Expand description
Option Code Length
Value on reset: 0
Variants§
OPTION_1BIT = 0
0: The option code is 1 bit long.
OPTION_2BIT = 1
1: The option code is 2 bits long.
OPTION_4BIT = 2
2: The option code is 4 bits long.
OPTION_8BIT = 3
3: The option code is 8 bits long.
Trait Implementations§
source§impl Clone for OPTLSELECT_A
impl Clone for OPTLSELECT_A
source§fn clone(&self) -> OPTLSELECT_A
fn clone(&self) -> OPTLSELECT_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 OPTLSELECT_A
impl Debug for OPTLSELECT_A
source§impl From<OPTLSELECT_A> for u8
impl From<OPTLSELECT_A> for u8
source§fn from(variant: OPTLSELECT_A) -> Self
fn from(variant: OPTLSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for OPTLSELECT_A
impl PartialEq for OPTLSELECT_A
source§fn eq(&self, other: &OPTLSELECT_A) -> bool
fn eq(&self, other: &OPTLSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OPTLSELECT_A
impl Eq for OPTLSELECT_A
impl StructuralEq for OPTLSELECT_A
impl StructuralPartialEq for OPTLSELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for OPTLSELECT_A
impl Send for OPTLSELECT_A
impl Sync for OPTLSELECT_A
impl Unpin for OPTLSELECT_A
impl UnwindSafe for OPTLSELECT_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