Type Alias R

Source
pub type R = R<CLOCK_SPEC>;
Expand description

Register CLOCK reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn clkcnt_l(&self) -> CLKCNT_L_R

Bits 0:7 - It must equal to the value of SPI_MEM_CLKCNT_N.

Source

pub fn clkcnt_h(&self) -> CLKCNT_H_R

Bits 8:15 - It must be a floor value of ((SPI_MEM_CLKCNT_N+1)/2-1).

Source

pub fn clkcnt_n(&self) -> CLKCNT_N_R

Bits 16:23 - When SPI1 accesses to flash or Ext_RAM, f_SPI_CLK = f_MSPI_CORE_CLK/(SPI_MEM_CLKCNT_N+1)

Source

pub fn clk_equ_sysclk(&self) -> CLK_EQU_SYSCLK_R

Bit 31 - When SPI1 access to flash or Ext_RAM, set this bit in 1-division mode, f_SPI_CLK = f_MSPI_CORE_CLK.