Speeduino
Loading...
Searching...
No Matches
Public Attributes | List of all members
table3d_axis_io_converter Struct Reference

Convert a 16-bit value to/from a byte. Useful for I/O. More...

#include <table3d_axis_io.h>

Public Attributes

pToByteConverter to_byte
 
pFromByteConverter from_byte
 

Detailed Description

Convert a 16-bit value to/from a byte. Useful for I/O.

Often we need to deal internally with values that fit in 16-bits but do not require much accuracy. E.g. table axes in RPM. For these values we can save storage space (EEPROM) by scaling to/from 8-bits.

Member Data Documentation

◆ from_byte

pFromByteConverter table3d_axis_io_converter::from_byte

◆ to_byte

pToByteConverter table3d_axis_io_converter::to_byte

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