Module esp32_hal::pac::spi0::user

Expand description

Structs

Register USER reader
This register you can read, write_with_zero, reset, write, modify. See API.
Register USER writer

Type Definitions

Field CK_I_EDGE reader - In the slave mode the bit is same as spi_ck_out_edge in master mode. It is combined with spi_miso_delay_mode bits.
Field CK_I_EDGE writer - In the slave mode the bit is same as spi_ck_out_edge in master mode. It is combined with spi_miso_delay_mode bits.
Field CK_OUT_EDGE reader - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode.
Field CK_OUT_EDGE writer - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode.
Field CS_HOLD reader - spi cs keep low when spi is in ¡°done¡± phase. 1: enable 0: disable.
Field CS_HOLD writer - spi cs keep low when spi is in ¡°done¡± phase. 1: enable 0: disable.
Field CS_SETUP reader - spi cs is enable when spi is in ¡°prepare¡± phase. 1: enable 0: disable.
Field CS_SETUP writer - spi cs is enable when spi is in ¡°prepare¡± phase. 1: enable 0: disable.
Field DOUTDIN reader - Set the bit to enable full duplex communication. 1: enable 0: disable.
Field DOUTDIN writer - Set the bit to enable full duplex communication. 1: enable 0: disable.
Field FWRITE_DIO reader - In the write operations address phase and read-data phase apply 2 signals.
Field FWRITE_DIO writer - In the write operations address phase and read-data phase apply 2 signals.
Field FWRITE_DUAL reader - In the write operations read-data phase apply 2 signals
Field FWRITE_DUAL writer - In the write operations read-data phase apply 2 signals
Field FWRITE_QIO reader - In the write operations address phase and read-data phase apply 4 signals.
Field FWRITE_QIO writer - In the write operations address phase and read-data phase apply 4 signals.
Field FWRITE_QUAD reader - In the write operations read-data phase apply 4 signals
Field FWRITE_QUAD writer - In the write operations read-data phase apply 4 signals
Field RD_BYTE_ORDER reader - In read-data (MISO) phase 1: big-endian 0: little_endian
Field RD_BYTE_ORDER writer - In read-data (MISO) phase 1: big-endian 0: little_endian
Field SIO reader - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable.
Field SIO writer - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable.
Field USR_ADDR_HOLD reader - spi is hold at address state the bit combined with spi_usr_hold_pol bit.
Field USR_ADDR_HOLD writer - spi is hold at address state the bit combined with spi_usr_hold_pol bit.
Field USR_ADDR reader - This bit enable the address phase of an operation.
Field USR_ADDR writer - This bit enable the address phase of an operation.
Field USR_CMD_HOLD reader - spi is hold at command state the bit combined with spi_usr_hold_pol bit.
Field USR_CMD_HOLD writer - spi is hold at command state the bit combined with spi_usr_hold_pol bit.
Field USR_COMMAND reader - This bit enable the command phase of an operation.
Field USR_COMMAND writer - This bit enable the command phase of an operation.
Field USR_DIN_HOLD reader - spi is hold at data in state the bit combined with spi_usr_hold_pol bit.
Field USR_DIN_HOLD writer - spi is hold at data in state the bit combined with spi_usr_hold_pol bit.
Field USR_DOUT_HOLD reader - spi is hold at data out state the bit combined with spi_usr_hold_pol bit.
Field USR_DOUT_HOLD writer - spi is hold at data out state the bit combined with spi_usr_hold_pol bit.
Field USR_DUMMY_HOLD reader - spi is hold at dummy state the bit combined with spi_usr_hold_pol bit.
Field USR_DUMMY_HOLD writer - spi is hold at dummy state the bit combined with spi_usr_hold_pol bit.
Field USR_DUMMY_IDLE reader - spi clock is disable in dummy phase when the bit is enable.
Field USR_DUMMY_IDLE writer - spi clock is disable in dummy phase when the bit is enable.
Field USR_DUMMY reader - This bit enable the dummy phase of an operation.
Field USR_DUMMY writer - This bit enable the dummy phase of an operation.
Field USR_HOLD_POL reader - It is combined with hold bits to set the polarity of spi hold line 1: spi will be held when spi hold line is high 0: spi will be held when spi hold line is low
Field USR_HOLD_POL writer - It is combined with hold bits to set the polarity of spi hold line 1: spi will be held when spi hold line is high 0: spi will be held when spi hold line is low
Field USR_MISO_HIGHPART reader - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable.
Field USR_MISO_HIGHPART writer - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable.
Field USR_MISO reader - This bit enable the read-data phase of an operation.
Field USR_MISO writer - This bit enable the read-data phase of an operation.
Field USR_MOSI_HIGHPART reader - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable.
Field USR_MOSI_HIGHPART writer - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable.
Field USR_MOSI reader - This bit enable the write-data phase of an operation.
Field USR_MOSI writer - This bit enable the write-data phase of an operation.
Field USR_PREP_HOLD reader - spi is hold at prepare state the bit combined with spi_usr_hold_pol bit.
Field USR_PREP_HOLD writer - spi is hold at prepare state the bit combined with spi_usr_hold_pol bit.
Field WR_BYTE_ORDER reader - In command address write-data (MOSI) phases 1: big-endian 0: litte_endian
Field WR_BYTE_ORDER writer - In command address write-data (MOSI) phases 1: big-endian 0: litte_endian