Struct lpc845_pac::CPUID[][src]

pub struct CPUID { /* fields omitted */ }
Expand description

CPUID

Implementations

Selects the current CCSIDR

  • level: the required cache level minus 1, e.g. 0 for L1, 1 for L2
  • ind: select instruction cache or data/unified cache

level is masked to be between 0 and 7.

Returns the number of sets and ways in the selected cache

Returns log2 of the number of words in the smallest cache line of all the data cache and unified caches that are controlled by the processor.

This is the DminLine field of the CTR register.

Returns log2 of the number of words in the smallest cache line of all the instruction caches that are controlled by the processor.

This is the IminLine field of the CTR register.

Pointer to the register block

Returns a pointer to the register block (to be deprecated in 0.7)

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

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

Performs the conversion.

Performs the conversion.

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.