Lane(size_t lane_id, MultiLaneDevice *parent)
Construct lane (called by MultiLaneDevice)
size_t bufferSize() const
Get current buffer size.
void clear()
Clear the lane's buffer.
friend class MultiLaneDevice
void write(const u8 *data, size_t size)
Write data to this lane's buffer.
fl::span< u8 > getBuffer(size_t size)
Get direct buffer access for zero-copy writes.
fl::span< const u8 > data() const
Get const access to buffer data.
size_t id() const
Get lane ID.
Multi-lane SPI device (1-8 independent LED strips)
Base definition for an LED controller.