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

◆ isReady()

bool fl::spi::DeviceImplBase::isReady ( ) const
inline

Check if device is ready.

Returns
true if initialized and backend is valid

Definition at line 32 of file device_impl_base.h.

32 {
33 return initialized && backend != nullptr;
34 }
bool initialized
Whether hardware is initialized.
fl::shared_ptr< SpiHwBase > backend
Polymorphic SPI hardware backend (SpiHw1/2/4/8)

References backend, and initialized.