[−][src]Struct fomu_pac::version::RegisterBlock
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,