Module esp32c2_hal::pac::spi0::clock
Expand description
SPI clock division control register.
Structs
Type Definitions
Field
CLKCNT_H
reader - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1).Field
CLKCNT_H
writer - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1).Field
CLKCNT_L
reader - In the master mode it must be equal to spi_mem_clkcnt_N.Field
CLKCNT_L
writer - In the master mode it must be equal to spi_mem_clkcnt_N.Field
CLKCNT_N
reader - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)Field
CLKCNT_N
writer - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)Field
CLK_EQU_SYSCLK
reader - Set this bit in 1-division mode.Field
CLK_EQU_SYSCLK
writer - Set this bit in 1-division mode.