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

A crank angle calculator that computes a revolution adjustment. More...

#include <crank_angle_calculator.h>

Inheritance diagram for sequential_correction_calculator_t:
compute_crank_angle_calculator_tooth_interval_t lookup_crank_angle_calculator_t lookup_crank_angle_calculator_tooth_interval_t simple_crank_angle_calculator_t trigger_angle_crank_angle_calculator_t

Public Attributes

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

 sequential_correction_calculator_t ()=default
 
 sequential_correction_calculator_t (bool revZeroOrOne)
 
int16_t calculate (const config4 &page4) const
 

Detailed Description

A crank angle calculator that computes a revolution adjustment.

Constructor & Destructor Documentation

◆ sequential_correction_calculator_t() [1/2]

sequential_correction_calculator_t::sequential_correction_calculator_t ( )
protecteddefault

◆ sequential_correction_calculator_t() [2/2]

sequential_correction_calculator_t::sequential_correction_calculator_t ( bool  revZeroOrOne)
explicitprotected

Member Function Documentation

◆ calculate()

int16_t sequential_correction_calculator_t::calculate ( const config4 &  page4) const
protected

Member Data Documentation

◆ _revZeroOrOne

bool sequential_correction_calculator_t::_revZeroOrOne = false

When calculating over 720°, tells the calculator if we are in the 1st revolution (false) or the 2nd (true)


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