FastLED 3.10.8
Loading...
Searching...
No Matches
bus.h File Reference

Detailed Description

Portable compile-time identifiers for LED channel buses.

Definition in file bus.h.

#include "fl/channels/bus_features.h"
#include "fl/stl/noexcept.h"
#include "fl/stl/static_assert.h"
#include "fl/stl/stdint.h"
#include "platforms/is_platform.h"
+ Include dependency graph for bus.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::BusInstanceCount< B >
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Enumerations

enum class  fl::Bus : fl::u8 {
  fl::AUTO = 0 , fl::BIT_BANG , fl::UART , fl::SPI ,
  fl::DUAL_SPI , fl::QUAD_SPI , fl::OCTAL_SPI , fl::RMT ,
  fl::FLEX_IO
}
 Portable public bus selector. More...
 

Functions

const char * fl::busDriverName (Bus b, fl::u8 which=0, bool spi=false) FL_NO_EXCEPT
 Concrete ChannelManager driver name for a portable bus.
 
const char * fl::busName (Bus b, fl::u8 which=0) FL_NO_EXCEPT
 
 fl::FL_STATIC_ASSERT (static_cast< fl::u8 >(Bus::FLEX_IO)==8, "Bus changed: update busName() and busDriverName()")