#[repr(u8)]pub enum CURRBKSELECT_A {
BANK0 = 0,
BANK1 = 1,
BANK2 = 2,
}
Expand description
Current Bank
Value on reset: 0
Variants§
BANK0 = 0
0: Current bank is bank0
BANK1 = 1
1: Current bank is bank1
BANK2 = 2
2: Current bank is bank2
Trait Implementations§
source§impl Clone for CURRBKSELECT_A
impl Clone for CURRBKSELECT_A
source§fn clone(&self) -> CURRBKSELECT_A
fn clone(&self) -> CURRBKSELECT_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 CURRBKSELECT_A
impl Debug for CURRBKSELECT_A
source§impl From<CURRBKSELECT_A> for u8
impl From<CURRBKSELECT_A> for u8
source§fn from(variant: CURRBKSELECT_A) -> Self
fn from(variant: CURRBKSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for CURRBKSELECT_A
impl PartialEq for CURRBKSELECT_A
source§fn eq(&self, other: &CURRBKSELECT_A) -> bool
fn eq(&self, other: &CURRBKSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CURRBKSELECT_A
impl Eq for CURRBKSELECT_A
impl StructuralEq for CURRBKSELECT_A
impl StructuralPartialEq for CURRBKSELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for CURRBKSELECT_A
impl Send for CURRBKSELECT_A
impl Sync for CURRBKSELECT_A
impl Unpin for CURRBKSELECT_A
impl UnwindSafe for CURRBKSELECT_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