Module esp32s2::spi0::hold

source ·
Expand description

SPI hold register

Structs

  • SPI hold register
  • Register HOLD reader
  • Register HOLD writer

Type Definitions

  • Field DMA_SEG_TRANS_DONE reader - 1: spi master DMA full-duplex/half-duplex seg-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-trans is not ended or not occurred. Can not be changed by CONF_buf.
  • Field DMA_SEG_TRANS_DONE writer - 1: spi master DMA full-duplex/half-duplex seg-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-trans is not ended or not occurred. Can not be changed by CONF_buf.
  • Field INT_HOLD_ENA reader - This register is for two SPI masters to share the same cs clock and data signals. The bits of one SPI are set, if the other SPI is busy, the SPI will be hold. 1(3): hold at idle phase 2: hold at prepare phase. Can be configured in CONF state.
  • Field INT_HOLD_ENA writer - This register is for two SPI masters to share the same cs clock and data signals. The bits of one SPI are set, if the other SPI is busy, the SPI will be hold. 1(3): hold at idle phase 2: hold at prepare phase. Can be configured in CONF state.
  • Field OUT_EN reader - Enable set spi output hold value to spi_hold_reg. It can be used to hold spi state machine with SPI_EXT_HOLD_EN and other usr hold signals. Can be configured in CONF state.
  • Field OUT_EN writer - Enable set spi output hold value to spi_hold_reg. It can be used to hold spi state machine with SPI_EXT_HOLD_EN and other usr hold signals. Can be configured in CONF state.
  • Field OUT_TIME reader - set the hold cycles of output spi_hold signal when SPI_HOLD_OUT_EN is enable. Can be configured in CONF state.
  • Field OUT_TIME writer - set the hold cycles of output spi_hold signal when SPI_HOLD_OUT_EN is enable. Can be configured in CONF state.
  • Field VAL reader - spi hold output value, which should be used with SPI_HOLD_OUT_EN. Can be configured in CONF state.
  • Field VAL writer - spi hold output value, which should be used with SPI_HOLD_OUT_EN. Can be configured in CONF state.