rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
canam_canned.cpp File Reference

Functions

static void cannedsparkDwellValues ()
 
static void canneddwellVoltageCorrValues ()
 
static void cannedidleAdvanceBins ()
 
static void cannedcltIdleRpm ()
 
static void cannedidleAdvance ()
 
static void cannedignitionRpmBins ()
 
static void cannedignitionLoadBins ()
 
static void cannedveRpmBins ()
 
static void cannedveLoadBins ()
 
static void cannedboostRpmBins ()
 
static void cannedpedalToTpsRpmBins ()
 
static void cannedcltIdleCorr ()
 
static void cannedcltCrankingCorr ()
 

Function Documentation

◆ cannedboostRpmBins()

static void cannedboostRpmBins ( )
static

Definition at line 62 of file canam_canned.cpp.

62 {
63#if (BOOST_LOAD_COUNT == 8) && (BOOST_RPM_COUNT == 8)
64 static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0};
65 copyArray(config->boostRpmBins, hardCodedboostRpmBins);
66#endif
67}
static constexpr persistent_config_s * config
scaled_channel< uint8_t, 1, 100 > boostRpmBins[BOOST_RPM_COUNT]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedcltCrankingCorr()

static void cannedcltCrankingCorr ( )
static

Definition at line 83 of file canam_canned.cpp.

83 {
84 static const float hardCodedcltCrankingCorr[8] = {1.0, 1.0, 1.0, 0.8, 0.8, 0.8, 0.8, 0.8};
85 copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr);
86}

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedcltIdleCorr()

static void cannedcltIdleCorr ( )
static

Definition at line 76 of file canam_canned.cpp.

76 {
77#if CLT_IDLE_TABLE_CLT_SIZE == 16
78//todo hardCodedcltIdleCorr static const float hardCodedcltIdleCorr[16] = {1.1, 1.1, 0.9333, 0.9333, 0.9333, 0.8333, 0.6333, 0.6333, 0.5, 0.5, 0.4667, 0.3, 0.3, 0.3, 0.3, 0.3};
79//todo copyArray(config->cltIdleCorr, hardCodedcltIdleCorr);
80#endif // CLT_IDLE_TABLE_CLT_SIZE
81}

Referenced by commonGenesisCoupe(), and setMaverickX3().

Here is the caller graph for this function:

◆ cannedcltIdleRpm()

static void cannedcltIdleRpm ( )
static

Definition at line 20 of file canam_canned.cpp.

20 {
21#if CLT_CURVE_SIZE == 16
22 static const float hardCodedcltIdleRpm[16] = {1860.0, 1860.0, 1800.0, 1700.0, 1660.0, 1600.0, 1560.0, 1500.0, 1500.0, 1460.0, 1460.0, 1440.0, 1400.0, 1400.0, 1500.0, 1600.0};
24#endif // CLT_CURVE_SIZE
25}
static const float hardCodedcltIdleRpm[16]
scaled_channel< uint8_t, 1, 20 > cltIdleRpm[CLT_CURVE_SIZE]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ canneddwellVoltageCorrValues()

static void canneddwellVoltageCorrValues ( )
static

Definition at line 10 of file canam_canned.cpp.

10 {
11#if DWELL_CURVE_SIZE == 8
12 static const float hardCodeddwellVoltageCorrValues[8] = {1.26, 1.2, 1.16, 1.1, 1.06, 1.0, 0.9, 0.8};
13 copyArray(config->dwellVoltageCorrValues, hardCodeddwellVoltageCorrValues);
14#endif
15}
scaled_channel< uint8_t, 50, 1 > dwellVoltageCorrValues[DWELL_CURVE_SIZE]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedidleAdvance()

static void cannedidleAdvance ( )
static

Definition at line 27 of file canam_canned.cpp.

27 {
28#if IDLE_ADVANCE_CURVE_SIZE == 8
29 static const float hardCodedidleAdvance[8] = {10.0, 10.571428, 11.142858, 11.714286, 12.285714, 12.857142, 13.428572, 14.0};
30 copyArray(config->idleAdvance, hardCodedidleAdvance);
31#endif
32}

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedidleAdvanceBins()

static void cannedidleAdvanceBins ( )
static

Definition at line 17 of file canam_canned.cpp.

17 {
18}

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedignitionLoadBins()

static void cannedignitionLoadBins ( )
static

Definition at line 41 of file canam_canned.cpp.

41 {
42#if (IGN_RPM_COUNT == 16) && (IGN_LOAD_COUNT == 16)
43 static const float hardCodedignitionLoadBins[16] = {15.0, 27.0, 33.0, 45.0, 57.0, 69.0, 81.0, 93.0, 105.0, 129.0, 157.0, 186.0, 214.0, 243.0, 271.0, 300.0};
45#endif
46}
static const float hardCodedignitionLoadBins[16]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedignitionRpmBins()

static void cannedignitionRpmBins ( )
static

Definition at line 34 of file canam_canned.cpp.

34 {
35#if (IGN_RPM_COUNT == 16) && (IGN_LOAD_COUNT == 16)
36 static const float hardCodedignitionRpmBins[16] = {800.0, 1000.0, 1300.0, 1600.0, 2000.0, 2500.0, 3000.0, 3600.0, 4000.0, 4400.0, 4900.0, 5300.0, 5800.0, 6200.0, 7100.0, 8000.0};
38#endif
39}
static const float hardCodedignitionRpmBins[16]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedpedalToTpsRpmBins()

static void cannedpedalToTpsRpmBins ( )
static

Definition at line 69 of file canam_canned.cpp.

69 {
70#if PEDAL_TO_TPS_SIZE == 8
71 static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0};
72 copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins);
73#endif
74}
scaled_channel< uint8_t, 1, 100 > pedalToTpsRpmBins[PEDAL_TO_TPS_RPM_SIZE]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedsparkDwellValues()

static void cannedsparkDwellValues ( )
static

Definition at line 3 of file canam_canned.cpp.

3 {
4#if DWELL_CURVE_SIZE == 8
5 static const float hardCodedsparkDwellValues[8] = {4.0, 3.3, 3.2, 3.1, 3.05, 2.97, 2.88, 2.8};
6 copyArray(config->sparkDwellValues, hardCodedsparkDwellValues);
7#endif
8}
scaled_channel< uint16_t, 100, 1 > sparkDwellValues[DWELL_CURVE_SIZE]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedveLoadBins()

static void cannedveLoadBins ( )
static

Definition at line 55 of file canam_canned.cpp.

55 {
56#if (VE_LOAD_COUNT == 16) && (VE_RPM_COUNT == 16)
57 static const float hardCodedveLoadBins[16] = {15.0, 27.0, 33.0, 45.0, 57.0, 69.0, 81.0, 93.0, 105.0, 129.0, 157.0, 186.0, 214.0, 243.0, 271.0, 300.0};
59#endif
60}
static const uint8_t hardCodedveLoadBins[16]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedveRpmBins()

static void cannedveRpmBins ( )
static

Definition at line 48 of file canam_canned.cpp.

48 {
49#if (VE_LOAD_COUNT == 16) && (VE_RPM_COUNT == 16)
50 static const float hardCodedveRpmBins[16] = {800.0, 1000.0, 1300.0, 1600.0, 2000.0, 2500.0, 3000.0, 3600.0, 4000.0, 4400.0, 4900.0, 5300.0, 5800.0, 6200.0, 7100.0, 8000.0};
52#endif
53}
static const uint16_t hardCodedveRpmBins[16]

Referenced by setMaverickX3().

Here is the caller graph for this function:

Go to the source code of this file.