colorlight/params.rs
1//! Sub-indices of the type-0x05 real-time parameter packs.
2//!
3//! Each pack is `[0x05, 0x00, 0x00, sub]` + a 256-byte body, the same blocks
4//! the boot image carries (`docs/compiled-image-format.md`). Framing is done
5//! by the CLI's `Pack` (`cli/src/params.rs`).
6
7/// Basic-parameter pack (`GetBasicParam`).
8pub const SUB_BASIC: u8 = 0x00;
9/// Chip-register pack (record 0x84 verbatim).
10pub const SUB_CHIP: u8 = 0x01;
11/// Data-swap pack (`GetDataSwapEx2ParamPack`).
12pub const SUB_DATA_SWAP: u8 = 0x02;