Speeduino
Loading...
Searching...
No Matches
Public Attributes | List of all members
decoders::shared::tooth_speed_sample_t Struct Reference

#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
 

Detailed Description

Tooth timestamps copied in one critical section, so a 32-bit read cannot tear and the pair cannot split.

Member Data Documentation

◆ lastToothOneTime

uint32_t decoders::shared::tooth_speed_sample_t::lastToothOneTime

◆ lastToothTime

uint32_t decoders::shared::tooth_speed_sample_t::lastToothTime

◆ prevToothOneTime

uint32_t decoders::shared::tooth_speed_sample_t::prevToothOneTime

◆ prevToothTime

uint32_t decoders::shared::tooth_speed_sample_t::prevToothTime

◆ startRevolutions

uint32_t decoders::shared::tooth_speed_sample_t::startRevolutions

◆ syncStatus

SyncStatus decoders::shared::tooth_speed_sample_t::syncStatus

◆ toothAngle

uint16_t decoders::shared::tooth_speed_sample_t::toothAngle

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