[][src]Struct esp8266::generic::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

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

Writes raw bits to the register

impl W<u32, Reg<u32, _CONF>>[src]

pub fn conf_data(&mut self) -> CONF_DATA_W[src]

Bits 0:31

impl W<u32, Reg<u32, _GPIO_PIN0>>[src]

pub fn gpio_pin0_int_ena(&mut self) -> GPIO_PIN0_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin0_config(&mut self) -> GPIO_PIN0_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin0_wakeup_enable(&mut self) -> GPIO_PIN0_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin0_int_type(&mut self) -> GPIO_PIN0_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin0_pad_driver(&mut self) -> GPIO_PIN0_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN1>>[src]

pub fn gpio_pin1_int_ena(&mut self) -> GPIO_PIN1_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin1_config(&mut self) -> GPIO_PIN1_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin1_wakeup_enable(&mut self) -> GPIO_PIN1_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin1_int_type(&mut self) -> GPIO_PIN1_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin1_pad_driver(&mut self) -> GPIO_PIN1_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN2>>[src]

pub fn gpio_pin2_int_ena(&mut self) -> GPIO_PIN2_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin2_config(&mut self) -> GPIO_PIN2_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin2_wakeup_enable(&mut self) -> GPIO_PIN2_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin2_int_type(&mut self) -> GPIO_PIN2_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin2_pad_driver(&mut self) -> GPIO_PIN2_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN3>>[src]

pub fn gpio_pin3_int_ena(&mut self) -> GPIO_PIN3_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin3_config(&mut self) -> GPIO_PIN3_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin3_wakeup_enable(&mut self) -> GPIO_PIN3_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin3_int_type(&mut self) -> GPIO_PIN3_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin3_pad_driver(&mut self) -> GPIO_PIN3_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN4>>[src]

pub fn gpio_pin4_int_ena(&mut self) -> GPIO_PIN4_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin4_config(&mut self) -> GPIO_PIN4_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin4_wakeup_enable(&mut self) -> GPIO_PIN4_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin4_int_type(&mut self) -> GPIO_PIN4_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin4_pad_driver(&mut self) -> GPIO_PIN4_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN5>>[src]

pub fn gpio_pin5_int_ena(&mut self) -> GPIO_PIN5_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin5_config(&mut self) -> GPIO_PIN5_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin5_wakeup_enable(&mut self) -> GPIO_PIN5_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin5_int_type(&mut self) -> GPIO_PIN5_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin5_pad_driver(&mut self) -> GPIO_PIN5_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN6>>[src]

pub fn gpio_pin6_int_ena(&mut self) -> GPIO_PIN6_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin6_config(&mut self) -> GPIO_PIN6_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin6_wakeup_enable(&mut self) -> GPIO_PIN6_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin6_int_type(&mut self) -> GPIO_PIN6_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin6_pad_driver(&mut self) -> GPIO_PIN6_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN7>>[src]

pub fn gpio_pin7_int_ena(&mut self) -> GPIO_PIN7_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin7_config(&mut self) -> GPIO_PIN7_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin7_wakeup_enable(&mut self) -> GPIO_PIN7_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin7_int_type(&mut self) -> GPIO_PIN7_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin7_pad_driver(&mut self) -> GPIO_PIN7_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN8>>[src]

pub fn gpio_pin8_int_ena(&mut self) -> GPIO_PIN8_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin8_config(&mut self) -> GPIO_PIN8_CONFIG_W[src]

Bits 11:12

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

Bit 10

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

Bits 7:9

pub fn gpio_pin8_pad_driver(&mut self) -> GPIO_PIN8_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN9>>[src]

pub fn gpio_pin9_int_ena(&mut self) -> GPIO_PIN9_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin9_config(&mut self) -> GPIO_PIN9_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin9_wakeup_enable(&mut self) -> GPIO_PIN9_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin9_int_type(&mut self) -> GPIO_PIN9_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin9_pad_driver(&mut self) -> GPIO_PIN9_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN10>>[src]

impl W<u32, Reg<u32, _GPIO_PIN11>>[src]

impl W<u32, Reg<u32, _GPIO_PIN12>>[src]

impl W<u32, Reg<u32, _GPIO_PIN13>>[src]

impl W<u32, Reg<u32, _GPIO_PIN14>>[src]

impl W<u32, Reg<u32, _GPIO_PIN15>>[src]

impl W<u32, Reg<u32, _GPIO_PIN16>>[src]

impl W<u32, Reg<u32, _GPIO_PIN17>>[src]

impl W<u32, Reg<u32, _GPIO_OUT>>[src]

pub fn gpio_out_data(&mut self) -> GPIO_OUT_DATA_W[src]

Bits 0:31

impl W<u32, Reg<u32, _GPIO_OUT_W1TS>>[src]

pub fn gpio_out_data_w1ts(&mut self) -> GPIO_OUT_DATA_W1TS_W[src]

Bits 0:31

impl W<u32, Reg<u32, _GPIO_OUT_W1TC>>[src]

pub fn gpio_out_data_w1tc(&mut self) -> GPIO_OUT_DATA_W1TC_W[src]

Bits 0:31

impl W<u32, Reg<u32, _GPIO_ENABLE>>[src]

pub fn gpio_enable_data(&mut self) -> GPIO_ENABLE_DATA_W[src]

Bits 0:31

impl W<u32, Reg<u32, _GPIO_ENABLE_W1TS>>[src]

impl W<u32, Reg<u32, _GPIO_ENABLE_W1TC>>[src]

impl W<u32, Reg<u32, _GPIO_IN>>[src]

pub fn gpio_in_data(&mut self) -> GPIO_IN_DATA_W[src]

Bits 0:31

impl W<u32, Reg<u32, _GPIO_STATUS>>[src]

pub fn gpio_status_int(&mut self) -> GPIO_STATUS_INT_W[src]

Bits 0:31

impl W<u32, Reg<u32, _GPIO_STATUS_W1TS>>[src]

pub fn gpio_status_int_w1ts(&mut self) -> GPIO_STATUS_INT_W1TS_W[src]

Bits 0:31

impl W<u32, Reg<u32, _GPIO_STATUS_W1TC>>[src]

pub fn gpio_status_int_w1tc(&mut self) -> GPIO_STATUS_INT_W1TC_W[src]

Bits 0:31

impl W<u32, Reg<u32, _GPIO_PIN0>>[src]

pub fn gpio_pin0_int_ena(&mut self) -> GPIO_PIN0_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin0_config(&mut self) -> GPIO_PIN0_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin0_wakeup_enable(&mut self) -> GPIO_PIN0_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin0_int_type(&mut self) -> GPIO_PIN0_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin0_pad_driver(&mut self) -> GPIO_PIN0_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN1>>[src]

pub fn gpio_pin1_int_ena(&mut self) -> GPIO_PIN1_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin1_config(&mut self) -> GPIO_PIN1_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin1_wakeup_enable(&mut self) -> GPIO_PIN1_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin1_int_type(&mut self) -> GPIO_PIN1_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin1_pad_driver(&mut self) -> GPIO_PIN1_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN2>>[src]

pub fn gpio_pin2_int_ena(&mut self) -> GPIO_PIN2_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin2_config(&mut self) -> GPIO_PIN2_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin2_wakeup_enable(&mut self) -> GPIO_PIN2_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin2_int_type(&mut self) -> GPIO_PIN2_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin2_pad_driver(&mut self) -> GPIO_PIN2_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN3>>[src]

pub fn gpio_pin3_int_ena(&mut self) -> GPIO_PIN3_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin3_config(&mut self) -> GPIO_PIN3_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin3_wakeup_enable(&mut self) -> GPIO_PIN3_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin3_int_type(&mut self) -> GPIO_PIN3_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin3_pad_driver(&mut self) -> GPIO_PIN3_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN4>>[src]

pub fn gpio_pin4_int_ena(&mut self) -> GPIO_PIN4_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin4_config(&mut self) -> GPIO_PIN4_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin4_wakeup_enable(&mut self) -> GPIO_PIN4_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin4_int_type(&mut self) -> GPIO_PIN4_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin4_pad_driver(&mut self) -> GPIO_PIN4_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN5>>[src]

pub fn gpio_pin5_int_ena(&mut self) -> GPIO_PIN5_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin5_config(&mut self) -> GPIO_PIN5_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin5_wakeup_enable(&mut self) -> GPIO_PIN5_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin5_int_type(&mut self) -> GPIO_PIN5_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin5_pad_driver(&mut self) -> GPIO_PIN5_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN6>>[src]

pub fn gpio_pin6_int_ena(&mut self) -> GPIO_PIN6_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin6_config(&mut self) -> GPIO_PIN6_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin6_wakeup_enable(&mut self) -> GPIO_PIN6_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin6_int_type(&mut self) -> GPIO_PIN6_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin6_pad_driver(&mut self) -> GPIO_PIN6_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN7>>[src]

pub fn gpio_pin7_int_ena(&mut self) -> GPIO_PIN7_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin7_config(&mut self) -> GPIO_PIN7_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin7_wakeup_enable(&mut self) -> GPIO_PIN7_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin7_int_type(&mut self) -> GPIO_PIN7_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin7_pad_driver(&mut self) -> GPIO_PIN7_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN8>>[src]

pub fn gpio_pin8_int_ena(&mut self) -> GPIO_PIN8_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin8_config(&mut self) -> GPIO_PIN8_CONFIG_W[src]

Bits 11:12

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

Bit 10

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

Bits 7:9

pub fn gpio_pin8_pad_driver(&mut self) -> GPIO_PIN8_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN9>>[src]

pub fn gpio_pin9_int_ena(&mut self) -> GPIO_PIN9_INT_ENA_W[src]

Bits 13:17

pub fn gpio_pin9_config(&mut self) -> GPIO_PIN9_CONFIG_W[src]

Bits 11:12

pub fn gpio_pin9_wakeup_enable(&mut self) -> GPIO_PIN9_WAKEUP_ENABLE_W[src]

Bit 10

pub fn gpio_pin9_int_type(&mut self) -> GPIO_PIN9_INT_TYPE_W[src]

Bits 7:9

pub fn gpio_pin9_pad_driver(&mut self) -> GPIO_PIN9_PAD_DRIVER_W[src]

Bit 2

impl W<u32, Reg<u32, _GPIO_PIN10>>[src]

impl W<u32, Reg<u32, _GPIO_PIN11>>[src]

impl W<u32, Reg<u32, _GPIO_PIN12>>[src]

impl W<u32, Reg<u32, _GPIO_PIN13>>[src]

impl W<u32, Reg<u32, _GPIO_PIN14>>[src]

impl W<u32, Reg<u32, _GPIO_PIN15>>[src]

impl W<u32, Reg<u32, _GPIO_PIN16>>[src]

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

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.