pub struct W(_);
Expand description

Register PRO_ICACHE_CTRL writer

Implementations

Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable

Bit 2 - The bit is used to configure cache memory size.0: 8KB, 1: 16KB

Bit 3 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes

Bit 8 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done.

Bit 14 - The bit is used to enable pre-lock operation which is combined with PRO_ICACHE_LOCK0_ADDR_REG and PRO_ICACHE_LOCK0_SIZE_REG.

Bit 15 - The bit is used to enable pre-lock operation which is combined with PRO_ICACHE_LOCK1_ADDR_REG and PRO_ICACHE_LOCK1_SIZE_REG.

Bit 18 - The bit is used to enable and disable conditional-preload operation. It is combined with pre_dcache_autoload_done. 1: enable, 0: disable.

Bit 20 - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done.

Bit 22 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done.

Bit 24 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done.

Writes raw bits to the register.

Methods from Deref<Target = W<PRO_ICACHE_CTRL_SPEC>>

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.