Struct esp32::sens::sar_touch_ctrl2::R

source ·
pub struct R(_);
Expand description

Register SAR_TOUCH_CTRL2 reader

Implementations§

Bits 0:9 - 10-bit register to indicate which pads are “touched”

Bit 10 - fsm set 1 to indicate touch touch meas is done

Bit 11 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers

Bit 12 - 1: start touch fsm valid when reg_touch_start_force is set

Bit 13 - 1: to start touch fsm by SW 0: to start touch fsm by timer

Bits 14:29 - sleep cycles for timer

Methods from Deref<Target = R<SAR_TOUCH_CTRL2_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.