FastLED 3.10.6
Loading...
Searching...
No Matches

◆ busName()

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

Definition at line 153 of file bus.h.

153 {
154 (void)which;
155 switch (b) {
156 case Bus::AUTO: return "AUTO";
157 case Bus::BIT_BANG: return "BIT_BANG";
158 case Bus::UART: return "UART";
159 case Bus::SPI: return "SPI";
160 case Bus::DUAL_SPI: return "DUAL_SPI";
161 case Bus::QUAD_SPI: return "QUAD_SPI";
162 case Bus::OCTAL_SPI: return "OCTAL_SPI";
163 case Bus::RMT: return "RMT";
164 case Bus::FLEX_IO: return "FLEX_IO";
165 }
166 return "";
167}
@ FLEX_IO
Definition bus.h:36
@ DUAL_SPI
Definition bus.h:32
@ QUAD_SPI
Definition bus.h:33
@ SPI
Definition bus.h:31
@ OCTAL_SPI
Definition bus.h:34
@ BIT_BANG
Definition bus.h:29
@ RMT
Definition bus.h:35
@ UART
Definition bus.h:30
@ AUTO
Definition bus.h:28

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

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

+ Here is the caller graph for this function: