Struct esp32s3_hal::pac::apb_ctrl::spi_mem_ecc_ctrl::R
pub struct R(_);
Expand description
Register SPI_MEM_ECC_CTRL
reader
Implementations§
§impl R
impl R
pub fn flash_page_size(&self) -> FieldReaderRaw<u8, u8>
pub fn flash_page_size(&self) -> FieldReaderRaw<u8, u8>
Bits 18:19 - Set the page size of the used MSPI flash. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes.
pub fn sram_page_size(&self) -> FieldReaderRaw<u8, u8>
pub fn sram_page_size(&self) -> FieldReaderRaw<u8, u8>
Bits 20:21 - Set the page size of the used MSPI external RAM. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes.
Methods from Deref<Target = R<SPI_MEM_ECC_CTRL_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<SPI_MEM_ECC_CTRL_SPEC>> for R
impl From<R<SPI_MEM_ECC_CTRL_SPEC>> for R
§fn from(reader: R<SPI_MEM_ECC_CTRL_SPEC>) -> R
fn from(reader: R<SPI_MEM_ECC_CTRL_SPEC>) -> R
Converts to this type from the input type.