Struct esp32s3::apb_ctrl::spi_mem_ecc_ctrl::W
source · pub struct W(_);
Expand description
Register SPI_MEM_ECC_CTRL
writer
Implementations
sourceimpl W
impl W
sourcepub fn flash_page_size(&mut self) -> FLASH_PAGE_SIZE_W<'_, 18>
pub fn flash_page_size(&mut self) -> FLASH_PAGE_SIZE_W<'_, 18>
Bits 18:19 - Set the page size of the used MSPI flash. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes.
sourcepub fn sram_page_size(&mut self) -> SRAM_PAGE_SIZE_W<'_, 20>
pub fn sram_page_size(&mut self) -> SRAM_PAGE_SIZE_W<'_, 20>
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 = W<SPI_MEM_ECC_CTRL_SPEC>>
Trait Implementations
sourceimpl From<W<SPI_MEM_ECC_CTRL_SPEC>> for W
impl From<W<SPI_MEM_ECC_CTRL_SPEC>> for W
sourcefn from(writer: W<SPI_MEM_ECC_CTRL_SPEC>) -> Self
fn from(writer: W<SPI_MEM_ECC_CTRL_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