Speeduino
Loading...
Searching...
No Matches
Functions
table2d.ino File Reference
#include "table2d.h"
#include "globals.h"

Functions

static uint8_t getCacheTime (void)
 
int table2D_getValue (struct table2D *fromTable, int X_in)
 
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 int16_ts. More...
 
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. More...
 

Function Documentation

◆ getCacheTime()

static uint8_t getCacheTime ( void  )
inlinestatic
Here is the caller graph for this function:

◆ table2D_getAxisValue()

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 int16_ts.

Parameters
fromTable
X_in
Returns
int16_t
Here is the caller graph for this function:

◆ table2D_getRawValue()

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.

Parameters
fromTable
X_index
Returns
int16_t
Here is the caller graph for this function:

◆ table2D_getValue()

int table2D_getValue ( struct table2D fromTable,
int  X_in 
)
Here is the call graph for this function:
Here is the caller graph for this function: