Type Alias esp32c6::spi0::spi_mem_ecc_ctrl::W

source ·
pub type W = W<SPI_MEM_ECC_CTRL_SPEC>;
Expand description

Register SPI_MEM_ECC_CTRL writer

Implementations§

source§

impl W

source

pub fn spi_fmem_page_size( &mut self ) -> SPI_FMEM_PAGE_SIZE_W<'_, SPI_MEM_ECC_CTRL_SPEC, 18>

Bits 18:19 - Set the page size of the flash accessed by MSPI. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.