58 setPPSInputs(MM176_IN_PPS1_ANALOG, MM176_IN_PPS2_ANALOG);
116 setupTLE9201(Gpio::MM176_OUT_PWM9, Gpio::MM176_GP6, Gpio::MM176_GP7);
117 setupTLE9201(Gpio::MM176_OUT_PWM18, Gpio::MM176_GP10, Gpio::MM176_GP11, 1);
150 palEnableLineEvent(PAL_LINE(GPIOD, 0), PAL_EVENT_MODE_RISING_EDGE);
178 Gpio::MM176_OUT_PWM1,
185 Gpio::MM176_OUT_PWM2,
186 Gpio::MM176_OUT_IO13,
188 Gpio::MM176_OUT_PWM6,
190 Gpio::MM176_OUT_PWM3,
191 Gpio::MM176_OUT_PWM4,
192 Gpio::MM176_OUT_PWM5,
194 Gpio::MM176_OUT_PWM7,
204 Gpio::MM176_OUT_PWM8,
268 case MM176_IN_TPS_ANALOG:
269 case MM176_IN_TPS2_ANALOG:
270 case MM176_IN_PPS1_ANALOG:
271 case MM176_IN_PPS2_ANALOG:
272 case MM176_IN_IAT_ANALOG:
273 case MM176_IN_AT1_ANALOG:
274 case MM176_IN_CLT_ANALOG:
275 case MM176_IN_AT2_ANALOG:
278 case MM176_IN_MAP1_ANALOG:
279 case MM176_IN_MAP2_ANALOG:
280 case MM176_IN_AUX1_ANALOG:
281 case MM176_IN_AUX2_ANALOG:
282 case MM176_IN_AUX3_ANALOG:
283 case MM176_IN_AUX4_ANALOG:
void setup_custom_board_overrides()
std::optional< setup_custom_board_overrides_type > custom_board_InitHardware
Single output pin reference and state.
void initPin(const char *msg, brain_pin_e brainPin, pin_output_mode_e outputMode, bool forceInitWithFatalError=false)
void setValue(const char *msg, int logicValue, bool isForce=false)
void setPPSInputs(adc_channel_e pps1, adc_channel_e pps2)
void setTPS1Inputs(adc_channel_e tps1, adc_channel_e tps2)
void setupTLE9201(Gpio controlPin, Gpio direction, Gpio disable, int dcIndex)
std::optional< setup_custom_board_overrides_type > custom_board_ConfigOverrides
std::optional< setup_custom_board_overrides_type > custom_board_DefaultConfiguration
static constexpr persistent_config_s * config
static constexpr engine_configuration_s * engineConfiguration
static OutputPin alphaCrankPPullUp
static void setupDefaultSensorInputs()
static void setIgnitionPins()
void boardPrepareForStop()
void boardOnConfigurationChange(engine_configuration_s *)
int getBoardMetaOutputsCount()
Gpio * getBoardMetaOutputs()
static void setInjectorPins()
int getBoardMetaLowSideOutputsCount()
static OutputPin tempPullUp
int getBoardMetaDcOutputsCount()
static OutputPin alphaHall2PullDown
static OutputPin alphaHall5PullDown
static void alphax_8chan_defaultConfiguration()
Board-specific configuration defaults.
static OutputPin alphaHall3PullDown
int boardGetAnalogInputDiagnostic(adc_channel_e hwChannel, float voltage)
static OutputPin alphaFlexPullDown
static void alphax_8chan_boardInitHardware()
static OutputPin alphaHall1PullDown
static OutputPin alphaHall4PullDown
static Gpio OUTPUTS_GM_GEN4[]
static void alphax_8chan_boardConfigOverrides()
ObdCode boardGetAnalogDiagnostic()
void setHellenEnPin(Gpio pin, bool enableBoardOnStartUp)
air_pressure_sensor_type_e type
pin_input_mode_e clutchDownPinMode
ignition_mode_e ignitionMode
vr_threshold_s vrThreshold[VR_THRESHOLD_COUNT]
tps_limit_t tps1SecondaryMax
switch_input_pin_e clutchDownPin
launchActivationMode_e launchActivationMode
output_pin_e mainRelayPin
vvt_mode_e vvtMode[CAMS_PER_BANK]
air_pressure_sensor_config_s baroSensor
output_pin_e injectionPins[MAX_CYLINDER_COUNT]
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]
output_pin_e malfunctionIndicatorPin
firing_order_e firingOrder
tps_limit_t tps1SecondaryMin
brain_input_pin_e camInputs[CAM_INPUTS_COUNT]
output_pin_e ignitionPins[MAX_CYLINDER_COUNT]
bool boardUseFlexPullDown