Struct esp32s3_hal::pac::spi0::ecc_err_bit::R
pub struct R(_);
Expand description
Register ECC_ERR_BIT
reader
Implementations§
§impl R
impl R
pub fn ecc_data_err_bit(&self) -> FieldReaderRaw<u8, u8>
pub fn ecc_data_err_bit(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn ecc_chk_err_bit(&self) -> FieldReaderRaw<u8, u8>
pub fn ecc_chk_err_bit(&self) -> FieldReaderRaw<u8, u8>
Bits 13:15 - When SPI_MEM_ECC_BYTE_ERR is set, these bits show the error bit number of ECC byte.
pub fn ecc_byte_err(&self) -> BitReaderRaw<bool>
pub fn ecc_byte_err(&self) -> BitReaderRaw<bool>
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.
pub fn ecc_err_cnt(&self) -> FieldReaderRaw<u8, u8>
pub fn ecc_err_cnt(&self) -> FieldReaderRaw<u8, u8>
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>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.