FastLED 3.10.8
Loading...
Searching...
No Matches
validation.h File Reference
#include "fl/stl/vector.h"
#include "fl/stl/string.h"
#include "fl/stl/optional.h"
#include "fl/stl/int.h"
#include "fl/stl/noexcept.h"
#include "fl/channels/rx/types.h"
+ Include dependency graph for validation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::DriverTestResult
 Driver test result tracking (moved from ValidationTest.h) More...
 
struct  fl::SingleTestConfig
 Single test configuration - fully stateless. More...
 
struct  fl::SingleTestResult
 Single test result - comprehensive pass/fail information. More...
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::validation
 

Functions

size_t fl::validation::captureEdgeCapacity (size_t shared_buffer_bytes, size_t expected_data_bytes, RxBackend backend) FL_NO_EXCEPT
 Compute the RX edge-buffer capacity for a validation frame.
 
bool fl::validation::isWholeCaptureFrame (size_t run_count, bool lead_run_is_low, u32 lead_run_ns, u32 idle_threshold_ns, size_t min_frame_runs) FL_NO_EXCEPT
 Whether an oversampled capture holds a whole frame, not a fragment.
 
RxBackend fl::validation::resolveCaptureBackend (RxBackend requested_backend, bool has_explicit_override, bool is_parlio_driver, bool is_esp32_c6) FL_NO_EXCEPT
 Select the independent capture backend used by AutoResearch.
 
size_t fl::validation::rpPioMaxWireBytes (size_t edge_capacity, size_t dma_tail_words, u32 samples_per_dma_word, u32 sample_period_ns, u32 idle_tail_ns, u32 arming_lead_in_ns, u32 bit_period_ns) FL_NO_EXCEPT
 Largest frame, in wire bytes, an RP PIO RX capture can hold.
 
SingleTestResult fl::runSingleValidationTest (const SingleTestConfig &config) FL_NO_EXCEPT
 Run a single stateless validation test.
 
bool fl::validation::useRmtInternalLoopback (bool is_rmt_driver, int tx_pin, int rx_pin) FL_NO_EXCEPT
 Whether an RMT validation capture should use ESP-IDF loopback.