diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-11-07 10:33:58 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-11-07 10:33:58 -0500 |
| commit | 4158981e549db6c5cc626cfd6d244c85485f5612 (patch) | |
| tree | 749addefa29e66514f9ed9597f0b2d482ca06981 /fw/table.h | |
| parent | f88c088264f17e681b938cb3542ba0846b791fca (diff) | |
| download | can-gauge-interface-4158981e549db6c5cc626cfd6d244c85485f5612.zip | |
respond to Signal Control REMOTE FRAME
Diffstat (limited to 'fw/table.h')
| -rw-r--r-- | fw/table.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,11 +1,17 @@ /* Table datastructure for storing calibrations in the EEPROM. * * A table has a fixed number of rows that define a key/value mapping. - * Keys and values are each U32. - * T: U32->U32 + * Keys and values are 32-bit and 16-bit respectively. + * + * Keys may be signed or unsigned; whether they are interpreted as + * signed or unsigned when they are read depends on the context. They + * must be monotonically increasing down the table. + * + * Values are unsigned 16-bit integers. + * * Numbers are stored little-endian. * - * Keys must be monotonically increasing. + * See also: doc/datafmt.pdf * * Device: PIC16F1459 * Compiler: XC8 v3.00 |