◆ getAnalogInputDividerCoefficient()
Definition at line 112 of file board_configuration.cpp.
112 {
113 switch (hwChannel) {
114
115 case EFI_ADC_0:
116 case EFI_ADC_1:
117 case EFI_ADC_11:
118 case EFI_ADC_6:
119 return (22.0 + 41.2) / 41.2;
120
121
122 case EFI_ADC_3:
123 case EFI_ADC_14:
124
125
126 return 1.0;
127
128
129 case EFI_ADC_7:
130 case EFI_ADC_5:
131 case EFI_ADC_2:
132
133 return 1.0;
134
135
136 case EFI_ADC_9:
137 case EFI_ADC_8:
138 return (68.0 + 6.8) / 6.8;
139
140
141 case EFI_ADC_10:
142 return (10.0 + 10.0) / 10.0;
143
144
145 case EFI_ADC_12:
146 case EFI_ADC_13:
147
148 return 1.0;
149
150 default:
152 }
154}
static constexpr engine_configuration_s * engineConfiguration
float analogInputDividerCoefficient
◆ getCommsLedPin()
◆ getRunningLedPin()
Gpio getRunningLedPin |
( |
| ) |
|
◆ getWarningLedPin()
Gpio getWarningLedPin |
( |
| ) |
|
◆ s105_boardConfigOverrides()
static void s105_boardConfigOverrides |
( |
| ) |
|
|
static |
◆ s105_boardDefaultConfiguration()
static void s105_boardDefaultConfiguration |
( |
| ) |
|
|
static |
Definition at line 45 of file board_configuration.cpp.
45 {
48
51
52
53
58
62
64
67
71
73
81}
static void setIgnitionPins()
static void setInjectorPins()
air_pressure_sensor_config_s sensor
vehicle_info_t engineMake
pin_output_mode_e malfunctionIndicatorPinMode
adc_channel_e tps1_1AdcChannel
pin_output_mode_e mainRelayPinMode
ignition_mode_e ignitionMode
pin_output_mode_e tachOutputPinMode
pin_output_mode_e fanPinMode
injection_mode_e crankingInjectionMode
output_pin_e tachOutputPin
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]
output_pin_e malfunctionIndicatorPin
adc_channel_e mafAdcChannel
firing_order_e firingOrder
injection_mode_e injectionMode
vehicle_info_t engineCode
pin_output_mode_e solenoidPinMode
Referenced by setup_custom_board_overrides().
◆ setIgnitionPins()
static void setIgnitionPins |
( |
| ) |
|
|
static |
Definition at line 36 of file board_configuration.cpp.
36 {
41
43}
pin_output_mode_e ignitionPinMode
output_pin_e ignitionPins[MAX_CYLINDER_COUNT]
◆ setInjectorPins()
static void setInjectorPins |
( |
| ) |
|
|
static |
Board-specific configuration defaults.
Definition at line 13 of file board_configuration.cpp.
13 {
18
20}
output_pin_e injectionPins[MAX_CYLINDER_COUNT]
pin_output_mode_e injectionPinMode
◆ setup_custom_board_overrides()
void setup_custom_board_overrides |
( |
| ) |
|
Definition at line 156 of file board_configuration.cpp.
156 {
159}
std::optional< setup_custom_board_overrides_type > custom_board_ConfigOverrides
std::optional< setup_custom_board_overrides_type > custom_board_DefaultConfiguration
static void s105_boardDefaultConfiguration()
static void s105_boardConfigOverrides()
◆ setupVbatt()
static void setupVbatt |
( |
| ) |
|
|
static |
Go to the source code of this file.