FastLED 3.9.15
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:
38 }
40}
static fl::shared_ptr< RxDevice > create(int pin) FL_NOEXCEPT
Template factory method to create RX device by type.
@ LPC_SCT_CAPTURE
LPC8xx SCT input-capture + DMA edge backend (LPC845 et al). Capture path is a skeleton until follow-u...
Definition types.h:14
@ FLEXPWM
Teensy 4.x-only FlexPWM capture backend.
Definition types.h:12
@ FLEXIO
Teensy 4.x-only FlexIO capture backend (FLEXIO1 — FLEXIO2 is owned by the WS2812 TX driver)....
Definition types.h:13
@ PLATFORM_DEFAULT
Use the recommended backend for the active platform (RMT on ESP32; FlexPWM on Teensy 4....
Definition types.h:9
@ RMT
ESP32-only RMT capture backend.
Definition types.h:10
@ ISR
Platform-neutral interrupt-driven edge capture backend when available.
Definition types.h:11
RxBackend backend
Definition config.h:14

References fl::RxDevice::create(), createBackendDevice(), FL_NOEXCEPT, fl::FLEXIO, fl::FLEXPWM, fl::ISR, fl::LPC_SCT_CAPTURE, 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: