76#ifdef _CHIBIOS_RT_CONF_VER_6_1_
89 ((3 << SPI_CR1_BR_Pos) & SPI_CR1_BR) |
93 .cr2 = SPI_CR2_16BIT_MODE
96 { .port = GPIOD, .pad = 3 },
97 { .port = GPIOA, .pad = 9 },
98 { .port = GPIOD, .pad = 11 },
99 { .port = GPIOD, .pad = 10 }
108#ifdef _CHIBIOS_RT_CONF_VER_6_1_
121 ((3 << SPI_CR1_BR_Pos) & SPI_CR1_BR) |
125 .cr2 = SPI_CR2_16BIT_MODE
128 { .port = GPIOA, .pad = 8 },
129 { .port = GPIOD, .pad = 15 },
130 { .port = GPIOD, .pad = 2 },
131 { .port = GPIOD, .pad = 12 }
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)
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()
static OutputPin alphaTempPullUp
void boardOnConfigurationChange(engine_configuration_s *)
int getBoardMetaOutputsCount()
Gpio * getBoardMetaOutputs()
static void setInjectorPins()
static const tle9104_config tle9104_cfg[BOARD_TLE9104_COUNT]
int getBoardMetaLowSideOutputsCount()
static OutputPin alphaHall1PullUp
static void board_init_ext_gpios()
static OutputPin alphaHall4PullUp
static OutputPin alphaTachSelPullUp
static OutputPin alphaHall3PullUp
static OutputPin alphaHall2PullUp
static void alphax_silver_revA_boardDefaultConfiguration()
static void alphax_silver_revA_boardConfigOverrides()
static void alphax_silver_revA_boardInitHardware()
Board-specific initialization code.
void setHellenMegaEnPin(bool enableBoardOnStartUp)
static void enableHellenSpi3()
air_pressure_sensor_config_s sensor
air_pressure_sensor_type_e type
adc_channel_e tps1_1AdcChannel
vr_threshold_s vrThreshold[VR_THRESHOLD_COUNT]
output_pin_e injectionPins[MAX_CYLINDER_COUNT]
output_pin_e ignitionPins[MAX_CYLINDER_COUNT]
void initAll9104(const tle9104_config *configs)