![]() |
Speeduino
|
Classes | |
| class | offset_to_table< table_t > |
Variables | |
| constexpr const uint16_t | ini_page_sizes [] = { 0, 128, 288, 288, 128, 288, 128, 240, 384, 192, 192, 288, 192, 128, 288, 256 } |
| #define DECLARE_NEXT_ENTITY_START | ( | entityIndex, | |
| entitySize | |||
| ) | constexpr uint16_t ENTITY_START_VAR( PP_INC(entityIndex) ) = ENTITY_START_VAR(entityIndex)+entitySize; |
| #define ENTITY_START_VAR | ( | entityNum | ) | _ENTITY_START(entityNum) |
| page_iterator_t advance | ( | const page_iterator_t & | it | ) |
Moves the iterator to the next sub-entity on the page
| [in] | it | The current iterator |



|
inline |

|
inline |

|
inline |

|
inline |




|
inline |


|
inline |


Page count, as defined in the INI file

Page size in bytes
| [in] | pageNum | The page number |


Gets a single value from a page, with data aligned as per the ini file
| [in] | pageNum | The page number to retrieve data from. |
| [in] | offset | The address in the page that should be returned. This is as per the page definition in the ini. |


|
inlinestatic |


| page_iterator_t page_begin | ( | byte | pageNum | ) |
Initiates iteration over a pages entities. Test entity.type==End to determine the end of the page.
| [in] | pageNum | The page number to iterate over. |


| table_value_iterator rows_begin | ( | const page_iterator_t & | it | ) |
Convert page iterator to table value iterator.


|
inline |


|
inline |


Sets a single value from a page, with data aligned as per the ini file
| [in] | pageNum | The page number to retrieve data from. |
| [in] | offset | The address in the page that should be returned. This is as per the page definition in the ini. |
| [in] | value | The new value |


| table_axis_iterator x_begin | ( | const page_iterator_t & | it | ) |
Convert page iterator to table x axis iterator.


| table_axis_iterator x_rbegin | ( | const page_iterator_t & | it | ) |
Convert page iterator to table x axis iterator.


| table_axis_iterator y_begin | ( | const page_iterator_t & | it | ) |
Convert page iterator to table y axis iterator.

