FastLED 3.10.8
Loading...
Searching...
No Matches
fl::validation Namespace Reference

Functions

size_t 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.
 
string formatSummaryTable (const fl::vector< fl::DriverTestResult > &driver_results) FL_NO_EXCEPT
 Format driver validation results as a summary table.
 
bool 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.
 
void printEngineValidation () FL_NO_EXCEPT
 Print validation results (logs registered drivers and status)
 
void printSummaryTable (const fl::vector< fl::DriverTestResult > &driver_results) FL_NO_EXCEPT
 Print driver validation summary table to log.
 
RxBackend 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 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.
 
bool testRxChannel (fl::shared_ptr< fl::RxChannel > rx_channel, int pin_tx, int pin_rx, u32 hz, size_t buffer_size) FL_NO_EXCEPT
 Test RX channel with manual GPIO toggle pattern.
 
bool useRmtInternalLoopback (bool is_rmt_driver, int tx_pin, int rx_pin) FL_NO_EXCEPT
 Whether an RMT validation capture should use ESP-IDF loopback.
 
bool validateExpectedEngines () FL_NO_EXCEPT
 Validate that at least one driver is registered with ChannelManager.