pub struct R(_);
Expand description
Register ECC_ERR_BIT
reader
Implementations
sourceimpl R
impl R
sourcepub fn ecc_data_err_bit(&self) -> ECC_DATA_ERR_BIT_R
pub fn ecc_data_err_bit(&self) -> ECC_DATA_ERR_BIT_R
Bits 6:12 - It records the first ECC data error bit number when SPI_FMEM_ECC_ERR_INT_EN/SPI_SMEM_ECC_ERR_INT_EN is set and accessed to flash/Ext_RAM. The value ranges from 0~127, corresponding to the bit number in 16 data bytes. It is cleared by SPI_MEM_ECC_ERR_INT_CLR bit.
sourcepub fn ecc_chk_err_bit(&self) -> ECC_CHK_ERR_BIT_R
pub fn ecc_chk_err_bit(&self) -> ECC_CHK_ERR_BIT_R
Bits 13:15 - When SPI_MEM_ECC_BYTE_ERR is set, these bits show the error bit number of ECC byte.
sourcepub fn ecc_byte_err(&self) -> ECC_BYTE_ERR_R
pub fn ecc_byte_err(&self) -> ECC_BYTE_ERR_R
Bit 16 - It records the first ECC byte error when SPI_FMEM_ECC_ERR_INT_EN/SPI_SMEM_ECC_ERR_INT_EN is set and accessed to flash/Ext_RAM. It is cleared by SPI_MEM_ECC_ERR_INT_CLR bit.
sourcepub fn ecc_err_cnt(&self) -> ECC_ERR_CNT_R
pub fn ecc_err_cnt(&self) -> ECC_ERR_CNT_R
Bits 17:24 - This bits show the error times of MSPI ECC read, including ECC byte error and data byte error. It is cleared by when SPI_MEM_ECC_ERR_INT_CLR bit is set.
Methods from Deref<Target = R<ECC_ERR_BIT_SPEC>>
Trait Implementations
sourceimpl From<R<ECC_ERR_BIT_SPEC>> for R
impl From<R<ECC_ERR_BIT_SPEC>> for R
sourcefn from(reader: R<ECC_ERR_BIT_SPEC>) -> Self
fn from(reader: R<ECC_ERR_BIT_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more