20enum class SPIError :
u8;
Single-channel SPI device interface (TX-only, transaction-based, optimized for FastLED)
Transaction() FL_NOEXCEPT
fl::unique_ptr< Impl > pImpl
bool cancel()
Cancel pending transaction (if supported by platform)
bool isPending() const
Check if transaction is still in progress.
Transaction(Transaction &&other) FL_NOEXCEPT
~Transaction()
Destructor - automatically waits for completion.
Transaction & operator=(Transaction &&other) FL_NOEXCEPT
bool isDone() const
Check if transaction is complete.
fl::optional< fl::task::Error > getResult() const
Get result of completed transaction.
bool wait(u32 timeout_ms=(fl::numeric_limits< u32 >::max)())
Wait for transaction to complete.
fl::result< T, SPIError > Result
expected< T, E > result
Alias for expected (Rust-style naming)
Base definition for an LED controller.
Promise-based fluent API for FastLED - standalone async primitives.
result<T, E> type alias for fl::expected (Rust-style naming)
static constexpr T max() FL_NOEXCEPT
Private implementation data for Transaction class.