#[repr(u8)]pub enum CSRESSEL_A {
RES0 = 0,
RES1 = 1,
RES2 = 2,
RES3 = 3,
}
Expand description
Capacitive Sense Mode Internal Resistor Select
Value on reset: 0
Variants§
RES0 = 0
0: Internal capacitive sense resistor value 0.
RES1 = 1
1: Internal capacitive sense resistor value 1.
RES2 = 2
2: Internal capacitive sense resistor value 2.
RES3 = 3
3: Internal capacitive sense resistor value 3.
Trait Implementations§
Source§impl Clone for CSRESSEL_A
impl Clone for CSRESSEL_A
Source§fn clone(&self) -> CSRESSEL_A
fn clone(&self) -> CSRESSEL_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 CSRESSEL_A
impl Debug for CSRESSEL_A
Source§impl From<CSRESSEL_A> for u8
impl From<CSRESSEL_A> for u8
Source§fn from(variant: CSRESSEL_A) -> Self
fn from(variant: CSRESSEL_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CSRESSEL_A
impl PartialEq for CSRESSEL_A
impl Copy for CSRESSEL_A
impl StructuralPartialEq for CSRESSEL_A
Auto Trait Implementations§
impl Freeze for CSRESSEL_A
impl RefUnwindSafe for CSRESSEL_A
impl Send for CSRESSEL_A
impl Sync for CSRESSEL_A
impl Unpin for CSRESSEL_A
impl UnwindSafe for CSRESSEL_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