pub struct W(_);
Expand description

Register SAR_TOUCH_CTRL2 writer

Implementations§

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

Bit 30 - to clear reg_touch_meas_en

Writes raw bits to the register.

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

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Mutably 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.