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

Bootloader version information structure. More...

#include <bootloader_protocol.hpp>

Static Public Member Functions

static BootloaderVersion fromValue (uint32_t value) noexcept
 Parse from 32-bit value (major in upper 16 bits, minor in lower 16 bits)
 

Public Attributes

uint16_t major
 Major version number.
 
uint16_t minor
 Minor version number.
 

Detailed Description

Bootloader version information structure.

Contains the bootloader version in major.minor format. The version is retrieved from the bootloader using GET_INFO query type InfoQuery::BL_VERSION.

Parses the 32-bit version value where the upper 16 bits contain the major version and the lower 16 bits contain the minor version.

Member Function Documentation

◆ fromValue()

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

Parse from 32-bit value (major in upper 16 bits, minor in lower 16 bits)

Here is the caller graph for this function:

Member Data Documentation

◆ major

uint16_t tmc9660::BootloaderVersion::major

Major version number.

◆ minor

uint16_t tmc9660::BootloaderVersion::minor

Minor version number.


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