9#define SIZE_SIGNED_BYTE 4
static uint32_t rshift(uint32_t a)
Bitwise right shift - generic, unoptimized, case.
Definition bit_shifts.h:349
int16_t lastXMax
Definition table2d.h:30
byte xSize
Definition table2d.h:21
void * axisX
Definition table2d.h:24
int16_t lastXMin
Definition table2d.h:31
byte cacheTime
Definition table2d.h:36
byte valueSize
Definition table2d.h:19
int16_t lastOutput
Definition table2d.h:35
void * values
Definition table2d.h:23
int16_t lastInput
Definition table2d.h:34
byte axisSize
Definition table2d.h:20
void construct2dTable(table2D &table, uint8_t length, uint8_t *values, uint8_t *bins)
Definition table2d.cpp:27
int16_t table2D_getRawValue(struct table2D *fromTable, byte X_index)
Returns an value from the 2D table given an index value. No interpolation is performed.
Definition table2d.cpp:181
int16_t table2D_getAxisValue(struct table2D *fromTable, byte X_in)
Returns an axis (bin) value from the 2D table. This works regardless of whether that axis is bytes or...
Definition table2d.cpp:162
int table2D_getValue(struct table2D *fromTable, int X_in)
Definition table2d.cpp:61