rusEFI
The most advanced open source ECU
Data Structures | Enumerations | Functions
dynoview.h File Reference

Data Structures

class  DynoView
 

Enumerations

enum  vssSrc { ICU = 0 , CAN }
 

Functions

void updateDynoView ()
 
void updateDynoViewCan ()
 
float getDynoviewAcceleration ()
 
int getDynoviewPower ()
 

Enumeration Type Documentation

◆ vssSrc

enum vssSrc
Enumerator
ICU 
CAN 

Definition at line 16 of file dynoview.h.

16  {
17  ICU = 0,
18  CAN,
19 }vssSrc;
vssSrc
Definition: dynoview.h:16
@ CAN
Definition: dynoview.h:18
@ ICU
Definition: dynoview.h:17

Function Documentation

◆ getDynoviewAcceleration()

float getDynoviewAcceleration ( )

Definition at line 134 of file dynoview.cpp.

134  {
135  return dynoInstance.getAcceleration();
136 }
float getAcceleration()
Definition: dynoview.cpp:113
static DynoView dynoInstance
Definition: dynoview.cpp:13

Referenced by updateTunerStudioState().

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

◆ getDynoviewPower()

int getDynoviewPower ( )

Definition at line 138 of file dynoview.cpp.

138  {
139  return dynoInstance.getEnginePower();
140 }
int getEnginePower()
Definition: dynoview.cpp:121
Here is the call graph for this function:

◆ updateDynoView()

void updateDynoView ( )

Periodic update function called from SlowCallback. Only updates if we have Vss from input pin.

Definition at line 146 of file dynoview.cpp.

146  {
150  }
151 }
void update(vssSrc src)
Definition: dynoview.cpp:15
engine_configuration_s * engineConfiguration
bool isBrainPinValid(brain_pin_e brainPin)

Referenced by Engine::periodicSlowCallback().

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

◆ updateDynoViewCan()

void updateDynoViewCan ( )

This function is called after every CAN msg received, we process it as soon as we can to be more acurate.

Definition at line 157 of file dynoview.cpp.

157  {
159  return;
160  }
161 
163 }

Referenced by processCanRxVss().

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

Go to the source code of this file.