Speeduino
Loading...
Searching...
No Matches
Macros | Typedefs
table3d_typedefs.h File Reference

Typedefs for primitive 3D table elements. More...

#include <stdint.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CAT_HELPER(a, b)   a ## b
 
#define CONCAT(A, B)   CAT_HELPER(A, B)
 

Typedefs

using table3d_dim_t = uint8_t
 Encodes the length of the axes.
 
using table3d_value_t = uint8_t
 The type of each table value.
 
using table3d_axis_t = int16_t
 The type of each axis value.
 

Detailed Description

Typedefs for primitive 3D table elements.

These used are for consistency across functions that work on 3D table data. For example:
table3d_value_t foo(table3d_axis_t input);
instead of:
uint8_t foo(int16_t input);