File: union_with_condition.yaml

package info (click to toggle)
dtfabric 20240211-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 868 kB
  • sloc: python: 5,785; sh: 24; makefile: 19
file content (24 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# dtFabric format specification.
---
name: uint16
type: integer
attributes:
  format: unsigned
  size: 2
  units: bytes
---
name: uint32
type: integer
attributes:
  format: unsigned
  size: 4
  units: bytes
---
name: union_with_condition
type: union
members:
- name: flags
  data_type: uint16
- name: long
  data_type: uint32
  condition: union_with_condition.flags & 0x8000 != 0