Expand description
SPI1
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_
ext0 - spi_
ext1 - spi_
ext2 - 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, word 0
- spi_w1
- the data inside the buffer of the SPI module, word 1
- spi_w2
- the data inside the buffer of the SPI module, word 2
- spi_w3
- the data inside the buffer of the SPI module, word 3
- spi_w4
- the data inside the buffer of the SPI module, word 4
- spi_w5
- the data inside the buffer of the SPI module, word 5
- spi_w6
- the data inside the buffer of the SPI module, word 6
- spi_w7
- the data inside the buffer of the SPI module, word 7
- spi_w8
- the data inside the buffer of the SPI module, word 8
- spi_w9
- the data inside the buffer of the SPI module, word 9
- spi_w10
- the data inside the buffer of the SPI module, word 10
- spi_w11
- the data inside the buffer of the SPI module, word 11
- spi_w12
- the data inside the buffer of the SPI module, word 12
- spi_w13
- the data inside the buffer of the SPI module, word 13
- spi_w14
- the data inside the buffer of the SPI module, word 14
- spi_w15
- the data inside the buffer of the SPI module, word 15
- spi_
wr_ status - In the slave mode, this register are the status register for the master to write into.
Structs§
- Register
Block - Register block
Type Aliases§
- SPI_
ADDR - SPI_ADDR register accessor: an alias for
Reg<SPI_ADDR_SPEC>
- SPI_
CLOCK - SPI_CLOCK register accessor: an alias for
Reg<SPI_CLOCK_SPEC>
- SPI_CMD
- SPI_CMD register accessor: an alias for
Reg<SPI_CMD_SPEC>
- SPI_
CTRL - SPI_CTRL register accessor: an alias for
Reg<SPI_CTRL_SPEC>
- SPI_
CTRL1 - SPI_CTRL1 register accessor: an alias for
Reg<SPI_CTRL1_SPEC>
- SPI_
CTRL2 - SPI_CTRL2 register accessor: an alias for
Reg<SPI_CTRL2_SPEC>
- SPI_
EXT0 - SPI_EXT0 register accessor: an alias for
Reg<SPI_EXT0_SPEC>
- SPI_
EXT1 - SPI_EXT1 register accessor: an alias for
Reg<SPI_EXT1_SPEC>
- SPI_
EXT2 - SPI_EXT2 register accessor: an alias for
Reg<SPI_EXT2_SPEC>
- SPI_
EXT3 - SPI_EXT3 register accessor: an alias for
Reg<SPI_EXT3_SPEC>
- SPI_PIN
- SPI_PIN register accessor: an alias for
Reg<SPI_PIN_SPEC>
- SPI_
RD_ STATUS - SPI_RD_STATUS register accessor: an alias for
Reg<SPI_RD_STATUS_SPEC>
- SPI_
SLAVE - SPI_SLAVE register accessor: an alias for
Reg<SPI_SLAVE_SPEC>
- SPI_
SLAV E1 - SPI_SLAVE1 register accessor: an alias for
Reg<SPI_SLAVE1_SPEC>
- SPI_
SLAV E2 - SPI_SLAVE2 register accessor: an alias for
Reg<SPI_SLAVE2_SPEC>
- SPI_
SLAV E3 - SPI_SLAVE3 register accessor: an alias for
Reg<SPI_SLAVE3_SPEC>
- SPI_
USER - SPI_USER register accessor: an alias for
Reg<SPI_USER_SPEC>
- SPI_
USER1 - SPI_USER1 register accessor: an alias for
Reg<SPI_USER1_SPEC>
- SPI_
USER2 - SPI_USER2 register accessor: an alias for
Reg<SPI_USER2_SPEC>
- SPI_W0
- SPI_W0 register accessor: an alias for
Reg<SPI_W0_SPEC>
- SPI_W1
- SPI_W1 register accessor: an alias for
Reg<SPI_W1_SPEC>
- SPI_W2
- SPI_W2 register accessor: an alias for
Reg<SPI_W2_SPEC>
- SPI_W3
- SPI_W3 register accessor: an alias for
Reg<SPI_W3_SPEC>
- SPI_W4
- SPI_W4 register accessor: an alias for
Reg<SPI_W4_SPEC>
- SPI_W5
- SPI_W5 register accessor: an alias for
Reg<SPI_W5_SPEC>
- SPI_W6
- SPI_W6 register accessor: an alias for
Reg<SPI_W6_SPEC>
- SPI_W7
- SPI_W7 register accessor: an alias for
Reg<SPI_W7_SPEC>
- SPI_W8
- SPI_W8 register accessor: an alias for
Reg<SPI_W8_SPEC>
- SPI_W9
- SPI_W9 register accessor: an alias for
Reg<SPI_W9_SPEC>
- SPI_W10
- SPI_W10 register accessor: an alias for
Reg<SPI_W10_SPEC>
- SPI_W11
- SPI_W11 register accessor: an alias for
Reg<SPI_W11_SPEC>
- SPI_W12
- SPI_W12 register accessor: an alias for
Reg<SPI_W12_SPEC>
- SPI_W13
- SPI_W13 register accessor: an alias for
Reg<SPI_W13_SPEC>
- SPI_W14
- SPI_W14 register accessor: an alias for
Reg<SPI_W14_SPEC>
- SPI_W15
- SPI_W15 register accessor: an alias for
Reg<SPI_W15_SPEC>
- SPI_
WR_ STATUS - SPI_WR_STATUS register accessor: an alias for
Reg<SPI_WR_STATUS_SPEC>