| 117 | /// @endcode |
| 118 | template<typename... Spans> |
| 119 | WriteResult write(Spans&&... lanes) { |
| 120 | if (!device) { |
| 121 | return WriteResult("SPI device not initialized"); |
| 122 | } |
| 123 | return device->write(fl::forward<Spans>(lanes)...); |
| 124 | } |
| 125 | |
| 126 | /// @brief Wait for async write operation to complete |
| 127 | /// @param timeout_ms Maximum time to wait in milliseconds (default: wait forever) |
no test coverage detected