Module esp32s2::spi0::slave

source ·
Expand description

SPI slave control register

Structs

Type Aliases

  • Field INT_DMA_SEG_TRANS_EN reader - SPI_DMA_SEG_TRANS_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_DMA_SEG_TRANS_EN writer - SPI_DMA_SEG_TRANS_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_RD_BUF_DONE_EN reader - SPI_SLV_RD_BUF_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_RD_BUF_DONE_EN writer - SPI_SLV_RD_BUF_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_RD_DMA_DONE_EN reader - SPI_SLV_RD_DMA_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_RD_DMA_DONE_EN writer - SPI_SLV_RD_DMA_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_TRANS_DONE_EN reader - SPI_TRANS_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_TRANS_DONE_EN writer - SPI_TRANS_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_WR_BUF_DONE_EN reader - SPI_SLV_WR_BUF_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_WR_BUF_DONE_EN writer - SPI_SLV_WR_BUF_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_WR_DMA_DONE_EN reader - SPI_SLV_WR_DMA_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field INT_WR_DMA_DONE_EN writer - SPI_SLV_WR_DMA_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
  • Field MODE reader - Set SPI work mode. 1: slave mode 0: master mode.
  • Field MODE writer - Set SPI work mode. 1: slave mode 0: master mode.
  • Register SLAVE reader
  • Field SEG_MAGIC_ERR_INT_EN reader - 1: Enable seg magic value error interrupt. 0: Others. Can be configured in CONF state.
  • Field SEG_MAGIC_ERR_INT_EN writer - 1: Enable seg magic value error interrupt. 0: Others. Can be configured in CONF state.
  • Field SOFT_RESET reader - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state.
  • Field SOFT_RESET writer - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state.
  • Field TRANS_CNT reader - The operations counter in both the master mode and the slave mode.
  • Field TRANS_DONE_AUTO_CLR_EN reader - SPI_TRANS_DONE auto clear enable, clear it 3 apb cycles after the pos edge of SPI_TRANS_DONE. 0:disable. 1: enable. Can be configured in CONF state.
  • Field TRANS_DONE_AUTO_CLR_EN writer - SPI_TRANS_DONE auto clear enable, clear it 3 apb cycles after the pos edge of SPI_TRANS_DONE. 0:disable. 1: enable. Can be configured in CONF state.
  • Field TRANS_DONE reader - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode. Can not be changed by CONF_buf.
  • Field TRANS_DONE writer - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode. Can not be changed by CONF_buf.
  • Register SLAVE writer