Speeduino
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Functions
pages.h File Reference
#include <Arduino.h>
#include "table3d.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  page_iterator_t
 

Macros

#define veMapPage   2
 
#define veSetPage   1
 
#define ignMapPage   3
 
#define ignSetPage   4
 
#define afrMapPage   5
 
#define afrSetPage   6
 
#define boostvvtPage   7
 
#define seqFuelPage   8
 
#define canbusPage   9
 
#define warmupPage   10
 
#define fuelMap2Page   11
 
#define wmiMapPage   12
 
#define progOutsPage   13
 
#define ignMap2Page   14
 
#define boostvvtPage2   15
 

Enumerations

enum  entity_type { Raw , Table , NoEntity , End }
 

Functions

uint8_t getPageCount (void)
 
uint16_t getPageSize (byte pageNum)
 
byte getPageValue (byte pageNum, uint16_t offset)
 
void setPageValue (byte pageNum, uint16_t offset, byte value)
 
page_iterator_t page_begin (byte pageNum)
 
page_iterator_t advance (const page_iterator_t &it)
 
table_value_iterator rows_begin (const page_iterator_t &it)
 
table_axis_iterator x_begin (const page_iterator_t &it)
 
table_axis_iterator x_rbegin (const page_iterator_t &it)
 
table_axis_iterator y_begin (const page_iterator_t &it)
 

Macro Definition Documentation

◆ afrMapPage

#define afrMapPage   5

◆ afrSetPage

#define afrSetPage   6

◆ boostvvtPage

#define boostvvtPage   7

◆ boostvvtPage2

#define boostvvtPage2   15

◆ canbusPage

#define canbusPage   9

◆ fuelMap2Page

#define fuelMap2Page   11

◆ ignMap2Page

#define ignMap2Page   14

◆ ignMapPage

#define ignMapPage   3

◆ ignSetPage

#define ignSetPage   4

◆ progOutsPage

#define progOutsPage   13

◆ seqFuelPage

#define seqFuelPage   8

◆ veMapPage

#define veMapPage   2

◆ veSetPage

#define veSetPage   1

◆ warmupPage

#define warmupPage   10

◆ wmiMapPage

#define wmiMapPage   12

Enumeration Type Documentation

◆ entity_type

Enumerator
Raw 
Table 
NoEntity 
End 

Function Documentation

◆ advance()

Moves the iterator to the next sub-entity on the page

Parameters
[in]itThe current iterator
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPageCount()

uint8_t getPageCount ( void  )

Page count, as defined in the INI file

Here is the caller graph for this function:

◆ getPageSize()

uint16_t getPageSize ( byte  pageNum)

Page size in bytes

Parameters
[in]pageNumThe page number
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPageValue()

byte getPageValue ( byte  pageNum,
uint16_t  offset 
)

Gets a single value from a page, with data aligned as per the ini file

Parameters
[in]pageNumThe page number to retrieve data from.
[in]offsetThe address in the page that should be returned. This is as per the page definition in the ini.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ page_begin()

page_iterator_t page_begin ( byte  pageNum)

Initiates iteration over a pages entities. Test entity.type==End to determine the end of the page.

Parameters
[in]pageNumThe page number to iterate over.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rows_begin()

Convert page iterator to table value iterator.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPageValue()

void setPageValue ( byte  pageNum,
uint16_t  offset,
byte  value 
)

Sets a single value from a page, with data aligned as per the ini file

Parameters
[in]pageNumThe page number to retrieve data from.
[in]offsetThe address in the page that should be returned. This is as per the page definition in the ini.
[in]valueThe new value
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x_begin()

Convert page iterator to table x axis iterator.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ x_rbegin()

Convert page iterator to table x axis iterator.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ y_begin()

Convert page iterator to table y axis iterator.

Here is the call graph for this function:
Here is the caller graph for this function: