FreeEMS  0.2.0-SNAPSHOT-285-g028e24c
Data Structures | Macros
TunableConfigs.h File Reference

Struct typedefs for tunable configuration. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  logChunk
 Holds a datalog chunk configuration pair. More...
struct  loggingSetting
 Holds all configuration for logging. More...
struct  SmallTables1
 One of four structs of live tunable data such as small tables and fuel trims etc. More...
struct  SmallTables2
 One of four structs of live tunable data such as small tables and fuel trims etc. More...
struct  SmallTables3
 One of four structs of live tunable data such as small tables and fuel trims etc. More...
struct  SmallTables4
 One of four structs of live tunable data such as small tables and fuel trims etc. More...

Macros

#define MAX_LOG_CHUNKS   16
#define SMALL_TABLES_1_FILLER_SIZE   (flashSectorSize - (sizeof(twoDTableUS) * 9))
#define SMALL_TABLES_2_FILLER_SIZE   (flashSectorSize - (sizeof(loggingSetting) + 12))
#define SMALL_TABLES_3_FILLER_SIZE   flashSectorSize
#define SMALL_TABLES_4_FILLER_SIZE   flashSectorSize

Detailed Description

Struct typedefs for tunable configuration.

This file contains both the struct data type definitions and the arrays of default values for small tables. Place reusable definitions of default table values in here such that they can be used in multiple tunable table definitions.

You should add your configuration item here if it is best that it is adjusted with instant results on a running engine. For everything else, please consider placing it in one of the fixed configuration structs.

Definition in file TunableConfigs.h.

Macro Definition Documentation

#define MAX_LOG_CHUNKS   16

Definition at line 61 of file TunableConfigs.h.

#define SMALL_TABLES_1_FILLER_SIZE   (flashSectorSize - (sizeof(twoDTableUS) * 9))

Definition at line 82 of file TunableConfigs.h.

Referenced by lookupBlockDetails().

#define SMALL_TABLES_2_FILLER_SIZE   (flashSectorSize - (sizeof(loggingSetting) + 12))

Definition at line 106 of file TunableConfigs.h.

Referenced by lookupBlockDetails().

#define SMALL_TABLES_3_FILLER_SIZE   flashSectorSize

Definition at line 115 of file TunableConfigs.h.

Referenced by lookupBlockDetails().

#define SMALL_TABLES_4_FILLER_SIZE   flashSectorSize

Definition at line 122 of file TunableConfigs.h.

Referenced by lookupBlockDetails().