pub type W = W<CLOCK_SPEC>;
Expand description
Register CLOCK
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn clkcnt_l(&mut self) -> CLKCNT_L_W<'_, CLOCK_SPEC>
pub fn clkcnt_l(&mut self) -> CLKCNT_L_W<'_, CLOCK_SPEC>
Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N.
sourcepub fn clkcnt_h(&mut self) -> CLKCNT_H_W<'_, CLOCK_SPEC>
pub fn clkcnt_h(&mut self) -> CLKCNT_H_W<'_, CLOCK_SPEC>
Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1).
sourcepub fn clkcnt_n(&mut self) -> CLKCNT_N_W<'_, CLOCK_SPEC>
pub fn clkcnt_n(&mut self) -> CLKCNT_N_W<'_, CLOCK_SPEC>
Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)
sourcepub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W<'_, CLOCK_SPEC>
pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W<'_, CLOCK_SPEC>
Bit 31 - Set this bit in 1-division mode.