rusEFI
The most advanced open source ECU
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 56 of file canam_canned.cpp.

56  {
57 #if (BOOST_LOAD_COUNT == 8) && (BOOST_RPM_COUNT == 8)
58  static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0};
59  copyArray(config->boostRpmBins, hardCodedboostRpmBins);
60 #endif
61 }
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 73 of file canam_canned.cpp.

73  {
74  static const float hardCodedcltCrankingCorr[8] = {1.0, 1.0, 1.0, 0.8, 0.8, 0.8, 0.8, 0.8};
75  copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr);
76 }

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedcltIdleCorr()

static void cannedcltIdleCorr ( )
static

Definition at line 68 of file canam_canned.cpp.

68  {
69  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};
71 }
static const float hardCodedcltIdleCorr[16]

Referenced by commonGenesisCoupe(), and setMaverickX3().

Here is the caller graph for this function:

◆ cannedcltIdleRpm()

static void cannedcltIdleRpm ( )
static

Definition at line 18 of file canam_canned.cpp.

18  {
19  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};
21 }
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 8 of file canam_canned.cpp.

8  {
9  static const float hardCodeddwellVoltageCorrValues[8] = {1.26, 1.2, 1.16, 1.1, 1.06, 1.0, 0.9, 0.8};
10  copyArray(config->dwellVoltageCorrValues, hardCodeddwellVoltageCorrValues);
11 }
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 23 of file canam_canned.cpp.

23  {
24  static const float hardCodedidleAdvance[8] = {10.0, 10.571428, 11.142858, 11.714286, 12.285714, 12.857142, 13.428572, 14.0};
25  copyArray(config->idleAdvance, hardCodedidleAdvance);
26 }

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedidleAdvanceBins()

static void cannedidleAdvanceBins ( )
static

Definition at line 13 of file canam_canned.cpp.

13  {
14  static const float hardCodedidleAdvanceBins[8] = {600.0, 800.0, 1000.0, 1200.0, 1400.0, 1600.0, 1800.0, 2000.0};
15  copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins);
16 }
scaled_channel< uint8_t, 1, 50 > idleAdvanceBins[IDLE_ADVANCE_CURVE_SIZE]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedignitionLoadBins()

static void cannedignitionLoadBins ( )
static

Definition at line 35 of file canam_canned.cpp.

35  {
36 #if (IGN_RPM_COUNT == DEFAULT_IGN_RPM_COUNT) && (IGN_LOAD_COUNT == DEFAULT_IGN_LOAD_COUNT)
37  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};
39 #endif
40 }
static const float hardCodedignitionLoadBins[16]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedignitionRpmBins()

static void cannedignitionRpmBins ( )
static

Definition at line 28 of file canam_canned.cpp.

28  {
29 #if (IGN_RPM_COUNT == DEFAULT_IGN_RPM_COUNT) && (IGN_LOAD_COUNT == DEFAULT_IGN_LOAD_COUNT)
30  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};
32 #endif
33 }
static const float hardCodedignitionRpmBins[16]

Referenced by setMaverickX3().

Here is the caller graph for this function:

◆ cannedpedalToTpsRpmBins()

static void cannedpedalToTpsRpmBins ( )
static

Definition at line 63 of file canam_canned.cpp.

63  {
64  static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0};
65  copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins);
66 }
scaled_channel< uint8_t, 1, 100 > pedalToTpsRpmBins[PEDAL_TO_TPS_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  static const float hardCodedsparkDwellValues[8] = {4.0, 3.3, 3.2, 3.1, 3.05, 2.97, 2.88, 2.8};
5  copyArray(config->sparkDwellValues, hardCodedsparkDwellValues);
6 }
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 49 of file canam_canned.cpp.

49  {
50 #if (IGN_LOAD_COUNT == DEFAULT_IGN_LOAD_COUNT) && (IGN_RPM_COUNT == DEFAULT_IGN_RPM_COUNT)
51  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};
53 #endif
54 }
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 42 of file canam_canned.cpp.

42  {
43 #if (IGN_LOAD_COUNT == DEFAULT_IGN_LOAD_COUNT) && (IGN_RPM_COUNT == DEFAULT_IGN_RPM_COUNT)
44  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};
45  copyArray(config->veRpmBins, hardCodedveRpmBins);
46 #endif
47 }
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.