Crates.io | jedec |
lib.rs | jedec |
version | 0.1.0 |
source | src |
created_at | 2018-01-17 20:40:56.743952 |
updated_at | 2022-02-22 02:15:02.089133 |
description | A library for working with JEDEC programming files |
homepage | |
repository | https://github.com/rqou/rust-jedec |
max_upload_size | |
id | 47225 |
size | 30,276 |
Parse and write .jed
files for PAL/GAL/CPLD devices. Compatible with no_std
.
let parsed = JEDECFile::from_bytes(..., &Quirks::new()).unwrap();
// access bits
parsed.f.get(...);
let mut jed = JEDECFile::new(100);
jed.header = Cow::Borrowed(b"File written by example tool\n");
jed.f.set(12345, true);
jed.write_io(..., &Quirks::new()).unwrap();