FastLED 3.10.6
Loading...
Searching...
No Matches

◆ createBackendDevice()

static fl::shared_ptr< RxDevice > fl::anonymous_namespace{channel.cpp.hpp}::createBackendDevice ( const RxChannelConfig & config)
static

Definition at line 24 of file channel.cpp.hpp.

24 {
25 switch (config.backend) {
28 case RxBackend::RMT:
30 case RxBackend::ISR:
42 case RxBackend::PIO:
44 }
46}
static fl::shared_ptr< RxDevice > create(int pin) FL_NO_EXCEPT
Template factory method to create RX device by type.
@ I2S_RX
Classic-ESP32 I2S 1-bit oversampling backend — DMA sampling at 16 MHz, capture length limited by RAM ...
Definition types.h:17
@ LPC_SCT_CAPTURE
LPC8xx SCT input-capture + DMA edge backend (LPC845 et al). Capture path is a skeleton until follow-u...
Definition types.h:15
@ FLEXPWM
Teensy 4.x-only FlexPWM capture backend.
Definition types.h:13
@ PIO
RP2040/RP2350 PIO receive backend.
Definition types.h:9
@ FLEXIO
Teensy 4.x-only FlexIO capture backend (FLEXIO1 — FLEXIO2 is owned by the WS2812 TX driver)....
Definition types.h:14
@ PLATFORM_DEFAULT
Use the recommended backend for the active platform (RMT on ESP32; FlexPWM on Teensy 4....
Definition types.h:10
@ RMT
ESP32-only RMT capture backend.
Definition types.h:11
@ ISR
Platform-neutral interrupt-driven edge capture backend when available.
Definition types.h:12
@ PARLIO_RX
PARLIO 1-bit oversampling backend (ESP32-C6 et al) — DMA sampling at 16 MHz with no per-edge interrup...
Definition types.h:16
RxBackend backend
Definition config.h:14

References fl::RxDevice::create(), createBackendDevice(), fl::FL_NO_EXCEPT, fl::FLEXIO, fl::FLEXPWM, fl::I2S_RX, fl::ISR, fl::LPC_SCT_CAPTURE, fl::PARLIO_RX, fl::PIO, fl::PLATFORM_DEFAULT, and fl::RMT.

Referenced by createBackendDevice().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: