Module esp32c2_hal::pac::spi2::user2

Expand description

SPI USER control register 2

Structs

Register USER2 reader
SPI USER control register 2
Register USER2 writer

Type Definitions

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.
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.