![]() |
Speeduino
|
#include <rev_time_calcs.h>
Public Attributes | |
| uint32_t | lastToothTime |
| uint32_t | prevToothTime |
| uint32_t | lastToothOneTime |
| uint32_t | prevToothOneTime |
| uint32_t | startRevolutions |
| uint16_t | toothAngle |
| SyncStatus | syncStatus |
Tooth timestamps copied in one critical section, so a 32-bit read cannot tear and the pair cannot split.
| uint32_t decoders::shared::tooth_speed_sample_t::lastToothOneTime |
| uint32_t decoders::shared::tooth_speed_sample_t::lastToothTime |
| uint32_t decoders::shared::tooth_speed_sample_t::prevToothOneTime |
| uint32_t decoders::shared::tooth_speed_sample_t::prevToothTime |
| uint32_t decoders::shared::tooth_speed_sample_t::startRevolutions |
| SyncStatus decoders::shared::tooth_speed_sample_t::syncStatus |
| uint16_t decoders::shared::tooth_speed_sample_t::toothAngle |