Skip to main content

Register

pub trait Register {
    type Width: CastRegisterValue;

    const ID: u32;
}
Expand description

A CPPC register

Required Associated Constants§

Source

const ID: u32

Register ID

Required Associated Types§

Source

type Width: CastRegisterValue

Register value width

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Register for AutonomousAcivityWindow

Source§

const ID: u32 = 0x00000010

Source§

type Width = u32

Source§

impl Register for AutonomousSelectionEnable

Source§

const ID: u32 = 0x0000000F

Source§

type Width = u32

Source§

impl Register for CounterWraparoundTime

Source§

const ID: u32 = 0x0000000A

Source§

type Width = u64

Source§

impl Register for CppcEnable

Source§

const ID: u32 = 0x0000000E

Source§

type Width = u32

Source§

impl Register for DeliveredPerformanceCounter

Source§

const ID: u32 = 0x0000000C

Source§

type Width = u64

Source§

impl Register for DesiredPerformance

Source§

const ID: u32 = 0x00000005

Source§

type Width = u32

Source§

impl Register for EnergyPerformancePreference

Source§

const ID: u32 = 0x00000011

Source§

type Width = u32

Source§

impl Register for GuaranteedPerformance

Source§

const ID: u32 = 0x00000004

Source§

type Width = u32

Source§

impl Register for HighestPerformance

Source§

const ID: u32 = 0x00000000

Source§

type Width = u32

Source§

impl Register for LowestFrequency

Source§

const ID: u32 = 0x00000013

Source§

type Width = u32

Source§

impl Register for LowestNonlinearPerformance

Source§

const ID: u32 = 0x00000002

Source§

type Width = u32

Source§

impl Register for LowestPerformance

Source§

const ID: u32 = 0x00000003

Source§

type Width = u32

Source§

impl Register for MaximumPerformance

Source§

const ID: u32 = 0x00000007

Source§

type Width = u32

Source§

impl Register for MinimumPerformance

Source§

const ID: u32 = 0x00000006

Source§

type Width = u32

Source§

impl Register for NominalFrequency

Source§

const ID: u32 = 0x00000014

Source§

type Width = u32

Source§

impl Register for NominalPerformance

Source§

const ID: u32 = 0x00000001

Source§

type Width = u32

Source§

impl Register for PerformanceLimited

Source§

const ID: u32 = 0x0000000D

Source§

type Width = u32

Source§

impl Register for PerformanceReductionTolerance

Source§

const ID: u32 = 0x00000008

Source§

type Width = u32

Source§

impl Register for ReferencePerformance

Source§

const ID: u32 = 0x00000012

Source§

type Width = u32

Source§

impl Register for ReferencePerformanceCounter

Source§

const ID: u32 = 0x0000000B

Source§

type Width = u64

Source§

impl Register for TimeWindow

Source§

const ID: u32 = 0x00000009

Source§

type Width = u32

Source§

impl Register for TransitionLatency

Source§

const ID: u32 = 0x80000000

Source§

type Width = u32