HF-TMC9660 Driver 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC9660
Loading...
Searching...
No Matches
tmc9660::GitInfo Struct Reference

Git version control information from bootloader firmware. More...

#include <bootloader_protocol.hpp>

Static Public Member Functions

static GitInfo fromValue (uint32_t value) noexcept
 Parse from 32-bit value.
 

Public Attributes

bool dirty
 Bit 28: Dirty bit - uncommitted changes.
 
uint32_t commit_hash
 Bits 27-0: 7-digit hex commit hash.
 

Detailed Description

Git version control information from bootloader firmware.

Contains Git commit hash and dirty bit indicating the firmware build state. The dirty bit indicates if there were uncommitted changes when the firmware was built. Retrieved via GET_INFO query type InfoQuery::GIT_INFO.

Member Function Documentation

◆ fromValue()

static GitInfo tmc9660::GitInfo::fromValue ( uint32_t value)
inlinestaticnoexcept

Parse from 32-bit value.

Here is the caller graph for this function:

Member Data Documentation

◆ commit_hash

uint32_t tmc9660::GitInfo::commit_hash

Bits 27-0: 7-digit hex commit hash.

◆ dirty

bool tmc9660::GitInfo::dirty

Bit 28: Dirty bit - uncommitted changes.


The documentation for this struct was generated from the following file: