-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefinition.txt
67 lines (67 loc) · 1.77 KB
/
definition.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
device
register
name: "reg 1"
address: 0x0001
value: 0-255
bitfields: {
bitfield
name: "bit 0"
pos: 0
width: 1
bitfield
name: "bits 1-2"
pos: 1
width: 2
bitfield
name: "bits 3-7"
pos: 3
width: 5
}
register
name: "reg 2"
address: 0x0002
value: 0-255
bitfields: {
bitfield
name: "slider"
pos: 0
width: 8
}
register
name: "reg 3"
address: 0x0003
value: 0-255
bitfields: {
bitfield
name: "bit 0"
pos: 0
width: 1
bitfield
name: "bits 1"
pos: 1
width: 1
bitfield
name: "bits 2"
pos: 2
width: 1
bitfield
name: "bit 3"
pos: 3
width: 1
bitfield
name: "bits 4"
pos: 4
width: 1
bitfield
name: "bit 5"
pos: 5
width: 1
bitfield
name: "bits 6"
pos: 6
width: 1
bitfield
name: "bit 7"
pos: 7
width: 1
}