FastLED 3.10.10
Loading...
Searching...
No Matches

◆ busName()

const char * fl::busName ( Bus b,
fl::u8 which = 0 )
inline

Definition at line 176 of file bus.h.

176 {
177 (void)which;
178 switch (b) {
179 case Bus::AUTO: return "AUTO";
180 case Bus::BIT_BANG: return "BIT_BANG";
181 case Bus::UART: return "UART";
182 case Bus::SPI: return "SPI";
183 case Bus::DUAL_SPI: return "DUAL_SPI";
184 case Bus::QUAD_SPI: return "QUAD_SPI";
185 case Bus::OCTAL_SPI: return "OCTAL_SPI";
186 case Bus::RMT: return "RMT";
187 case Bus::FLEX_IO: return "FLEX_IO";
188 }
189 return "";
190}
@ FLEX_IO
Definition bus.h:40
@ DUAL_SPI
Definition bus.h:36
@ QUAD_SPI
Definition bus.h:37
@ SPI
Definition bus.h:35
@ OCTAL_SPI
Definition bus.h:38
@ BIT_BANG
Definition bus.h:33
@ RMT
Definition bus.h:39
@ UART
Definition bus.h:34
@ AUTO
Definition bus.h:32

References AUTO, BIT_BANG, DUAL_SPI, FL_NO_EXCEPT, FLEX_IO, OCTAL_SPI, QUAD_SPI, RMT, SPI, and UART.

Referenced by CFastLED::add(), busDriverName(), fl::detail::makeInfo(), and fl::detail::makeNoop().

+ Here is the caller graph for this function: