pub struct R(/* private fields */);
Expand description
Register SPI_SLAVE1
reader
Implementations§
Source§impl R
impl R
Sourcepub fn slv_status_bitlen(&self) -> SLV_STATUS_BITLEN_R
pub fn slv_status_bitlen(&self) -> SLV_STATUS_BITLEN_R
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)
Sourcepub fn slv_buf_bitlen(&self) -> SLV_BUF_BITLEN_R
pub fn slv_buf_bitlen(&self) -> SLV_BUF_BITLEN_R
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)
Sourcepub fn slv_rd_addr_bitlen(&self) -> SLV_RD_ADDR_BITLEN_R
pub fn slv_rd_addr_bitlen(&self) -> SLV_RD_ADDR_BITLEN_R
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)
Sourcepub fn slv_wr_addr_bitlen(&self) -> SLV_WR_ADDR_BITLEN_R
pub fn slv_wr_addr_bitlen(&self) -> SLV_WR_ADDR_BITLEN_R
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)
Sourcepub fn slv_wrsta_dummy_en(&self) -> SLV_WRSTA_DUMMY_EN_R
pub fn slv_wrsta_dummy_en(&self) -> SLV_WRSTA_DUMMY_EN_R
Bit 3 - In the slave mode, it is the enable bit of “dummy” phase for “write-status” operations.
Sourcepub fn slv_rdsta_dummy_en(&self) -> SLV_RDSTA_DUMMY_EN_R
pub fn slv_rdsta_dummy_en(&self) -> SLV_RDSTA_DUMMY_EN_R
Bit 2 - In the slave mode, it is the enable bit of “dummy” phase for “read-status” operations.
Sourcepub fn slv_wrbuf_dummy_en(&self) -> SLV_WRBUF_DUMMY_EN_R
pub fn slv_wrbuf_dummy_en(&self) -> SLV_WRBUF_DUMMY_EN_R
Bit 1 - In the slave mode, it is the enable bit of “dummy” phase for “write-buffer” operations.
Sourcepub fn slv_rdbuf_dummy_en(&self) -> SLV_RDBUF_DUMMY_EN_R
pub fn slv_rdbuf_dummy_en(&self) -> SLV_RDBUF_DUMMY_EN_R
Bit 0 - In the slave mode, it is the enable bit of “dummy” phase for “read-buffer” operations.
Sourcepub fn spi_status_fast_enable(&self) -> SPI_STATUS_FAST_ENABLE_R
pub fn spi_status_fast_enable(&self) -> SPI_STATUS_FAST_ENABLE_R
Bit 26 - Enable fast spi slave status
Sourcepub fn spi_status_read(&self) -> SPI_STATUS_READ_R
pub fn spi_status_read(&self) -> SPI_STATUS_READ_R
Bit 25 - Enable spi slave status