Struct lpc55_hal::drivers::touch::TouchSensor [−][src]
Implementations
Threshold is the ADC sample limit where an is considered. Confidence is the number of times the threshold needs to be crossed
Starts DMA and internal timers to enable touch detection
Count how many elements from a source are available Used for debugging
Used after an edge is detected to prevent the same edge being detected twice
Use threshold and confidence value to see if indicated state has occured in current buffer
Indicate if an edge has occured in current buffer. Does not reset.
Methods from Deref<Target = Adc<Enabled>>
Trait Implementations
Auto Trait Implementations
impl<P1, P2, P3> Send for TouchSensor<P1, P2, P3> where
P1: Send,
P2: Send,
P3: Send,
impl<P1, P2, P3> !Sync for TouchSensor<P1, P2, P3>
impl<P1, P2, P3> Unpin for TouchSensor<P1, P2, P3> where
P1: Unpin,
P2: Unpin,
P3: Unpin,