pub struct R(_);Expand description
Register CLOCK reader
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
Methods from Deref<Target = R<CLOCK_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more