Module esp32c2_hal::pac::spi2::user1
Expand description
SPI USER control register 1
Structs
Type Definitions
Field
CS_HOLD_TIME
reader - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state.Field
CS_HOLD_TIME
writer - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state.Field
CS_SETUP_TIME
reader - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state.Field
CS_SETUP_TIME
writer - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state.Field
MST_WFULL_ERR_END_EN
reader - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode.Field
MST_WFULL_ERR_END_EN
writer - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode.Field
USR_ADDR_BITLEN
reader - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state.Field
USR_ADDR_BITLEN
writer - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state.Field
USR_DUMMY_CYCLELEN
reader - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state.Field
USR_DUMMY_CYCLELEN
writer - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state.