pub struct W(_);
Expand description

Register TOUCH_CTRL2 writer

Implementations§

Bits 2:3 - TOUCH_DRANGE

Bits 4:5 - TOUCH_DREFL

Bits 6:7 - TOUCH_DREFH

Bit 8 - TOUCH_XPD_BIAS

Bits 9:11 - TOUCH pad0 reference cap

Bit 12 - 1:use self bias 0:use bandgap bias

Bit 13 - touch timer enable bit

Bit 14 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm

Bit 15 - 1: start touch fsm

Bit 16 - 1: to start touch fsm by SW

Bits 17:24 - the waiting cycles (in 8MHz) between TOUCH_START and TOUCH_XPD

Bits 25:26 - when a touch pad is active sleep cycle could be divided by this number

Bits 27:28 - force touch timer done

Bit 29 - reset upgrade touch

Bit 30 - touch clock force on

Bit 31 - touch clock enable

Writes raw bits to the register.

Methods from Deref<Target = W<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.