Module esp32_hal::pac::spi0::slave

Expand description

Structs

Register SLAVE reader
This register you can read, write_with_zero, reset, write, modify. See API.
Register SLAVE writer

Type Definitions

Field CS_I_MODE reader - In the slave mode this bits used to synchronize the input spi cs signal and eliminate spi cs jitter.
Field CS_I_MODE writer - In the slave mode this bits used to synchronize the input spi cs signal and eliminate spi cs jitter.
Field INT_EN reader - Interrupt enable bits for the below 5 sources
Field INT_EN writer - Interrupt enable bits for the below 5 sources
Field MODE reader - 1: slave mode 0: master mode.
Field MODE writer - 1: slave mode 0: master mode.
Field SLV_CMD_DEFINE reader - 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.
Field SLV_CMD_DEFINE writer - 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.
Field SLV_LAST_COMMAND reader - In the slave mode it is the value of command.
Field SLV_LAST_STATE reader - In the slave mode it is the state of spi state machine.
Field SLV_RD_BUF_DONE reader - The interrupt raw bit for the completion of read-buffer operation in the slave mode.
Field SLV_RD_BUF_DONE writer - The interrupt raw bit for the completion of read-buffer operation in the slave mode.
Field SLV_RD_STA_DONE reader - The interrupt raw bit for the completion of read-status operation in the slave mode.
Field SLV_RD_STA_DONE writer - The interrupt raw bit for the completion of read-status operation in the slave mode.
Field SLV_WR_BUF_DONE reader - The interrupt raw bit for the completion of write-buffer operation in the slave mode.
Field SLV_WR_BUF_DONE writer - The interrupt raw bit for the completion of write-buffer operation in the slave mode.
Field SLV_WR_RD_BUF_EN reader - write and read buffer enable in the slave mode
Field SLV_WR_RD_BUF_EN writer - write and read buffer enable in the slave mode
Field SLV_WR_RD_STA_EN reader - write and read status enable in the slave mode
Field SLV_WR_RD_STA_EN writer - write and read status enable in the slave mode
Field SLV_WR_STA_DONE reader - The interrupt raw bit for the completion of write-status operation in the slave mode.
Field SLV_WR_STA_DONE writer - The interrupt raw bit for the completion of write-status operation in the slave mode.
Field SYNC_RESET reader - Software reset enable, reset the spi clock line cs line and data lines.
Field SYNC_RESET writer - Software reset enable, reset the spi clock line cs line and data lines.
Field TRANS_CNT reader - The operations counter in both the master mode and the slave mode. 4: read-status
Field TRANS_DONE reader - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode.
Field TRANS_DONE writer - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode.