Type Alias xmc4800::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

source

pub fn revision(&self) -> REVISION_R

Bits 0:3 - Revision number

source

pub fn part_no(&self) -> PART_NO_R

Bits 4:15 - Part number of the processor

source

pub fn constant(&self) -> CONSTANT_R

Bits 16:19 - Reads as 0xF

source

pub fn variant(&self) -> VARIANT_R

Bits 20:23 - Variant number

source

pub fn implementer(&self) -> IMPLEMENTER_R

Bits 24:31 - Implementer code