Skip to main content

CmsReg

Enum CmsReg 

Source
#[repr(u64)]
pub enum CmsReg {
Show 63 variants MicroblazeResetN = 131_072, FwVersion = 163_844, CmsStatus = 163_848, Error = 163_852, ProfileName = 163_860, Control = 163_864, Pex12VMax = 163_872, Pex12VAvg = 163_876, Pex12VInst = 163_880, Pex3V3Max = 163_884, Pex3V3Avg = 163_888, Pex3V3Inst = 163_892, Aux12VMax = 163_908, Aux12VAvg = 163_912, Aux12VInst = 163_916, Sys5V5Max = 163_932, Sys5V5Avg = 163_936, Sys5V5Inst = 163_940, Vcc1V8Max = 163_956, Vcc1V8Avg = 163_960, Vcc1V8Inst = 163_964, Mgt0V9AVccMax = 163_992, Mgt0V9AVccAvg = 163_996, Mgt0V9AVccInst = 164_000, MgtAVttMax = 164_016, MgtAVttAvg = 164_020, MgtAVttInst = 164_024, Pex12VCurrentInMax = 164_040, Pex12VCurrentInAvg = 164_044, Pex12VCurrentInInst = 164_048, Aux12VCurrentInMax = 164_052, Aux12VCurrentInAvg = 164_056, Aux12VCurrentInInst = 164_060, VccIntMax = 164_064, VccIntAvg = 164_068, VccIntInst = 164_072, VccCurrentMax = 164_076, VccCurrentAvg = 164_080, VccCurrentInst = 164_084, FpgaTempMax = 164_088, FpgaTempAvg = 164_092, FpgaTempInst = 164_096, Hbm0TempMax = 164_448, Hbm0TempAvg = 164_452, Hbm0TempInst = 164_456, Vcc3V3Max = 164_460, Vcc3V3Avg = 164_464, Vcc3V3Inst = 164_468, Pex3V3CurrentInMax = 164_472, Pex3V3CurrentInAvg = 164_476, Pex3V3CurrentInInst = 164_480, VccIntCurrentMax = 164_484, VccIntCurrentAvg = 164_488, VccIntCurrentInst = 164_492, Hbm1TempMax = 164_532, Hbm1TempAvg = 164_536, Hbm1TempInst = 164_540, VccIntTempMax = 164_556, VccIntTempAvg = 164_560, VccIntTempInst = 164_564, HostMsgOffset = 164_608, HostMsgError = 164_612, HostStatus = 164_620,
}
Expand description

CMS register offsets

Variants§

§

MicroblazeResetN = 131_072

Microblaze reset register. Active-Low. Default 0, reset active.

§

FwVersion = 163_844

§

CmsStatus = 163_848

§

Error = 163_852

§

ProfileName = 163_860

§

Control = 163_864

§

Pex12VMax = 163_872

Voltage in mV

§

Pex12VAvg = 163_876

§

Pex12VInst = 163_880

§

Pex3V3Max = 163_884

§

Pex3V3Avg = 163_888

§

Pex3V3Inst = 163_892

§

Aux12VMax = 163_908

§

Aux12VAvg = 163_912

§

Aux12VInst = 163_916

§

Sys5V5Max = 163_932

§

Sys5V5Avg = 163_936

§

Sys5V5Inst = 163_940

§

Vcc1V8Max = 163_956

§

Vcc1V8Avg = 163_960

§

Vcc1V8Inst = 163_964

§

Mgt0V9AVccMax = 163_992

§

Mgt0V9AVccAvg = 163_996

§

Mgt0V9AVccInst = 164_000

§

MgtAVttMax = 164_016

§

MgtAVttAvg = 164_020

§

MgtAVttInst = 164_024

§

Pex12VCurrentInMax = 164_040

Current in mA

§

Pex12VCurrentInAvg = 164_044

§

Pex12VCurrentInInst = 164_048

§

Aux12VCurrentInMax = 164_052

§

Aux12VCurrentInAvg = 164_056

§

Aux12VCurrentInInst = 164_060

§

VccIntMax = 164_064

§

VccIntAvg = 164_068

§

VccIntInst = 164_072

§

VccCurrentMax = 164_076

§

VccCurrentAvg = 164_080

§

VccCurrentInst = 164_084

§

FpgaTempMax = 164_088

Temperature in C

§

FpgaTempAvg = 164_092

§

FpgaTempInst = 164_096

§

Hbm0TempMax = 164_448

§

Hbm0TempAvg = 164_452

§

Hbm0TempInst = 164_456

§

Vcc3V3Max = 164_460

§

Vcc3V3Avg = 164_464

§

Vcc3V3Inst = 164_468

§

Pex3V3CurrentInMax = 164_472

§

Pex3V3CurrentInAvg = 164_476

§

Pex3V3CurrentInInst = 164_480

§

VccIntCurrentMax = 164_484

§

VccIntCurrentAvg = 164_488

§

VccIntCurrentInst = 164_492

§

Hbm1TempMax = 164_532

§

Hbm1TempAvg = 164_536

§

Hbm1TempInst = 164_540

§

VccIntTempMax = 164_556

§

VccIntTempAvg = 164_560

§

VccIntTempInst = 164_564

§

HostMsgOffset = 164_608

Mailbox offset from the base address 0x2_8000. Valid range 0x1000..0x1ffc. Default 0x1000.

§

HostMsgError = 164_612

§

HostStatus = 164_620

Bit 0 is set if mailbox and sensor readings are ready.

Trait Implementations§

Source§

impl Clone for CmsReg

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for CmsReg

Source§

impl Debug for CmsReg

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for CmsReg

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Sequence for CmsReg

Source§

const CARDINALITY: usize

Number of values of type Self. Read more
Source§

fn next(&self) -> Option<Self>

Returns value following *self or None if this was the end. Read more
Source§

fn previous(&self) -> Option<Self>

Returns value preceding *self or None if this was the beginning. Read more
Source§

fn first() -> Option<Self>

Returns the first value of type Self. Read more
Source§

fn last() -> Option<Self>

Returns the last value of type Self. Read more
Source§

impl StructuralPartialEq for CmsReg

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.