[][src]Type Definition esp8266::gpio::gpio_pin4::W

type W = W<u32, GPIO_PIN4>;

Writer for register GPIO_PIN4

Methods

impl W[src]

pub fn gpio_pin4_wakeup_enable(&mut self) -> GPIO_PIN4_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_pin4_int_type(&mut self) -> GPIO_PIN4_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_pin4_driver(&mut self) -> GPIO_PIN4_DRIVER_W[src]

Bit 2 - 1: open drain; 0: normal

pub fn gpio_pin4_source(&mut self) -> GPIO_PIN4_SOURCE_W[src]

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