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

◆ Impl()

fl::spi::Transaction::Impl::Impl ( Device * dev)
inlineexplicit

Constructor.

Definition at line 78 of file impl.h.

79 : device(dev)
80 , completed(false)
81 , cancelled(false)
82 , result(fl::nullopt) // nullopt = success
84#ifdef FL_IS_ESP32
85 , notify_task(nullptr)
86#endif
87 {}
constexpr nullopt_t nullopt
Definition optional.h:13
static constexpr T max() FL_NOEXCEPT
Definition limits.h:108
Device * device
Back-reference to device.
Definition impl.h:66
bool completed
Whether transaction has completed.
Definition impl.h:67
bool cancelled
Whether transaction was cancelled.
Definition impl.h:68
fl::optional< fl::task::Error > result
Result of the transaction (nullopt = success)
Definition impl.h:69
u32 timeout_ms
Timeout value in milliseconds.
Definition impl.h:70

References cancelled, completed, fl::spi::Transaction::Device, device, fl::max(), fl::nullopt, result, and timeout_ms.

+ Here is the call graph for this function: