FastLED 3.9.15
Loading...
Searching...
No Matches

◆ Impl()

fl::spi::Device::Impl::Impl ( const Config & cfg)
inlineexplicit

Constructor.

Definition at line 42 of file impl.h.

43 : config(cfg)
44 , bus_handle()
45 , initialized(false)
46 , async_state{false, nullptr, nullptr, 0, 0}
47 , hw_backend(nullptr)
48 , owns_backend(false) {}
bool owns_backend
True if this Device owns the hw_backend (SINGLE_SPI mode)
Definition impl.h:39
struct fl::spi::Device::Impl::AsyncState async_state
SPIBusHandle bus_handle
Handle from SPIBusManager.
Definition impl.h:21
fl::shared_ptr< SpiHwBase > hw_backend
Platform-specific backend pointer (for single-lane SPI)
Definition impl.h:36
Config config
Device configuration.
Definition impl.h:20
bool initialized
Whether hardware is initialized.
Definition impl.h:22

References async_state, bus_handle, config, hw_backend, initialized, and owns_backend.