Struct esp32::gpio::pin::W

source · []
pub struct W(_);
Expand description

Register PIN%s writer

Implementations

Bit 2 - if set to : normal output if set to 1: open drain

Bits 7:9 - if set to : GPIO interrupt disable if set to 1: rising edge trigger if set to 2: falling edge trigger if set to 3: any edge trigger if set to 4: low level trigger if set to 5: high level trigger

Bit 10 - GPIO wake up enable only available in light sleep

Bits 11:12 - NA

Bits 13:17 - bit: APP CPU interrupt enable bit1: APP CPU non-maskable interrupt enable bit3: PRO CPU interrupt enable bit4: PRO CPU non-maskable interrupt enable bit5: SDIO’s extent interrupt enable

Writes raw bits to the register.

Methods from Deref<Target = W<PIN_SPEC>>

Writes raw bits to the register.

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.