Struct esp32s3_hal::pac::spi0::ecc_ctrl::W
pub struct W(_);
Expand description
Register ECC_CTRL
writer
Implementations§
§impl W
impl W
pub fn ecc_err_int_num(
&mut self
) -> FieldWriterRaw<'_, u32, ECC_CTRL_SPEC, u8, u8, Unsafe, 8, 0>
pub fn ecc_err_int_num(
&mut self
) -> FieldWriterRaw<'_, u32, ECC_CTRL_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - Set the error times of MSPI ECC read to generate MSPI SPI_MEM_ECC_ERR_INT interrupt.
pub fn spi_fmem_ecc_err_int_en(
&mut self
) -> BitWriterRaw<'_, u32, ECC_CTRL_SPEC, bool, BitM, 8>
pub fn spi_fmem_ecc_err_int_en(
&mut self
) -> BitWriterRaw<'_, u32, ECC_CTRL_SPEC, bool, BitM, 8>
Bit 8 - Set this bit to calculate the error times of MSPI ECC read when accesses to flash.
Methods from Deref<Target = W<ECC_CTRL_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<ECC_CTRL_SPEC>> for W
impl From<W<ECC_CTRL_SPEC>> for W
§fn from(writer: W<ECC_CTRL_SPEC>) -> W
fn from(writer: W<ECC_CTRL_SPEC>) -> W
Converts to this type from the input type.