[][src]Struct esp8266::gpio::gpio_pin15::R

pub struct R(_);

Reader of register GPIO_PIN15

Implementations

impl R[src]

pub fn gpio_pin15_wakeup_enable(&self) -> GPIO_PIN15_WAKEUP_ENABLE_R[src]

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

pub fn gpio_pin15_int_type(&self) -> GPIO_PIN15_INT_TYPE_R[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_pin15_driver(&self) -> GPIO_PIN15_DRIVER_R[src]

Bit 2 - 1: open drain; 0: normal

pub fn gpio_pin15_source(&self) -> GPIO_PIN15_SOURCE_R[src]

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

Methods from Deref<Target = R<GPIO_PIN15_SPEC>>

pub fn bits(&self) -> REG::Ux[src]

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<GPIO_PIN15_SPEC>

The resulting type after dereferencing.

impl From<R<GPIO_PIN15_SPEC>> for R[src]

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

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.