Expand description
SPI control register 1
Structs§
- CTRL1_
SPEC - SPI control register 1
Type Aliases§
- CLK_
MODE_ 13_ R - 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]. - CLK_
MODE_ 13_ W - 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]. - CLK_
MODE_ R - 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. - CLK_
MODE_ W - 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. - CS_
HOLD_ DELAY_ R - Field
CS_HOLD_DELAY
reader - SPI cs signal is delayed by spi clock cycles. Can be configured in CONF state. - CS_
HOLD_ DELAY_ W - Field
CS_HOLD_DELAY
writer - SPI cs signal is delayed by spi clock cycles. Can be configured in CONF state. - R
- Register
CTRL1
reader - RSCK_
DATA_ OUT_ R - 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 - RSCK_
DATA_ OUT_ W - 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 - W
- Register
CTRL1
writer - W16_
17_ WR_ ENA_ R - 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. - W16_
17_ WR_ ENA_ W - 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.