FastLED 3.9.15
Loading...
Searching...
No Matches
wait_spin_budget.cpp.hpp File Reference

Detailed Description

Storage and accessors for the tiered-wait spin budget (#2818).

Definition in file wait_spin_budget.cpp.hpp.

+ Include dependency graph for wait_spin_budget.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::detail
 Compile-time linker keep-alive hook for a single fl::Bus.
 
namespace  fl::detail::anonymous_namespace{wait_spin_budget.cpp.hpp}
 

Macros

#define FASTLED_WAIT_SPIN_BUDGET_US   250
 Default microsecond spin budget for the channel wait loops.
 

Functions

fl::u32 fl::detail::getWaitSpinBudgetUs () FL_NOEXCEPT
 Get the current tiered-wait spin budget (microseconds).
 
void fl::detail::setWaitSpinBudgetUs (fl::u32 budget_us) FL_NOEXCEPT
 Set the tiered-wait spin budget (microseconds).
 

Variables

fl::atomic< fl::u32 > fl::detail::anonymous_namespace{wait_spin_budget.cpp.hpp}::sWaitSpinBudgetUs {FASTLED_WAIT_SPIN_BUDGET_US}