Enum d1_pac::tpadc::tp_ctrl2::TP_FIFO_MODE_SELECT_A
source · #[repr(u8)]pub enum TP_FIFO_MODE_SELECT_A {
X1Y1 = 0,
X1Y1D_XD_Y = 1,
X1Y1X2Y2 = 2,
X1Y1X2Y2Z1Z2 = 3,
}
Expand description
TP Access Data Mode Select
Value on reset: 0
Variants§
X1Y1 = 0
0: FIFO store X1 Y1 data for single touch no pressure mode
X1Y1D_XD_Y = 1
1: FIFO store X1 Y1 ΔX ΔY data for dual touch no pressure mode
X1Y1X2Y2 = 2
2: FIFO store X1 Y1 X2 Y2 data for dual touch no pressure mode
X1Y1X2Y2Z1Z2 = 3
3: FIFO store X1 Y1 X2 Y2 Z1 Z2 data for dual touch and pressure mode
Trait Implementations§
source§impl Clone for TP_FIFO_MODE_SELECT_A
impl Clone for TP_FIFO_MODE_SELECT_A
source§fn clone(&self) -> TP_FIFO_MODE_SELECT_A
fn clone(&self) -> TP_FIFO_MODE_SELECT_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 TP_FIFO_MODE_SELECT_A
impl Debug for TP_FIFO_MODE_SELECT_A
source§impl From<TP_FIFO_MODE_SELECT_A> for u8
impl From<TP_FIFO_MODE_SELECT_A> for u8
source§fn from(variant: TP_FIFO_MODE_SELECT_A) -> Self
fn from(variant: TP_FIFO_MODE_SELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for TP_FIFO_MODE_SELECT_A
impl PartialEq for TP_FIFO_MODE_SELECT_A
impl Copy for TP_FIFO_MODE_SELECT_A
impl Eq for TP_FIFO_MODE_SELECT_A
impl StructuralPartialEq for TP_FIFO_MODE_SELECT_A
Auto Trait Implementations§
impl Freeze for TP_FIFO_MODE_SELECT_A
impl RefUnwindSafe for TP_FIFO_MODE_SELECT_A
impl Send for TP_FIFO_MODE_SELECT_A
impl Sync for TP_FIFO_MODE_SELECT_A
impl Unpin for TP_FIFO_MODE_SELECT_A
impl UnwindSafe for TP_FIFO_MODE_SELECT_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)