Skip to main content

Crate panelspec

Crate panelspec 

Source
Expand description

A panel spec (config/panels/*.toml) and the driver-chip library it names (config/chips/*.toml). Nothing here knows a receiver card’s record or image layout; rcvbp turns a spec into Colorlight’s formats.

Re-exports§

pub use chips::ChipLibrary;
pub use chips::ScanPatch;

Modules§

chips
Driver-chip library (config/chips/*.toml).
embedded
The chip libraries and panel specs under config/, embedded at build time as (path, text) pairs.

Structs§

Boot
Chip
Color
Current
Mapping
How the module’s pixels are wired into the card’s scan-line buffer (record 0x03). The vendor corpus shows two knobs beyond geometry.
Meta
The [meta] table: the evidence behind the values and how far they are trusted. Every field has a default, so a spec without the table counts as derived from no file at all.
Module
PanelSpec
Screen
Timing

Enums§

Status
The evidence behind a spec or a chip library.

Constants§

RECORD01_LEN
Payload length of record 0x01, the bound on record01_overrides keys.

Functions§

read_library
The filesystem loader: the file at the path, relative to the working directory.

Type Aliases§

Loader
Maps a spec’s [chip].library path to the library’s TOML text: the filesystem for the CLI, an embedded set in the browser.