[][src]Struct fomu_pac::version::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub major: MAJOR,
    pub minor: MINOR,
    pub revision: REVISION,
    pub gitrev3: GITREV3,
    pub gitrev2: GITREV2,
    pub gitrev1: GITREV1,
    pub gitrev0: GITREV0,
    pub gitextra1: GITEXTRA1,
    pub gitextra0: GITEXTRA0,
    pub dirty: DIRTY,
    pub model: MODEL,
    pub seed3: SEED3,
    pub seed2: SEED2,
    pub seed1: SEED1,
    pub seed0: SEED0,
    // some fields omitted
}

Register block

Fields

major: MAJOR

0x00 - Major git tag version. For example, this firmware was built from git tag v2.0.3, so this value is 2.

minor: MINOR

0x04 - Minor git tag version. For example, this firmware was built from git tag v2.0.3, so this value is 0.

revision: REVISION

0x08 - Revision git tag version. For example, this firmware was built from git tag v2.0.3, so this value is 3.

gitrev3: GITREV3

0x0c - Bits 24-31 of VERSION_GITREV. First 32-bits of the git revision. This documentation was built from git rev 00000000, so this value is 0, which should be enough to check out the exact git version used to build this firmware.

gitrev2: GITREV2

0x10 - Bits 16-23 of VERSION_GITREV.

gitrev1: GITREV1

0x14 - Bits 8-15 of VERSION_GITREV.

gitrev0: GITREV0

0x18 - Bits 0-7 of VERSION_GITREV.

gitextra1: GITEXTRA1

0x1c - Bits 8-9 of VERSION_GITEXTRA. The number of additional commits beyond the git tag. For example, if this value is 1, then the repository this was built from has one additional commit beyond the tag indicated in MAJOR, MINOR, and REVISION.

gitextra0: GITEXTRA0

0x20 - Bits 0-7 of VERSION_GITEXTRA.

dirty: DIRTY

0x24 -

model: MODEL

0x28 -

seed3: SEED3

0x2c - Bits 24-31 of VERSION_SEED. 32-bit seed used for the place-and-route.

seed2: SEED2

0x30 - Bits 16-23 of VERSION_SEED.

seed1: SEED1

0x34 - Bits 8-15 of VERSION_SEED.

seed0: SEED0

0x38 - Bits 0-7 of VERSION_SEED.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.