Struct cortex_m::peripheral::CPUID

source ·
pub struct CPUID { /* private fields */ }
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 a pointer to the register block

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

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.