#[repr(u8)]pub enum SCANCONF_A {
DIRMAP = 0,
INVMAP = 1,
TOGGLE = 2,
DECDEF = 3,
}
Expand description
Select scan configuration
Value on reset: 0
Variants§
DIRMAP = 0
0: The channel configuration register registers used are directly mapped to the channel number.
INVMAP = 1
1: The channel configuration register registers used are CHX+8_CONF for channels 0-7 and CHX-8_CONF for channels 8-15.
TOGGLE = 2
2: The channel configuration register registers used toggles between CHX_CONF and CHX+8_CONF when channel x triggers
DECDEF = 3
3: The decoder state defines the CONF registers to be used.
Trait Implementations§
Source§impl Clone for SCANCONF_A
impl Clone for SCANCONF_A
Source§fn clone(&self) -> SCANCONF_A
fn clone(&self) -> SCANCONF_A
Returns a duplicate 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 SCANCONF_A
impl Debug for SCANCONF_A
Source§impl From<SCANCONF_A> for u8
impl From<SCANCONF_A> for u8
Source§fn from(variant: SCANCONF_A) -> Self
fn from(variant: SCANCONF_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SCANCONF_A
impl PartialEq for SCANCONF_A
impl Copy for SCANCONF_A
impl StructuralPartialEq for SCANCONF_A
Auto Trait Implementations§
impl Freeze for SCANCONF_A
impl RefUnwindSafe for SCANCONF_A
impl Send for SCANCONF_A
impl Sync for SCANCONF_A
impl Unpin for SCANCONF_A
impl UnwindSafe for SCANCONF_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