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

Functions

Gpio getWarningLedPin ()
 
Gpio getRunningLedPin ()
 
Gpio getCommsLedPin ()
 
static void cypressBoardDefaultConfiguration ()
 
void setAdcChannelOverrides ()
 
void setup_custom_board_overrides ()
 

Function Documentation

◆ cypressBoardDefaultConfiguration()

static void cypressBoardDefaultConfiguration ( )
static

!!!!!!!!!!!!!!!!!!

Definition at line 27 of file board_configuration.cpp.

27 {
29
30 setAlgorithm(engine_load_mode_e::LM_SPEED_DENSITY);
31
33 engineConfiguration->firingOrder = FO_1_3_4_2;
34
35 engineConfiguration->ignitionMode = IM_WASTED_SPARK;
37 engineConfiguration->injectionMode = IM_SIMULTANEOUS;
38
39 engineConfiguration->map.sensor.type = MT_MPX4250A;
40
43
45 // todo:
51
56
58
65
67
68#if 0
69
70 // todo:
71 int i;
72 for (i = 0; i < MAX_CYLINDER_COUNT; i++)
74 for (i = 0; i < MAX_CYLINDER_COUNT; i++)
76
79#endif
80
81 //!!!!!!!!!!!!!!!!!!!
82 //engineConfiguration->isFastAdcEnabled = false;
83}
@ Unassigned
void setCrankOperationMode()
static constexpr engine_configuration_s * engineConfiguration
void setAlgorithm(engine_load_mode_e algo)
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]
constexpr int convertVoltageTo10bitADC(float voltage)
Definition tps.h:21

Referenced by setup_custom_board_overrides().

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

◆ getCommsLedPin()

Gpio getCommsLedPin ( )

Definition at line 22 of file board_configuration.cpp.

22 {
23 // this board has no comms led
24 return Gpio::Unassigned;
25}

◆ getRunningLedPin()

Gpio getRunningLedPin ( )

Definition at line 18 of file board_configuration.cpp.

18 {
19 return Gpio::Unassigned;
20}

◆ getWarningLedPin()

Gpio getWarningLedPin ( )

Definition at line 13 of file board_configuration.cpp.

13 {
14 // this board has no warning led
15 return Gpio::Unassigned;
16}

◆ setAdcChannelOverrides()

void setAdcChannelOverrides ( void  )

Definition at line 85 of file board_configuration.cpp.

85 {
87}
void addAdcChannelForTrigger(void)

Referenced by configureInputs().

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

◆ setup_custom_board_overrides()

void setup_custom_board_overrides ( )

Definition at line 89 of file board_configuration.cpp.

89 {
91}
static void cypressBoardDefaultConfiguration()
std::optional< setup_custom_board_overrides_type > custom_board_ConfigOverrides
Here is the call graph for this function:

Go to the source code of this file.