[][src]Struct esp8266::spi1::spi_pin::R

pub struct R(_);

Reader of register SPI_PIN

Implementations

impl R[src]

pub fn spi_cs2_dis(&self) -> SPI_CS2_DIS_R[src]

Bit 2 - 1: disable CS2; 0: spi_cs signal is from/to CS2 pin

pub fn spi_cs1_dis(&self) -> SPI_CS1_DIS_R[src]

Bit 1 - 1: disable CS1; 0: spi_cs signal is from/to CS1 pin

pub fn spi_cs0_dis(&self) -> SPI_CS0_DIS_R[src]

Bit 0 - 1: disable CS0; 0: spi_cs signal is from/to CS0 pin

pub fn spi_idle_edge(&self) -> SPI_IDLE_EDGE_R[src]

Bit 29 - In the master mode, 1: high when idle; 0: low when idle

Methods from Deref<Target = R<SPI_PIN_SPEC>>

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

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<SPI_PIN_SPEC>

The resulting type after dereferencing.

impl From<R<SPI_PIN_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.