waaraawa_ByteGrid/examples/mixed-bit-byte.yaml
waaraawa 4d5cd4e289 feat(core): add legend position and footer control options
- Add legendPosition option (right, left, bottom, none) to control legend placement
  - Add showFooter option to show/hide footer info
  - Support both config (YAML) and render options for flexibility
  - Fix legend overlapping issue when positioned at bottom
  - Maintain backward compatibility with showLegend option
2025-10-14 11:19:33 +09:00

24 lines
529 B
YAML

name: Mixed Bit and Byte Offsets
size: 32b
layout: 32b
fields:
- offset: 0-3b
name: Version
type: bits
description: "4 bits with b suffix"
color: blue
- offset: 4-7b
name: IHL
type: bits
description: "4 bits with b suffix"
color: cyan
- offset: 1B
name: SecondByte
type: uint8_t
description: "Byte 1 with B suffix (= bits 8-15)"
color: yellow
- offset: 2-3
name: ThirdFourthByte
type: uint16_t
description: "Bytes 2-3 no suffix (= bits 16-31)"
color: green