51 return CanandFirmwareVersion{(uint16_t) (value >> 16), (uint8_t) ((value >> 8) & 0xff), (uint8_t) ((value & 0xff))};
Definition: CanandMessage.h:10
Definition: CanandFirmwareVersion.h:17
uint16_t year
Definition: CanandFirmwareVersion.h:29
constexpr CanandFirmwareVersion(uint16_t year, uint8_t minor, uint8_t patch)
Definition: CanandFirmwareVersion.h:27
constexpr uint64_t ToSettingData()
Definition: CanandFirmwareVersion.h:40
uint8_t minor
Definition: CanandFirmwareVersion.h:31
uint8_t patch
Definition: CanandFirmwareVersion.h:33
static constexpr CanandFirmwareVersion FromSettingData(uint64_t value)
Definition: CanandFirmwareVersion.h:50