Struct esp32s3::rtcio::touch_pad4::W

source ·
pub struct W(_);
Expand description

Register TOUCH_PAD4 writer

Implementations

Bit 13 - input enable in work mode

Bit 14 - output enable in sleep mode

Bit 15 - input enable in sleep mode

Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode

Bits 17:18 - function sel

Bit 19 - 1: use RTC GPIO,0: use digital GPIO

Bit 20 - TOUCH_XPD

Bit 21 - TOUCH_TIE_OPT

Bit 22 - TOUCH_START

Bit 27 - RUE

Bit 28 - RDE

Bits 29:30 - DRV

Writes raw bits to the register.

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