Type Alias esp32s3::spi0::ecc_ctrl::W

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

Register ECC_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ecc_err_int_num(&mut self) -> ECC_ERR_INT_NUM_W<'_, ECC_CTRL_SPEC>

Bits 0:7 - Set the error times of MSPI ECC read to generate MSPI SPI_MEM_ECC_ERR_INT interrupt.

source

pub fn spi_fmem_ecc_err_int_en( &mut self ) -> SPI_FMEM_ECC_ERR_INT_EN_W<'_, ECC_CTRL_SPEC>

Bit 8 - Set this bit to calculate the error times of MSPI ECC read when accesses to flash.

source

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

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual