[][src]Type Definition esp32::spi::spi_slave1_reg::R

type R = R<u32, SPI_SLAVE1_REG>;

Reader of register SPI_SLAVE1_REG

Methods

impl R[src]

pub fn spi_slv_status_bitlen(&self) -> SPI_SLV_STATUS_BITLEN_R[src]

Bits 27:31 - In the slave mode it is the length of status bit.

pub fn spi_slv_status_fast_en(&self) -> SPI_SLV_STATUS_FAST_EN_R[src]

Bit 26 - In the slave mode enable fast read status.

pub fn spi_slv_status_readback(&self) -> SPI_SLV_STATUS_READBACK_R[src]

Bit 25 - In the slave mode 1:read register of SPI_SLV_WR_STATUS 0: read register of SPI_RD_STATUS.

pub fn spi_slv_rd_addr_bitlen(&self) -> SPI_SLV_RD_ADDR_BITLEN_R[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 spi_slv_wr_addr_bitlen(&self) -> SPI_SLV_WR_ADDR_BITLEN_R[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 spi_slv_wrsta_dummy_en(&self) -> SPI_SLV_WRSTA_DUMMY_EN_R[src]

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

pub fn spi_slv_rdsta_dummy_en(&self) -> SPI_SLV_RDSTA_DUMMY_EN_R[src]

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

pub fn spi_slv_wrbuf_dummy_en(&self) -> SPI_SLV_WRBUF_DUMMY_EN_R[src]

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

pub fn spi_slv_rdbuf_dummy_en(&self) -> SPI_SLV_RDBUF_DUMMY_EN_R[src]

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