[][src]Struct esp8266::spi1::spi_slave1::W

pub struct W(_);

Writer for register SPI_SLAVE1

Implementations

impl W[src]

pub fn slv_status_bitlen(&mut self) -> SLV_STATUS_BITLEN_W<'_>[src]

Bits 27:31 - In the slave mode, it is the length in bits for "write-status" and "read-status" operations. The register valueshall be (bit_num-1)

pub fn slv_buf_bitlen(&mut self) -> SLV_BUF_BITLEN_W<'_>[src]

Bits 16:24 - In the slave mode, it is the length in bits for "write-buffer" and "read-buffer" operations. The register value shallbe (bit_num-1)

pub fn slv_rd_addr_bitlen(&mut self) -> SLV_RD_ADDR_BITLEN_W<'_>[src]

Bits 10:15 - In the slave mode, it is the address length in bits for "read-buffer" operation. The register value shall be(bit_num-1)

pub fn slv_wr_addr_bitlen(&mut self) -> SLV_WR_ADDR_BITLEN_W<'_>[src]

Bits 4:9 - In the slave mode, it is the address length in bits for "write-buffer" operation. The register value shall be(bit_num-1)

pub fn slv_wrsta_dummy_en(&mut self) -> SLV_WRSTA_DUMMY_EN_W<'_>[src]

Bit 3 - In the slave mode, it is the enable bit of "dummy" phase for "write-status" operations.

pub fn slv_rdsta_dummy_en(&mut self) -> SLV_RDSTA_DUMMY_EN_W<'_>[src]

Bit 2 - In the slave mode, it is the enable bit of "dummy" phase for "read-status" operations.

pub fn slv_wrbuf_dummy_en(&mut self) -> SLV_WRBUF_DUMMY_EN_W<'_>[src]

Bit 1 - In the slave mode, it is the enable bit of "dummy" phase for "write-buffer" operations.

pub fn slv_rdbuf_dummy_en(&mut self) -> SLV_RDBUF_DUMMY_EN_W<'_>[src]

Bit 0 - In the slave mode, it is the enable bit of "dummy" phase for "read-buffer" operations.

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

Writes raw bits to the register.

Methods from Deref<Target = W<SPI_SLAVE1_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux)[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<SPI_SLAVE1_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<SPI_SLAVE1_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

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.