pub struct W(_);
Expand description
Register CLOCK
writer
Implementations§
source§impl W
impl W
sourcepub fn clkcnt_l(&mut self) -> CLKCNT_L_W<'_, 0>
pub fn clkcnt_l(&mut self) -> CLKCNT_L_W<'_, 0>
Bits 0:7 - It must equal to the value of SPI_MEM_CLKCNT_N.
sourcepub fn clkcnt_h(&mut self) -> CLKCNT_H_W<'_, 8>
pub fn clkcnt_h(&mut self) -> CLKCNT_H_W<'_, 8>
Bits 8:15 - It must be a floor value of ((SPI_MEM_CLKCNT_N+1)/2-1).
sourcepub fn clkcnt_n(&mut self) -> CLKCNT_N_W<'_, 16>
pub fn clkcnt_n(&mut self) -> CLKCNT_N_W<'_, 16>
Bits 16:23 - When SPI0 accesses flash, f_SPI_CLK = f_MSPI_CORE_CLK/(SPI_MEM_CLKCNT_N+1)
sourcepub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W<'_, 31>
pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W<'_, 31>
Bit 31 - When SPI0 accesses flash, set this bit in 1-division mode, f_SPI_CLK = f_MSPI_CORE_CLK.