Skip to main content

Crate receivers

Crate receivers 

Source
Expand description

Receiving-card models as data. Each config/cards/<name>.toml describes one card: how discovery identifies it, what it can drive, where its flash holds firmware and parameters, and how far it has been tested. The files are embedded at build time; nothing here reads the filesystem.

Modules§

firmware
The firmware manifest, config/firmware.toml: the vendor images under third-party/firmware by name, version, kind, size and sha256. Embedded at build time like the card models.

Structs§

BootImage
Region offsets inside the parameter block, and the two limits the vendor applies there.
CardModel
One receiving card.
Firmware
How firmware images are named and installed.
Guard
Blocks a firmware version range guards from the host path.
Limits
What the card can drive, as its specification states it.
Memory
The flash map: banks by address, the parameter block by index.
Tested
One panel driven on a bench with the card.
Version
A firmware version as the card reports it, major.minor.

Enums§

Status
How far the model has been exercised.

Functions§

by_id
The model whose discovery id byte is id; None when no file carries it. A model file without an id matches nothing.
by_name
The model called name, case-insensitively.
default_model
The first tested model: what offline generation targets when no card is named.
models
Every embedded model: tested first, then by name.