попытки запустится до 1 МГц
This commit is contained in:
@@ -15,13 +15,17 @@ class Measurement {
|
||||
const StageStats &stats() const { return stats_; }
|
||||
private:
|
||||
void fail(FailReason reason);
|
||||
void completeWindow();
|
||||
PulseReceiver &receiver_;
|
||||
MeasureState state_ = MeasureState::IDLE;
|
||||
StageStats stats_ = {};
|
||||
float expectedHz_ = 0, expectedDuty_ = 0, tolerance_ = 0;
|
||||
PeriodLimits limits_ = {};
|
||||
uint32_t expectedHz_ = 0;
|
||||
uint32_t timeMs_ = 0;
|
||||
uint8_t repeats_ = 0, settleLeft_ = 0;
|
||||
uint64_t measurementStartTick_ = 0, deadlineTick_ = 0, repeatTicks_ = 0;
|
||||
uint8_t repeats_ = 0, settleLeft_ = 0, currentRepeat_ = 0;
|
||||
uint64_t measurementStartTick_ = 0, deadlineTick_ = 0, repeatTicks_ = 0, nextRepeatTick_ = 0;
|
||||
uint32_t startedMs_ = 0, measurementStartMs_ = 0, lastPeriodMs_ = 0;
|
||||
uint32_t expectedPeriodMs_ = 1;
|
||||
uint32_t repeatPeriods_[10] = {};
|
||||
PulsePeriod periodBatch_[PERIOD_BATCH_SIZE] = {};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user