rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Structures | Functions
vvt.h File Reference

Data Structures

class  VvtController
 
struct  VvtController1
 
struct  VvtController2
 
struct  VvtController3
 
struct  VvtController4
 

Functions

void initVvtActuators ()
 
void startVvtControlPins ()
 
void stopVvtControlPins ()
 
OutputPingetVvtOutputPin (int index)
 

Function Documentation

◆ getVvtOutputPin()

OutputPin * getVvtOutputPin ( int  index)

Definition at line 153 of file vvt.cpp.

153 {
154 return &vvtPins[index];
155}
static OutputPin vvtPins[CAM_INPUTS_COUNT]
Definition vvt.cpp:150

Referenced by EnginePins::getOutputPinForBenchMode(), stopVvtControlPins(), turnVvtPidOn(), and vvtValveBench().

Here is the caller graph for this function:

◆ initVvtActuators()

void initVvtActuators ( )

Definition at line 190 of file vvt.cpp.

190 {
191
194
195
200
202}
constexpr auto & module()
Definition engine.h:200
void initTable(TValueInit(&table)[TRowNum][TColNum], const TXColumnInit(&columnBins)[TColNum], const TRowInit(&rowBins)[TRowNum])
static EngineAccessor engine
Definition engine.h:413
static constexpr persistent_config_s * config
int8_t vvtTable1[VVT_TABLE_SIZE][VVT_TABLE_RPM_SIZE]
int8_t vvtTable2[VVT_TABLE_SIZE][VVT_TABLE_RPM_SIZE]
void startVvtControlPins()
Definition vvt.cpp:178
static vvt_map_t vvtTable1
Definition vvt.cpp:17
static SimplePwm vvtPwms[CAM_INPUTS_COUNT]
Definition vvt.cpp:151
static vvt_map_t vvtTable2
Definition vvt.cpp:18

Referenced by commonInitEngineController().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ startVvtControlPins()

void startVvtControlPins ( )

Definition at line 178 of file vvt.cpp.

178 {
179 for (int i = 0;i <CAM_INPUTS_COUNT;i++) {
180 turnVvtPidOn(i);
181 }
182}
static void turnVvtPidOn(int index)
Definition vvt.cpp:165

Referenced by applyNewHardwareSettings(), and initVvtActuators().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stopVvtControlPins()

void stopVvtControlPins ( )

Definition at line 184 of file vvt.cpp.

184 {
185 for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
187 }
188}
void deInit()
Definition efi_gpio.cpp:802
OutputPin * getVvtOutputPin(int index)
Definition vvt.cpp:153

Referenced by stopHardware().

Here is the call graph for this function:
Here is the caller graph for this function:

Go to the source code of this file.