#[repr(u8)]pub enum DMA_A {
DMA_0 = 0,
DMA_1 = 1,
DMA_2 = 2,
DMA_3 = 3,
}Expand description
If not 0, will use the DMA to read out touch events from TOUCH register. The values are shown below. This may be changed while active.
Value on reset: 0
Variants§
DMA_0 = 0
0: No DMA. Application will use ISRs to read out data
DMA_1 = 1
1: Trigger DMA on Touch events
DMA_2 = 2
2: Trigger DMA on both Touch and No-Touch events
DMA_3 = 3
3: Trigger DMA on both plus Timeout.
Trait Implementations§
impl Copy for DMA_A
impl StructuralPartialEq for DMA_A
Auto Trait Implementations§
impl Freeze for DMA_A
impl RefUnwindSafe for DMA_A
impl Send for DMA_A
impl Sync for DMA_A
impl Unpin for DMA_A
impl UnwindSafe for DMA_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