54#ifdef _CHIBIOS_RT_CONF_VER_6_1_
64 .cr1 = TLE9201_CONFIG_CR1,
65 .cr2 = TLE9201_CONFIG_CR2
87 setupTLE9201(Gpio::H144_OUT_PWM2, Gpio::H144_OUT_PWM3, Gpio::H144_OUT_IO12);
90 setupTLE9201(Gpio::H144_OUT_PWM4, Gpio::H144_OUT_PWM5, Gpio::H144_OUT_IO13, 1);
116#ifndef EFI_BOOTLOADER
153#ifdef _CHIBIOS_RT_CONF_VER_6_1_
168 ((0b110 << SPI_CR1_BR_Pos) & SPI_CR1_BR) |
171 .cr2 = SPI_CR2_16BIT_MODE
175 [0] = {.port = GPIOG, .pad = 7},
176 [1] = {.port = GPIOG, .pad = 8},
177 [2] = {.port = GPIOD, .pad = 11},
178 [3] = {.port = GPIOD, .pad = 10},
180 [4] = {.port = GPIOG, .pad = 5},
181 [5] = {.port = GPIOD, .pad = 2},
182 [6] = {.port = GPIOG, .pad = 11},
183 [7] = {.port = GPIOG, .pad = 2},
185 .en = {.port = GPIOG, .pad = 9},
187 .sck = {.port = GPIOC, .pad = 10},
196 spi3CsWastegate.
initPin(
"spi3-cs-wg", Gpio::H144_GP_IO6);
206 efiPrintf(
"*****************+ tle9201_add %d +*******************", retTle);
208 #if (BOARD_MC33810_COUNT > 0)
213 efiPrintf(
"*****************+ mc33810_add %d +*******************", ret);
215 efiPrintf(
"**********------------- mc33810 not configured yet ------------************");
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 engine_configuration_s * engineConfiguration
static void setupDefaultSensorInputs()
static void setIgnitionPins()
int getBoardMetaOutputsCount()
Gpio * getBoardMetaOutputs()
static void setInjectorPins()
int getBoardMetaLowSideOutputsCount()
int getBoardMetaDcOutputsCount()
static void hellen154hyundai_f7_boardInitHardware()
static void hellen154hyundai_f7_boardDefaultConfiguration()
Board-specific configuration defaults.
static struct tle9201_config tle9201
static const struct mc33810_config mc33810
static void hellen154hyundai_f7_boardConfigOverrides()
void setHellenMegaEnPin(bool enableBoardOnStartUp)
static void enableHellenSpi3()
int mc33810_add(brain_pin_e base, unsigned int index, const mc33810_config *cfg)
MC33810 driver add.
bool gpio_pin_markUsed(ioportid_t port, ioportmask_t pin, const char *msg)
air_pressure_sensor_config_s sensor
switch_input_pin_e clutchUpPin
brain_input_pin_e vehicleSpeedSensorInputPin
dc_function_e etbFunctions[ETB_COUNT]
bool stepperDcInvertedPins
output_pin_e mainRelayPin
vvt_mode_e vvtMode[CAMS_PER_BANK]
output_pin_e injectionPins[MAX_CYLINDER_COUNT]
switch_input_pin_e acSwitch
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]
output_pin_e malfunctionIndicatorPin
switch_input_pin_e brakePedalPin
brain_input_pin_e camInputs[CAM_INPUTS_COUNT]
output_pin_e ignitionPins[MAX_CYLINDER_COUNT]
ThermistorConf oilTempSensor
void setCommonNTCSensor(ThermistorConf *thermistorConf, float pullup)
int tle9201_add(unsigned int index, const tle9201_config *cfg)
TLE9201 driver add.