vlfd-rs
vlfd-rs is a Rust driver for a VeriComm-compatible USB interface board.
This release redesigns the public API around explicit sessions:
Board: owns the USB connection and cached device stateIoSession: handles VeriComm FIFO transfersProgramSession: handles FPGA programming transfersProgrammer: convenience wrapper for bitstream upload flows
Features
- Pure-Rust USB transport powered by
nusb - Explicit board / I/O / programming session boundaries
- Reusable-buffer output APIs for lower-allocation I/O paths
- High-level configuration refresh and write helpers
- Bitstream upload support for the integrated FPGA programmer
- Hotplug callbacks powered by a
nusb-based polling watcher
Quick Start
use ;
Programming Example
use Path;
use ;
Installation
Add the crate to your Cargo.toml:
[]
= "2"
API Notes
- This is a breaking release; the old monolithic
DeviceAPI is removed - Transport remains blocking from the public API perspective
- Internally the USB layer uses
nusbandMaybeFuture::wait()
Benchmarking
License
Apache-2.0