jedec

Crates.iojedec
lib.rsjedec
version0.1.0
sourcesrc
created_at2018-01-17 20:40:56.743952
updated_at2022-02-22 02:15:02.089133
descriptionA library for working with JEDEC programming files
homepage
repositoryhttps://github.com/rqou/rust-jedec
max_upload_size
id47225
size30,276
R (ArcaneNibble)

documentation

README

Crates.io Docs.rs

JEDEC programming file parser/writer

Parse and write .jed files for PAL/GAL/CPLD devices. Compatible with no_std.

Parsing

let parsed = JEDECFile::from_bytes(..., &Quirks::new()).unwrap();

// access bits
parsed.f.get(...);

Writing

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();
Commit count: 16

cargo fmt