|
using | vvt_map_t = Map3D< VVT_TABLE_SIZE, VVT_TABLE_SIZE, int8_t, uint16_t, uint16_t > |
|
◆ vvt_map_t
using vvt_map_t = Map3D<VVT_TABLE_SIZE, VVT_TABLE_SIZE, int8_t, uint16_t, uint16_t> |
◆ applyVvtPinState()
static void applyVvtPinState |
( |
int |
stateIndex, |
|
|
PwmConfig * |
state |
|
) |
| |
|
static |
Definition at line 159 of file vvt.cpp.
159 {
162 return;
163 }
164 state->applyPwmValue(output, stateIndex);
165}
const OutputPin * getOutputOnTheBenchTest()
Single output pin reference and state.
state("state", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1871, 1.0, -1.0, -1.0, "")
Referenced by turnVvtPidOn().
◆ getVvtOutputPin()
◆ initVvtActuators()
void initVvtActuators |
( |
| ) |
|
Definition at line 192 of file vvt.cpp.
192 {
193
196
197
202
204}
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 vvtTable1RpmBins[VVT_TABLE_SIZE]
uint16_t vvtTable1LoadBins[VVT_TABLE_SIZE]
uint16_t vvtTable2RpmBins[VVT_TABLE_SIZE]
int8_t vvtTable1[VVT_TABLE_SIZE][VVT_TABLE_SIZE]
int8_t vvtTable2[VVT_TABLE_SIZE][VVT_TABLE_SIZE]
uint16_t vvtTable2LoadBins[VVT_TABLE_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 96 of file vvt.cpp.
96 {
97
98 switch (camIndex) {
101 }
102
103 return false;
104}
static constexpr engine_configuration_s * engineConfiguration
bool invertVvtControlExhaust
bool invertVvtControlIntake
Referenced by VvtController::getClosedLoop().
◆ startVvtControlPins()
void startVvtControlPins |
( |
| ) |
|
◆ stopVvtControlPins()
void stopVvtControlPins |
( |
| ) |
|
Definition at line 186 of file vvt.cpp.
186 {
187 for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
189 }
190}
OutputPin * getVvtOutputPin(int index)
Referenced by stopHardware().
◆ turnVvtPidOn()
static void turnVvtPidOn |
( |
int |
index | ) |
|
|
static |
Definition at line 167 of file vvt.cpp.
167 {
169 return;
170 }
171
178}
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 139 of file vvt.cpp.
139 {
140"Vvt Output#1",
141#if CAM_INPUTS_COUNT > 1
142"Vvt Output#2",
143#endif
144#if CAM_INPUTS_COUNT > 2
145"Vvt Output#3",
146#endif
147#if CAM_INPUTS_COUNT > 3
148"Vvt Output#4",
149#endif
150 };
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.