[−][src]Type Definition esp32::spi::spi_slave_reg::W
type W = W<u32, SPI_SLAVE_REG>;
Writer for register SPI_SLAVE_REG
Methods
impl W
[src]
pub fn spi_sync_reset(&mut self) -> SPI_SYNC_RESET_W
[src]
Bit 31 - Software reset enable, reset the spi clock line cs line and data lines.
pub fn spi_slave_mode(&mut self) -> SPI_SLAVE_MODE_W
[src]
Bit 30 - 1: slave mode 0: master mode.
pub fn spi_slv_wr_rd_buf_en(&mut self) -> SPI_SLV_WR_RD_BUF_EN_W
[src]
Bit 29 - write and read buffer enable in the slave mode
pub fn spi_slv_wr_rd_sta_en(&mut self) -> SPI_SLV_WR_RD_STA_EN_W
[src]
Bit 28 - write and read status enable in the slave mode
pub fn spi_slv_cmd_define(&mut self) -> SPI_SLV_CMD_DEFINE_W
[src]
Bit 27 - 1: slave mode commands are defined in SPI_SLAVE3. 0: slave mode commands are fixed as: 1: write-status 2: write-buffer and 3: read-buffer.
pub fn spi_trans_cnt(&mut self) -> SPI_TRANS_CNT_W
[src]
Bits 23:26 - The operations counter in both the master mode and the slave mode. 4: read-status
pub fn spi_slv_last_state(&mut self) -> SPI_SLV_LAST_STATE_W
[src]
Bits 20:22 - In the slave mode it is the state of spi state machine.
pub fn spi_slv_last_command(&mut self) -> SPI_SLV_LAST_COMMAND_W
[src]
Bits 17:19 - In the slave mode it is the value of command.
pub fn spi_cs_i_mode(&mut self) -> SPI_CS_I_MODE_W
[src]
Bits 10:11 - In the slave mode this bits used to synchronize the input spi cs signal and eliminate spi cs jitter.
pub fn spi_int_en(&mut self) -> SPI_INT_EN_W
[src]
Bits 5:9 - Interrupt enable bits for the below 5 sources
pub fn spi_trans_done(&mut self) -> SPI_TRANS_DONE_W
[src]
Bit 4 - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode.
pub fn spi_slv_wr_sta_done(&mut self) -> SPI_SLV_WR_STA_DONE_W
[src]
Bit 3 - The interrupt raw bit for the completion of write-status operation in the slave mode.
pub fn spi_slv_rd_sta_done(&mut self) -> SPI_SLV_RD_STA_DONE_W
[src]
Bit 2 - The interrupt raw bit for the completion of read-status operation in the slave mode.
pub fn spi_slv_wr_buf_done(&mut self) -> SPI_SLV_WR_BUF_DONE_W
[src]
Bit 1 - The interrupt raw bit for the completion of write-buffer operation in the slave mode.
pub fn spi_slv_rd_buf_done(&mut self) -> SPI_SLV_RD_BUF_DONE_W
[src]
Bit 0 - The interrupt raw bit for the completion of read-buffer operation in the slave mode.