FastLED 3.10.8
Loading...
Searching...
No Matches
fl::spi::DeviceImplBase Struct Reference

Detailed Description

Common functionality for device implementation (pImpl pattern)

Provides shared state and helper methods used by both MultiLaneDevice and ParallelDevice implementations

Definition at line 19 of file device_impl_base.h.

#include <device_impl_base.h>

+ Inheritance diagram for fl::spi::DeviceImplBase:
+ Collaboration diagram for fl::spi::DeviceImplBase:

Public Member Functions

 DeviceImplBase () FL_NO_EXCEPT
 Constructor.
 
void clearBackend () FL_NO_EXCEPT
 Clear backend state.
 
bool hasBackend () const FL_NO_EXCEPT
 Validate backend pointer.
 
bool isReady () const FL_NO_EXCEPT
 Check if device is ready.
 

Public Attributes

fl::shared_ptr< SpiHwBase > backend
 Polymorphic SPI hardware backend (SpiHw1/2/4/8)
 
bool initialized
 Whether hardware is initialized.
 
bool owns_backend
 Whether this device owns the backend (for cleanup)
 

The documentation for this struct was generated from the following file: