[][src]Struct esp8266::gpio::gpio_pin8::W

pub struct W(_);

Register GPIO_PIN8 writer

Implementations

impl W[src]

pub fn gpio_pin8_wakeup_enable(&mut self) -> GPIO_PIN8_WAKEUP_ENABLE_W<'_>[src]

Bit 10 - 0: disable; 1: enable GPIO wakeup CPU, only when GPIO_PIN0_INT_TYPE is 0x4 or 0x5

pub fn gpio_pin8_int_type(&mut self) -> GPIO_PIN8_INT_TYPE_W<'_>[src]

Bits 7:9 - 0: disable; 1: positive edge; 2: negative edge; 3: both types of edge; 4: low-level; 5: high-level

pub fn gpio_pin8_driver(&mut self) -> GPIO_PIN8_DRIVER_W<'_>[src]

Bit 2 - 1: open drain; 0: normal

pub fn gpio_pin8_source(&mut self) -> GPIO_PIN8_SOURCE_W<'_>[src]

Bit 0 - 1: sigma-delta; 0: GPIO_DATA

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<GPIO_PIN8_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux)[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<GPIO_PIN8_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<GPIO_PIN8_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.