pub struct W(_);
Expand description

Register TOUCH_PAD0 writer

Implementations

Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale GPIO4

Bit 13 - the input enable of the pad

Bit 14 - the output enable of the pad in sleep status

Bit 15 - the input enable of the pad in sleep status

Bit 16 - the sleep status selection signal of the pad

Bits 17:18 - the functional selection signal of the pad

Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function

Bit 20 - touch sensor power on.

Bit 21 - default touch sensor tie option. 0: tie low 1: tie high.

Bit 22 - start touch sensor.

Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100.

Bit 27 - the pull up enable of the pad

Bit 28 - the pull down enable of the pad

Bits 29:30 - the driver strength of the pad

Bit 31 - hold the current value of the output when setting the hold to Ò1Ó

Writes raw bits to the register.

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