FastLED 3.9.15
Loading...
Searching...
No Matches

◆ toString() [2/2]

const char * fl::toString ( RxDeviceType type)
inline

Convert RxDeviceType to human-readable string.

Parameters
typeRX device type
Returns
String name ("ISR" or "RMT")

Definition at line 177 of file rx.h.

177 {
178 switch (type) {
179 case RxDeviceType::PLATFORM_DEFAULT: return "PLATFORM_DEFAULT";
180 case RxDeviceType::ISR: return "ISR";
181 case RxDeviceType::RMT: return "RMT";
182 case RxDeviceType::FLEXPWM: return "FLEXPWM";
183 case RxDeviceType::FLEXIO: return "FLEXIO";
184 case RxDeviceType::LPC_SCT_CAPTURE: return "LPC_SCT_CAPTURE";
185 }
186 return "UNKNOWN";
187}
@ LPC_SCT_CAPTURE
SCT input-capture + DMA receiver (LPC8xx). Skeleton + decoder land in #3015; bench-verified register-...
Definition rx.h:169
@ FLEXPWM
FlexPWM input-capture receiver (Teensy 4.x)
Definition rx.h:167
@ FLEXIO
FlexIO shifter-based receiver (Teensy 4.x, FLEXIO1; see FastLED#2764)
Definition rx.h:168
@ PLATFORM_DEFAULT
Platform default (RMT on ESP32, FLEXPWM on Teensy 4.x; FLEXIO available as opt-in on Teensy 4 — see F...
Definition rx.h:164
@ RMT
RMT-based receiver (ESP32)
Definition rx.h:166
@ ISR
GPIO ISR-based receiver (ESP32)
Definition rx.h:165

References FL_NOEXCEPT, FLEXIO, FLEXPWM, ISR, LPC_SCT_CAPTURE, PLATFORM_DEFAULT, and RMT.

Referenced by runTest(), and setup().

+ Here is the caller graph for this function: