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

pub struct R(_);

Reader of register SPI_CTRL

Implementations

impl R[src]

pub fn spi_wr_bit_order(&self) -> SPI_WR_BIT_ORDER_R[src]

Bit 26 - In "command", "address", "write-data" (MOSI) phases, 1: LSB first; 0: MSB first

pub fn spi_rd_bit_order(&self) -> SPI_RD_BIT_ORDER_R[src]

Bit 25 - In "read-data" (MISO) phase, 1: LSB first; 0: MSB first

pub fn spi_qio_mode(&self) -> SPI_QIO_MODE_R[src]

Bit 24 - In the read operations, "address" phase and "read-data" phase apply 4 signals

pub fn spi_dio_mode(&self) -> SPI_DIO_MODE_R[src]

Bit 23 - In the read operations, "address" phase and "read-data" phase apply 2 signals

pub fn spi_qout_mode(&self) -> SPI_QOUT_MODE_R[src]

Bit 20 - In the read operations, "read-data" phase apply 4 signals

pub fn spi_dout_mode(&self) -> SPI_DOUT_MODE_R[src]

Bit 14 - In the read operations, "read-data" phase apply 2 signals

pub fn spi_fastrd_mode(&self) -> SPI_FASTRD_MODE_R[src]

Bit 13 - this bit enable the bits: spi_qio_mode, spi_dio_mode, spi_qout_mode and spi_dout_mode

Methods from Deref<Target = R<SPI_CTRL_SPEC>>

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

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<SPI_CTRL_SPEC>

The resulting type after dereferencing.

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