A crank angle calculator that computes a temporal adjustment based on when the tooth was last detected.
More...
#include <crank_angle_calculator.h>
A crank angle calculator that computes a temporal adjustment based on when the tooth was last detected.
◆ last_tooth_rev_calculator_t() [1/2]
| last_tooth_rev_calculator_t::last_tooth_rev_calculator_t |
( |
| ) |
|
|
protecteddefault |
◆ last_tooth_rev_calculator_t() [2/2]
| last_tooth_rev_calculator_t::last_tooth_rev_calculator_t |
( |
uint32_t |
toothLastToothTime | ) |
|
|
explicitprotected |
◆ calculate()
| int16_t last_tooth_rev_calculator_t::calculate |
( |
uint32_t |
currMicros | ) |
const |
|
protected |
◆ _toothLastToothTime
| uint32_t last_tooth_rev_calculator_t::_toothLastToothTime = 0 |
Time in µS that the current tooth was last detected.
The documentation for this struct was generated from the following files: