Module esp32c3::spi2::user2

source ·
Expand description

SPI USER control register 2

Structs§

Type Aliases§

  • Field MST_REMPTY_ERR_END_EN reader - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode.
  • Field MST_REMPTY_ERR_END_EN writer - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode.
  • Register USER2 reader
  • Field USR_COMMAND_BITLEN reader - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state.
  • Field USR_COMMAND_BITLEN writer - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state.
  • Field USR_COMMAND_VALUE reader - The value of command. Can be configured in CONF state.
  • Field USR_COMMAND_VALUE writer - The value of command. Can be configured in CONF state.
  • Register USER2 writer