[][src]Type Definition esp32::spi::spi_slave2_reg::W

type W = W<u32, SPI_SLAVE2_REG>;

Writer for register SPI_SLAVE2_REG

Methods

impl W[src]

pub fn spi_slv_wrbuf_dummy_cyclelen(&mut self) -> SPI_SLV_WRBUF_DUMMY_CYCLELEN_W[src]

Bits 24:31 - In the slave mode it is the length in spi_clk cycles of dummy phase for write-buffer operations. The register value shall be (cycle_num-1).

pub fn spi_slv_rdbuf_dummy_cyclelen(&mut self) -> SPI_SLV_RDBUF_DUMMY_CYCLELEN_W[src]

Bits 16:23 - In the slave mode it is the length in spi_clk cycles of dummy phase for read-buffer operations. The register value shall be (cycle_num-1).

pub fn spi_slv_wrsta_dummy_cyclelen(&mut self) -> SPI_SLV_WRSTA_DUMMY_CYCLELEN_W[src]

Bits 8:15 - In the slave mode it is the length in spi_clk cycles of dummy phase for write-status operations. The register value shall be (cycle_num-1).

pub fn spi_slv_rdsta_dummy_cyclelen(&mut self) -> SPI_SLV_RDSTA_DUMMY_CYCLELEN_W[src]

Bits 0:7 - In the slave mode it is the length in spi_clk cycles of dummy phase for read-status operations. The register value shall be (cycle_num-1).