pub struct R(_);
Expand description

Register PRO_DCACHE_CTRL reader

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 9 - The bit is used to indicate invalidate operation is finished.

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

Bit 11 - The bit is used to indicate flush operation is finished.

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

Bit 13 - The bit is used to indicate clean operation is finished.

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

Bit 15 - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK1_ADDR_REG and PRO_DCACHE_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 19 - The bit is used to indicate conditional-preload operation is finished.

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

Bit 21 - The bit is used to indicate preload operation is finished.

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

Bit 23 - The bit is used to indicate unlock operation is finished.

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

Bit 25 - The bit is used to indicate lock operation is finished.

Methods from Deref<Target = R<PRO_DCACHE_CTRL_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
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.