|
using | vvt_map_t = Map3D< VVT_TABLE_RPM_SIZE, VVT_TABLE_SIZE, int8_t, uint16_t, uint16_t > |
|
◆ vvt_map_t
using vvt_map_t = Map3D<VVT_TABLE_RPM_SIZE, VVT_TABLE_SIZE, int8_t, uint16_t, uint16_t> |
◆ applyVvtPinState()
static void applyVvtPinState |
( |
int |
stateIndex, |
|
|
PwmConfig * |
state |
|
) |
| |
|
static |
Definition at line 157 of file vvt.cpp.
157 {
160 return;
161 }
162 state->applyPwmValue(output, stateIndex);
163}
const OutputPin * getOutputOnTheBenchTest()
Single output pin reference and state.
state("state", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1879, 1.0, -1.0, -1.0, "")
Referenced by turnVvtPidOn().
◆ getVvtOutputPin()
◆ initVvtActuators()
void initVvtActuators |
( |
| ) |
|
Definition at line 190 of file vvt.cpp.
190 {
191
194
195
200
202}
constexpr auto & module()
void initTable(TValueInit(&table)[TRowNum][TColNum], const TXColumnInit(&columnBins)[TColNum], const TRowInit(&rowBins)[TRowNum])
static EngineAccessor engine
static constexpr persistent_config_s * config
uint16_t vvtTable2RpmBins[VVT_TABLE_RPM_SIZE]
uint16_t vvtTable1LoadBins[VVT_TABLE_SIZE]
int8_t vvtTable1[VVT_TABLE_SIZE][VVT_TABLE_RPM_SIZE]
int8_t vvtTable2[VVT_TABLE_SIZE][VVT_TABLE_RPM_SIZE]
uint16_t vvtTable2LoadBins[VVT_TABLE_SIZE]
uint16_t vvtTable1RpmBins[VVT_TABLE_RPM_SIZE]
void startVvtControlPins()
static vvt_map_t vvtTable1
static SimplePwm vvtPwms[CAM_INPUTS_COUNT]
static vvt_map_t vvtTable2
Referenced by commonInitEngineController().
◆ shouldInvertVvt()
static bool shouldInvertVvt |
( |
int |
camIndex | ) |
|
|
static |
Definition at line 94 of file vvt.cpp.
94 {
95
96 switch (camIndex) {
99 }
100
101 return false;
102}
static constexpr engine_configuration_s * engineConfiguration
bool invertVvtControlExhaust
bool invertVvtControlIntake
Referenced by VvtController::getClosedLoop().
◆ startVvtControlPins()
void startVvtControlPins |
( |
| ) |
|
◆ stopVvtControlPins()
void stopVvtControlPins |
( |
| ) |
|
Definition at line 184 of file vvt.cpp.
184 {
185 for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
187 }
188}
OutputPin * getVvtOutputPin(int index)
Referenced by stopHardware().
◆ turnVvtPidOn()
static void turnVvtPidOn |
( |
int |
index | ) |
|
|
static |
Definition at line 165 of file vvt.cpp.
165 {
167 return;
168 }
169
176}
SingleTimerExecutor scheduler
bool isBrainPinValid(brain_pin_e brainPin)
void startSimplePwmExt(SimplePwm *state, const char *msg, Scheduler *executor, brain_pin_e brainPin, OutputPin *output, float frequency, float dutyCycle, pwm_gen_callback *callback)
output_pin_e vvtPins[CAM_INPUTS_COUNT]
pwm_freq_t vvtOutputFrequency
static const char * vvtOutputNames[CAM_INPUTS_COUNT]
static void applyVvtPinState(int stateIndex, PwmConfig *state)
Referenced by startVvtControlPins().
◆ vvtOutputNames
const char* vvtOutputNames[CAM_INPUTS_COUNT] |
|
static |
Initial value:= {
"Vvt Output#1",
#if CAM_INPUTS_COUNT > 1
"Vvt Output#2",
#endif
#if CAM_INPUTS_COUNT > 2
"Vvt Output#3",
#endif
#if CAM_INPUTS_COUNT > 3
"Vvt Output#4",
#endif
}
Definition at line 137 of file vvt.cpp.
137 {
138"Vvt Output#1",
139#if CAM_INPUTS_COUNT > 1
140"Vvt Output#2",
141#endif
142#if CAM_INPUTS_COUNT > 2
143"Vvt Output#3",
144#endif
145#if CAM_INPUTS_COUNT > 3
146"Vvt Output#4",
147#endif
148 };
Referenced by turnVvtPidOn().
◆ vvtPins
◆ vvtPwms
SimplePwm vvtPwms[CAM_INPUTS_COUNT] = { "VVT1", "VVT2", "VVT3", "VVT4" } |
|
static |
◆ vvtTable1
◆ vvtTable2
Go to the source code of this file.