FastLED 3.10.8
Loading...
Searching...
No Matches

◆ gPowerModel()

static PowerModelRGB & gPowerModel ( )
static

Global RGB power model (initialized to WS2812 @ 5V defaults, linear response)

Definition at line 51 of file power_mgt.cpp.hpp.

51 {
52 // Constant-initialized (constexpr constructor, trivial destructor), so it
53 // needs neither Singleton's lazy placement-new nor a guard: there is no
54 // initialization order to protect and nothing to destroy.
55 static PowerModelRGB model;
56 return model;
57}
RGB LED power consumption model Used for standard 3-channel LEDs (WS2812, WS2812B,...
Definition power_mgt.h:30

References FL_NO_EXCEPT.

Referenced by apply_rgb_power_model(), calculate_unscaled_emitter_power_mW(), calculate_unscaled_power_mW(), calculate_unscaled_power_mW(), dither_reserve_mW(), emitter_power_weights(), fixed_power_mW(), get_power_model(), get_power_scaling_exponent(), and set_power_scaling_exponent().

+ Here is the caller graph for this function: