pub struct W(_);
Expand description
Register ICACHE_CTRL
writer
Implementations
sourceimpl W
impl W
sourcepub fn icache_enable(&mut self) -> ICACHE_ENABLE_W<'_, 0>
pub fn icache_enable(&mut self) -> ICACHE_ENABLE_W<'_, 0>
Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable
sourcepub fn icache_way_mode(&mut self) -> ICACHE_WAY_MODE_W<'_, 1>
pub fn icache_way_mode(&mut self) -> ICACHE_WAY_MODE_W<'_, 1>
Bit 1 - The bit is used to configure cache way mode.0: 4-way, 1: 8-way
sourcepub fn icache_size_mode(&mut self) -> ICACHE_SIZE_MODE_W<'_, 2>
pub fn icache_size_mode(&mut self) -> ICACHE_SIZE_MODE_W<'_, 2>
Bit 2 - The bit is used to configure cache memory size.0: 16KB, 1: 32KB
sourcepub fn icache_blocksize_mode(&mut self) -> ICACHE_BLOCKSIZE_MODE_W<'_, 3>
pub fn icache_blocksize_mode(&mut self) -> ICACHE_BLOCKSIZE_MODE_W<'_, 3>
Bit 3 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes
Methods from Deref<Target = W<ICACHE_CTRL_SPEC>>
Trait Implementations
sourceimpl From<W<ICACHE_CTRL_SPEC>> for W
impl From<W<ICACHE_CTRL_SPEC>> for W
sourcefn from(writer: W<ICACHE_CTRL_SPEC>) -> Self
fn from(writer: W<ICACHE_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