Expand description
A library for reading and writing Saleae Logic 2 binary capture data
§Example
use saleae_importer::SaleaeExport;
let data = SaleaeExport::open("digital_0.bin").unwrap();
for (is_high, time_len) in data.assume_digital().iter_samples() {
println!("bit state: {is_high} | time: {time_len}");
}
Structs§
- Analog
Data - The data for analog capture exports
- Digital
Data - The data for digital captures exported by saleae logic 2
- Saleae
Export - A binary representing data parsed from a Saleae Logic 2 digital.bin export file
- Sample
Iter - An iterator over the sample data returning pairs of (bool, f64) representing whether the sample is high (true) or low (false) as well as the length of the sample