File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,6 +69,32 @@ R = Read Only
6969RD = Read Disabled
7070W = Write
7171```
72+ #### values / codes
73+ there are two main purposes for this column.
74+ 1 . defines possible values / ranges of values for protocol validation / safety
75+ for example:
76+ ``` 0~100 ```
77+
78+ 2 . defines the values for flag data types, such as 16BIT_FLAGS; any data type can be used.
79+ the format for these flags is json. these flags / codes can also be defined via the .json file by naming them as such:
80+ "{{document_name}}_ codes"
81+
82+ ##### Bit Flag Example
83+ ```
84+ {"b0" : "StandBy", "b1" : "On"}
85+ ```
86+
87+ ##### MultiBit Flag Example
88+ Some protocols utilize combinations of bits as flags.
89+ ```
90+ {"b0" : "StandBy", "b0&b1" : "Operational", "b1" : "Error" }
91+ ```
92+
93+
94+ ##### uint / bits / other
95+ ```
96+ {"75" : "Error", "50": "Warning"}
97+ ````
7298
7399
74100
You can’t perform that action at this time.
0 commit comments