|
FastLED 3.10.8
|
| void fl::channels::rx::Ws2812StreamDecoder::reset | ( | const ChipsetTiming4Phase & | stream_timing, |
| u32 | ns_per_tick_q16, | ||
| fl::span< u8 > | out, | ||
| fl::span< EdgeTime > | diag_edges ) |
Start a frame.
stream_timing classifies bits while capturing. out receives decoded bytes and must outlive the frame; diag_edges (may be empty) receives the first edges for getRawEdgeTimes() diagnostics.
Definition at line 96 of file ws2812_stream_decoder.cpp.hpp.
References fl::FL_NO_EXCEPT, mBitCount, mBitPos, mCalibrated, mCurByte, mDiag, mDiagCount, mEdgeIndex, mExceptionCount, mFlushed, mHavePrev, mHighMax, mHighMin, mHighSamples, mMidpoint, mNsPerTickQ16, mOut, mPartialWritten, mPendingCount, mPrevFall, mPrevRise, mStarted, mStats, and mTiming.