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 155 of file vvt.cpp.

155 {
156 return &vvtPins[index];
157}
static OutputPin vvtPins[CAM_INPUTS_COUNT]
Definition vvt.cpp:152

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

Here is the caller graph for this function:

◆ initVvtActuators()

void initVvtActuators ( )

Definition at line 192 of file vvt.cpp.

192 {
193
196
197
202
204}
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
void startVvtControlPins()
Definition vvt.cpp:180
static vvt_map_t vvtTable1
Definition vvt.cpp:19
static SimplePwm vvtPwms[CAM_INPUTS_COUNT]
Definition vvt.cpp:153
static vvt_map_t vvtTable2
Definition vvt.cpp:20

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 180 of file vvt.cpp.

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

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 186 of file vvt.cpp.

186 {
187 for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
189 }
190}
void deInit()
Definition efi_gpio.cpp:802
OutputPin * getVvtOutputPin(int index)
Definition vvt.cpp:155

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.