59template<Bus B,
typename Chipset, u8 Which>
78template<
typename Chipset,
typename =
void>
81template<
typename Chipset>
85template<
typename Chipset>
91template<
typename Chipset>
98template<
typename Chipset>
105template<Bus B,
typename Chipset>
108 B != Bus::AUTO || HasDefaultBus<Chipset>::value> {};
110template<Bus B,
typename Chipset, u8 Which>
115template<Bus B,
typename Chipset, u8 Which>
123template<Bus B,
typename Chipset = ClocklessChipset, u8 Which = 0>
Portable compile-time identifiers for LED channel buses.
Per-driver traits keyed on fl::Bus.
bool empty() const FL_NO_EXCEPT
void push(DriverBinding &node) FL_NO_EXCEPT
Self-add a node. Idempotent: a node already listed is ignored.
bool bind(Bus bus, u8 which) FL_NO_EXCEPT
Bind (register) every node matching bus/which, or every node when bus is Bus::AUTO.
static DriverBindings & instance() FL_NO_EXCEPT
Process-wide list of enabled buses.
void bindDriverImpl(fl::true_type) FL_NO_EXCEPT
bool bindDefaultDriverImpl(fl::true_type) FL_NO_EXCEPT
bool bindDefaultDriver() FL_NO_EXCEPT
Bind the platform default driver for Chipset, if one exists.
Compile-time linker keep-alive hook for a single fl::Bus.
integral_constant< bool, true > true_type
integral_constant< bool, false > false_type
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Bus
Portable public bus selector.
void bindDriver() FL_NO_EXCEPT
Enable one bus for FastLED.add(cfg).
Base definition for an LED controller.
void(* bind)()
registers the driver with ChannelManager
One enabled bus. Static storage, linked intrusively; never heap.
Primary template — intentionally undefined.
static DriverBinding & node() FL_NO_EXCEPT
static void bind() FL_NO_EXCEPT
static constexpr Bus kBus
False only for Bus::AUTO on a platform with no DefaultBus<Chipset>: there is no bus to name,...
True when the platform specializes DefaultBus<Chipset>.
enable_clockless<Traits>() only for the clockless chipset family.