Struct lpc55_hal::drivers::touch::TouchSensor[][src]

pub struct TouchSensor<P1: PinId, P2: PinId, P3: PinId> { /* fields omitted */ }

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

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.