|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
The four bytes of an ETG.1004 unit notation value, split out. More...
#include <esi_unit.h>
Public Attributes | |
| uint8_t | prefix = 0 |
| uint8_t | numerator = 0 |
| uint8_t | denominator = 0 |
| uint8_t | reserved = 0 |
The four bytes of an ETG.1004 unit notation value, split out.
A <Unit> value such as #xFD260000 packs, most significant byte first: [prefix, numerator, denominator, reserved]. Here 0xFD is the SI prefix milli (the byte is a two's-complement power-of-ten exponent, so 0xFD is −3), 0x26 is volt and 0x00 is the dimensionless denominator — together "mV".
| uint8_t mm::etg::UnitParts::denominator = 0 |
| uint8_t mm::etg::UnitParts::numerator = 0 |
| uint8_t mm::etg::UnitParts::prefix = 0 |
| uint8_t mm::etg::UnitParts::reserved = 0 |