[−][src]Struct esp8266::spi1::spi_slave1::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>>
Trait Implementations
impl Deref for W
[src]
type Target = W<SPI_SLAVE1_SPEC>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for W
[src]
impl From<W<SPI_SLAVE1_SPEC>> for W
[src]
fn from(writer: W<SPI_SLAVE1_SPEC>) -> Self
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,