Type Alias atsame51g::system_control::cpuid::R

source ·
pub type R = R<CPUID_SPEC>;
Expand description

Register CPUID reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn revision(&self) -> REVISION_R

Bits 0:3 - Processor revision number

source

pub fn partno(&self) -> PARTNO_R

Bits 4:15 - Process Part Number, 0xC24=Cortex-M4

source

pub fn constant(&self) -> CONSTANT_R

Bits 16:19 - Constant

source

pub fn variant(&self) -> VARIANT_R

Bits 20:23 - Variant number

source

pub fn implementer(&self) -> IMPLEMENTER_R

Bits 24:31 - Implementer code, 0x41=ARM