Speeduino
Loading...
Searching...
No Matches
Public Member Functions | List of all members
simple_crank_angle_calculator_t Struct Reference

#include <crank_angle_calculator.h>

Inheritance diagram for simple_crank_angle_calculator_t:
last_tooth_rev_calculator_t sequential_correction_calculator_t

Public Member Functions

int16_t calculateCrankAngle (int16_t initialCrankAngle, uint32_t currMicros, const config4 &page4) const
 

Additional Inherited Members

- Public Attributes inherited from last_tooth_rev_calculator_t
uint32_t _toothLastToothTime = 0
 Time in µS that the current tooth was last detected.
 
- Public Attributes inherited from sequential_correction_calculator_t
bool _revZeroOrOne = false
 When calculating over 720°, tells the calculator if we are in the 1st revolution (false) or the 2nd (true)
 
- Protected Member Functions inherited from last_tooth_rev_calculator_t
 last_tooth_rev_calculator_t ()=default
 
 last_tooth_rev_calculator_t (uint32_t toothLastToothTime)
 
int16_t calculate (uint32_t currMicros) const
 
- Protected Member Functions inherited from sequential_correction_calculator_t
 sequential_correction_calculator_t ()=default
 
 sequential_correction_calculator_t (bool revZeroOrOne)
 
int16_t calculate (const config4 &page4) const
 

Member Function Documentation

◆ calculateCrankAngle()

int16_t simple_crank_angle_calculator_t::calculateCrankAngle ( int16_t  initialCrankAngle,
uint32_t  currMicros,
const config4 &  page4 
) const

The documentation for this struct was generated from the following files: