Type Alias rp2040_pac::ppb::cpuid::R
source · pub type R = R<CPUID_SPEC>;
Expand description
Register CPUID
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn revision(&self) -> REVISION_R
pub fn revision(&self) -> REVISION_R
Bits 0:3 - Minor revision number m in the rnpm revision status:
0x1 = Patch 1.
sourcepub fn partno(&self) -> PARTNO_R
pub fn partno(&self) -> PARTNO_R
Bits 4:15 - Number of processor within family: 0xC60 = Cortex-M0+
sourcepub fn architecture(&self) -> ARCHITECTURE_R
pub fn architecture(&self) -> ARCHITECTURE_R
Bits 16:19 - Constant that defines the architecture of the processor:
0xC = ARMv6-M architecture.
sourcepub fn variant(&self) -> VARIANT_R
pub fn variant(&self) -> VARIANT_R
Bits 20:23 - Major revision number n in the rnpm revision status:
0x0 = Revision 0.
sourcepub fn implementer(&self) -> IMPLEMENTER_R
pub fn implementer(&self) -> IMPLEMENTER_R
Bits 24:31 - Implementor code: 0x41 = ARM