Expand description
SPI clock control register
Structs
- SPI clock control register
Type Aliases
- Field
CLKCNT_Hreader - 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. - Field
CLKCNT_Hwriter - 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. - Field
CLKCNT_Lreader - 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. - Field
CLKCNT_Lwriter - 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. - Field
CLKCNT_Nreader - 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. - Field
CLKCNT_Nwriter - 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. - Field
CLKDIV_PREreader - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state. - Field
CLKDIV_PREwriter - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state. - Field
CLK_EQU_SYSCLKreader - 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. - Field
CLK_EQU_SYSCLKwriter - 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. - Register
CLOCKreader - Register
CLOCKwriter