Speeduino
Loading...
Searching...
No Matches
table3d_axis_io.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "table3d_axes.h"
13
15typedef uint8_t byte;
16
21
26
37
52
static uint32_t rshift(uint32_t a)
Bitwise right shift - generic, unoptimized, case.
Definition bit_shifts.h:349
int16_t(* pFromByteConverter)(byte in)
Models byte->int16 conversion.
Definition table3d_axis_io.h:25
axis_domain
Encodes the real world measurement that a table axis captures.
Definition table3d_axes.h:17
uint8_t byte
Byte type. This is not defined in any C or C++ standard header.
Definition table3d_axis_io.h:15
table3d_axis_io_converter get_table3d_axis_converter(axis_domain domain)
Obtain a converter instance for a given axis domain.
Definition table3d_axis_io.cpp:13
byte(* pToByteConverter)(int16_t value)
Models int16->byte conversion.
Definition table3d_axis_io.h:20
Convert a 16-bit value to/from a byte. Useful for I/O.
Definition table3d_axis_io.h:33
pFromByteConverter from_byte
Definition table3d_axis_io.h:35
pToByteConverter to_byte
Definition table3d_axis_io.h:34
3D table axis types and iterators