pub type R = R<CLOCK_SPEC>;
Expand description
Register CLOCK
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn clkcnt_l(&self) -> CLKCNT_L_R
pub fn clkcnt_l(&self) -> CLKCNT_L_R
Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N.
sourcepub fn clkcnt_h(&self) -> CLKCNT_H_R
pub fn clkcnt_h(&self) -> CLKCNT_H_R
Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1).
sourcepub fn clkcnt_n(&self) -> CLKCNT_N_R
pub fn clkcnt_n(&self) -> CLKCNT_N_R
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(&self) -> CLK_EQU_SYSCLK_R
pub fn clk_equ_sysclk(&self) -> CLK_EQU_SYSCLK_R
Bit 31 - reserved