Expand description
SPI control register 1
Structs
- SPI control register 1
Type Aliases
- Field
CLK_MODE_13
reader - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B[0]/B[7]. 0: support spi clk mode 0 and 2, first edge output data B[1]/B[6]. - Field
CLK_MODE_13
writer - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B[0]/B[7]. 0: support spi clk mode 0 and 2, first edge output data B[1]/B[6]. - Field
CLK_MODE
reader - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state. - Field
CLK_MODE
writer - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state. - Field
CS_HOLD_DELAY
reader - SPI cs signal is delayed by spi clock cycles. Can be configured in CONF state. - Field
CS_HOLD_DELAY
writer - SPI cs signal is delayed by spi clock cycles. Can be configured in CONF state. - Register
CTRL1
reader - Field
RSCK_DATA_OUT
reader - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge - Field
RSCK_DATA_OUT
writer - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge - Register
CTRL1
writer - Field
W16_17_WR_ENA
reader - 1:SPI_BUF16~SPI_BUF17 can be written 0:SPI_BUF16~SPI_BUF17 can not be written. Can be configured in CONF state. - Field
W16_17_WR_ENA
writer - 1:SPI_BUF16~SPI_BUF17 can be written 0:SPI_BUF16~SPI_BUF17 can not be written. Can be configured in CONF state.