Expand description
SPI clock control register
Structs§
- CLOCK_
SPEC - SPI clock control register
Type Aliases§
- CLKCNT_
H_ R - Field
CLKCNT_H
reader - In the master mode it must be floor((SPI_CLKCNT_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state. - CLKCNT_
H_ W - Field
CLKCNT_H
writer - In the master mode it must be floor((SPI_CLKCNT_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state. - CLKCNT_
L_ R - Field
CLKCNT_L
reader - In the master mode it must be equal to SPI_CLKCNT_N. In the slave mode it must be 0. Can be configured in CONF state. - CLKCNT_
L_ W - Field
CLKCNT_L
writer - In the master mode it must be equal to SPI_CLKCNT_N. In the slave mode it must be 0. Can be configured in CONF state. - CLKCNT_
N_ R - Field
CLKCNT_N
reader - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(SPI_CLKDIV_PRE+1)/(SPI_CLKCNT_N+1). Can be configured in CONF state. - CLKCNT_
N_ W - Field
CLKCNT_N
writer - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(SPI_CLKDIV_PRE+1)/(SPI_CLKCNT_N+1). Can be configured in CONF state. - CLKDIV_
PRE_ R - Field
CLKDIV_PRE
reader - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state. - CLKDIV_
PRE_ W - Field
CLKDIV_PRE
writer - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state. - CLK_
EQU_ SYSCLK_ R - Field
CLK_EQU_SYSCLK
reader - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state. - CLK_
EQU_ SYSCLK_ W - Field
CLK_EQU_SYSCLK
writer - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state. - R
- Register
CLOCK
reader - W
- Register
CLOCK
writer