[−][src]Module esp8266::spi0
SPI0
Modules
spi_addr | In the master mode, it is the value of address in "address" phase. |
spi_clock | In the master mode, 1: spi_clk is eqaul to 80MHz, 0: spi_clk is divided from 80 MHz clock. |
spi_cmd | In the master mode, it is the start bit of a single operation. Self-clear by hardware |
spi_ctrl | SPI_CTRL |
spi_ctrl1 | |
spi_ctrl2 | spi_cs signal is delayed by 80MHz clock cycles |
spi_ext3 | This register is for two SPI masters to share the same cs, clock and data signals. |
spi_pin | 1: disable CS2; 0: spi_cs signal is from/to CS2 pin |
spi_rd_status | In the slave mode, this register are the status register for the master to read out. |
spi_slave | It is the synchronous reset signal of the module. This bit is self-cleared by hardware. |
spi_slave1 | In the slave mode, it is the length in bits for "write-status" and "read-status" operations. The register valueshall be (bit_num-1) |
spi_slave2 | In the slave mode, it is the length in spi_clk cycles "dummy" phase for "write-buffer" operations. The registervalue shall be (cycle_num-1) |
spi_slave3 | In slave mode, it is the value of "write-status" command |
spi_user | This bit enable the "command" phase of an operation. |
spi_user1 | The length in bits of "address" phase. The register value shall be (bit_num-1) |
spi_user2 | The length in bits of "command" phase. The register value shall be (bit_num-1) |
spi_w0 | the data inside the buffer of the SPI module, byte 0 |
spi_w1 | the data inside the buffer of the SPI module, byte 1 |
spi_w2 | the data inside the buffer of the SPI module, byte 2 |
spi_w3 | the data inside the buffer of the SPI module, byte 3 |
spi_w4 | the data inside the buffer of the SPI module, byte 4 |
spi_w5 | the data inside the buffer of the SPI module, byte 5 |
spi_w6 | the data inside the buffer of the SPI module, byte 6 |
spi_w7 | the data inside the buffer of the SPI module, byte 7 |
spi_w8 | the data inside the buffer of the SPI module, byte 8 |
spi_w9 | the data inside the buffer of the SPI module, byte 9 |
spi_w10 | the data inside the buffer of the SPI module, byte 10 |
spi_w11 | the data inside the buffer of the SPI module, byte 11 |
spi_w12 | the data inside the buffer of the SPI module, byte 12 |
spi_w13 | the data inside the buffer of the SPI module, byte 13 |
spi_w14 | the data inside the buffer of the SPI module, byte 14 |
spi_w15 | the data inside the buffer of the SPI module, byte 15 |
spi_wr_status | In the slave mode, this register are the status register for the master to write into. |
Structs
RegisterBlock | Register block |
Type Definitions
SPI_ADDR | SPI_ADDR register accessor: an alias for |
SPI_CLOCK | SPI_CLOCK register accessor: an alias for |
SPI_CMD | SPI_CMD register accessor: an alias for |
SPI_CTRL | SPI_CTRL register accessor: an alias for |
SPI_CTRL1 | SPI_CTRL1 register accessor: an alias for |
SPI_CTRL2 | SPI_CTRL2 register accessor: an alias for |
SPI_EXT3 | SPI_EXT3 register accessor: an alias for |
SPI_PIN | SPI_PIN register accessor: an alias for |
SPI_RD_STATUS | SPI_RD_STATUS register accessor: an alias for |
SPI_SLAVE | SPI_SLAVE register accessor: an alias for |
SPI_SLAVE1 | SPI_SLAVE1 register accessor: an alias for |
SPI_SLAVE2 | SPI_SLAVE2 register accessor: an alias for |
SPI_SLAVE3 | SPI_SLAVE3 register accessor: an alias for |
SPI_USER | SPI_USER register accessor: an alias for |
SPI_USER1 | SPI_USER1 register accessor: an alias for |
SPI_USER2 | SPI_USER2 register accessor: an alias for |
SPI_W0 | SPI_W0 register accessor: an alias for |
SPI_W1 | SPI_W1 register accessor: an alias for |
SPI_W2 | SPI_W2 register accessor: an alias for |
SPI_W3 | SPI_W3 register accessor: an alias for |
SPI_W4 | SPI_W4 register accessor: an alias for |
SPI_W5 | SPI_W5 register accessor: an alias for |
SPI_W6 | SPI_W6 register accessor: an alias for |
SPI_W7 | SPI_W7 register accessor: an alias for |
SPI_W8 | SPI_W8 register accessor: an alias for |
SPI_W9 | SPI_W9 register accessor: an alias for |
SPI_W10 | SPI_W10 register accessor: an alias for |
SPI_W11 | SPI_W11 register accessor: an alias for |
SPI_W12 | SPI_W12 register accessor: an alias for |
SPI_W13 | SPI_W13 register accessor: an alias for |
SPI_W14 | SPI_W14 register accessor: an alias for |
SPI_W15 | SPI_W15 register accessor: an alias for |
SPI_WR_STATUS | SPI_WR_STATUS register accessor: an alias for |