MCPcopy Create free account
hub / github.com/FastLED/FastLED / toString

Function toString

src/fl/channels/rx.h:177–187  ·  view source on GitHub ↗

* @brief Convert RxDeviceType to human-readable string * @param type RX device type * @return String name ("ISR" or "RMT") */

Source from the content-addressed store, hash-verified

175 * @return String name ("ISR" or "RMT")
176 */
177inline const char* toString(RxDeviceType type) FL_NOEXCEPT {
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}
188
189/**
190 * @brief Configuration for RX device initialization

Callers 1

FL_TEST_FILEFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected