FastLED 3.10.6
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 180 of file rx.h.

180 {
181 switch (type) {
182 case RxDeviceType::PLATFORM_DEFAULT: return "PLATFORM_DEFAULT";
183 case RxDeviceType::ISR: return "ISR";
184 case RxDeviceType::RMT: return "RMT";
185 case RxDeviceType::FLEXPWM: return "FLEXPWM";
186 case RxDeviceType::FLEXIO: return "FLEXIO";
187 case RxDeviceType::LPC_SCT_CAPTURE: return "LPC_SCT_CAPTURE";
188 case RxDeviceType::I2S_RX: return "I2S_RX";
189 case RxDeviceType::PARLIO_RX: return "PARLIO_RX";
190 case RxDeviceType::PIO: return "PIO";
191 }
192 return "UNKNOWN";
193}
@ I2S_RX
I2S 1-bit oversampling receiver (classic ESP32 — breaks the RMT one-shot 10-LED capture ceiling,...
Definition rx.h:172
@ LPC_SCT_CAPTURE
SCT input-capture + DMA receiver (LPC8xx). Skeleton + decoder land in #3015; bench-verified register-...
Definition rx.h:170
@ FLEXPWM
FlexPWM input-capture receiver (Teensy 4.x)
Definition rx.h:168
@ PIO
PIO receiver (RP2040/RP2350)
Definition rx.h:164
@ FLEXIO
FlexIO shifter-based receiver (Teensy 4.x, FLEXIO1; see FastLED#2764)
Definition rx.h:169
@ 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:165
@ RMT
RMT-based receiver (ESP32)
Definition rx.h:167
@ ISR
GPIO ISR-based receiver (ESP32)
Definition rx.h:166
@ PARLIO_RX
PARLIO 1-bit oversampling receiver (ESP32-C6 et al — FastLED#3586)
Definition rx.h:171

References FL_NO_EXCEPT, FLEXIO, FLEXPWM, I2S_RX, ISR, LPC_SCT_CAPTURE, PARLIO_RX, PIO, PLATFORM_DEFAULT, and RMT.