From faca0506c59c31dc1496bd54e8276f4d2c3d5d08 Mon Sep 17 00:00:00 2001 From: gab-k Date: Tue, 26 Nov 2024 16:27:45 +0000 Subject: [PATCH] deploy: 12b45b9da3093d0087d9c7c4d8792b1875d5c1b6 --- html/CV_8h_source.html | 1223 ++++++++++++ html/annotated.html | 104 + html/bc_s.png | Bin 0 -> 676 bytes html/bc_sd.png | Bin 0 -> 635 bytes html/classes.html | 109 ++ html/clipboard.js | 61 + html/closed.png | Bin 0 -> 132 bytes html/cookie.js | 58 + html/core0_8h.html | 632 ++++++ html/core0_8h_source.html | 183 ++ html/core1_8h.html | 170 ++ html/core1_8h_source.html | 187 ++ html/doc.svg | 12 + html/docd.svg | 12 + html/doxygen.css | 2247 ++++++++++++++++++++++ html/doxygen.svg | 28 + html/doxygen_crawl.html | 93 + html/dynsections.js | 198 ++ html/files.html | 105 + html/folderclosed.svg | 11 + html/folderclosedd.svg | 11 + html/folderopen.svg | 17 + html/folderopend.svg | 12 + html/functions.html | 100 + html/functions_vars.html | 100 + html/globals.html | 112 ++ html/globals_func.html | 111 ++ html/globals_vars.html | 97 + html/index.html | 98 + html/jquery.js | 204 ++ html/md_README.html | 125 ++ html/menu.js | 134 ++ html/menudata.js | 39 + html/minus.svg | 8 + html/minusd.svg | 8 + html/nav_f.png | Bin 0 -> 153 bytes html/nav_fd.png | Bin 0 -> 169 bytes html/nav_g.png | Bin 0 -> 95 bytes html/nav_h.png | Bin 0 -> 98 bytes html/nav_hd.png | Bin 0 -> 114 bytes html/navtree.css | 149 ++ html/open.png | Bin 0 -> 123 bytes html/pages.html | 102 + html/plus.svg | 9 + html/plusd.svg | 9 + html/resize.js | 147 ++ html/search/all_0.js | 5 + html/search/all_1.js | 8 + html/search/all_2.js | 4 + html/search/all_3.js | 4 + html/search/all_4.js | 5 + html/search/all_5.js | 6 + html/search/all_6.js | 4 + html/search/all_7.js | 5 + html/search/all_8.js | 6 + html/search/all_9.js | 4 + html/search/all_a.js | 8 + html/search/all_b.js | 6 + html/search/all_c.js | 5 + html/search/all_d.js | 4 + html/search/classes_0.js | 4 + html/search/classes_1.js | 4 + html/search/classes_2.js | 4 + html/search/close.svg | 18 + html/search/files_0.js | 5 + html/search/files_1.js | 4 + html/search/functions_0.js | 5 + html/search/functions_1.js | 4 + html/search/functions_2.js | 4 + html/search/functions_3.js | 6 + html/search/functions_4.js | 4 + html/search/functions_5.js | 4 + html/search/functions_6.js | 6 + html/search/functions_7.js | 5 + html/search/functions_8.js | 4 + html/search/mag.svg | 24 + html/search/mag_d.svg | 24 + html/search/mag_sel.svg | 31 + html/search/mag_seld.svg | 31 + html/search/pages_0.js | 4 + html/search/pages_1.js | 4 + html/search/search.css | 291 +++ html/search/search.js | 694 +++++++ html/search/searchdata.js | 30 + html/search/variables_0.js | 4 + html/search/variables_1.js | 5 + html/search/variables_2.js | 4 + html/search/variables_3.js | 4 + html/shared_8h.html | 280 +++ html/shared_8h_source.html | 167 ++ html/splitbar.png | Bin 0 -> 314 bytes html/splitbard.png | Bin 0 -> 282 bytes html/structcontroller__parameter__t.html | 205 ++ html/structpid__parameters__t.html | 175 ++ html/structstartup__parameters__t.html | 115 ++ html/sync_off.png | Bin 0 -> 853 bytes html/sync_on.png | Bin 0 -> 845 bytes html/tab_a.png | Bin 0 -> 142 bytes html/tab_ad.png | Bin 0 -> 135 bytes html/tab_b.png | Bin 0 -> 169 bytes html/tab_bd.png | Bin 0 -> 173 bytes html/tab_h.png | Bin 0 -> 177 bytes html/tab_hd.png | Bin 0 -> 180 bytes html/tab_s.png | Bin 0 -> 184 bytes html/tab_sd.png | Bin 0 -> 188 bytes html/tabs.css | 1 + 106 files changed, 9273 insertions(+) create mode 100644 html/CV_8h_source.html create mode 100644 html/annotated.html create mode 100644 html/bc_s.png create mode 100644 html/bc_sd.png create mode 100644 html/classes.html create mode 100644 html/clipboard.js create mode 100644 html/closed.png create mode 100644 html/cookie.js create mode 100644 html/core0_8h.html create mode 100644 html/core0_8h_source.html create mode 100644 html/core1_8h.html create mode 100644 html/core1_8h_source.html create mode 100644 html/doc.svg create mode 100644 html/docd.svg create mode 100644 html/doxygen.css create mode 100644 html/doxygen.svg create mode 100644 html/doxygen_crawl.html create mode 100644 html/dynsections.js create mode 100644 html/files.html create mode 100644 html/folderclosed.svg create mode 100644 html/folderclosedd.svg create mode 100644 html/folderopen.svg create mode 100644 html/folderopend.svg create mode 100644 html/functions.html create mode 100644 html/functions_vars.html create mode 100644 html/globals.html create mode 100644 html/globals_func.html create mode 100644 html/globals_vars.html create mode 100644 html/index.html create mode 100644 html/jquery.js create mode 100644 html/md_README.html create mode 100644 html/menu.js create mode 100644 html/menudata.js create mode 100644 html/minus.svg create mode 100644 html/minusd.svg create mode 100644 html/nav_f.png create mode 100644 html/nav_fd.png create mode 100644 html/nav_g.png create mode 100644 html/nav_h.png create mode 100644 html/nav_hd.png create mode 100644 html/navtree.css create mode 100644 html/open.png create mode 100644 html/pages.html create mode 100644 html/plus.svg create mode 100644 html/plusd.svg create mode 100644 html/resize.js create mode 100644 html/search/all_0.js create mode 100644 html/search/all_1.js create mode 100644 html/search/all_2.js create mode 100644 html/search/all_3.js create mode 100644 html/search/all_4.js create mode 100644 html/search/all_5.js create mode 100644 html/search/all_6.js create mode 100644 html/search/all_7.js create mode 100644 html/search/all_8.js create mode 100644 html/search/all_9.js create mode 100644 html/search/all_a.js create mode 100644 html/search/all_b.js create mode 100644 html/search/all_c.js create mode 100644 html/search/all_d.js create mode 100644 html/search/classes_0.js create mode 100644 html/search/classes_1.js create mode 100644 html/search/classes_2.js create mode 100644 html/search/close.svg create mode 100644 html/search/files_0.js create mode 100644 html/search/files_1.js create mode 100644 html/search/functions_0.js create mode 100644 html/search/functions_1.js create mode 100644 html/search/functions_2.js create mode 100644 html/search/functions_3.js create mode 100644 html/search/functions_4.js create mode 100644 html/search/functions_5.js create mode 100644 html/search/functions_6.js create mode 100644 html/search/functions_7.js create mode 100644 html/search/functions_8.js create mode 100644 html/search/mag.svg create mode 100644 html/search/mag_d.svg create mode 100644 html/search/mag_sel.svg create mode 100644 html/search/mag_seld.svg create mode 100644 html/search/pages_0.js create mode 100644 html/search/pages_1.js create mode 100644 html/search/search.css create mode 100644 html/search/search.js create mode 100644 html/search/searchdata.js create mode 100644 html/search/variables_0.js create mode 100644 html/search/variables_1.js create mode 100644 html/search/variables_2.js create mode 100644 html/search/variables_3.js create mode 100644 html/shared_8h.html create mode 100644 html/shared_8h_source.html create mode 100644 html/splitbar.png create mode 100644 html/splitbard.png create mode 100644 html/structcontroller__parameter__t.html create mode 100644 html/structpid__parameters__t.html create mode 100644 html/structstartup__parameters__t.html create mode 100644 html/sync_off.png create mode 100644 html/sync_on.png create mode 100644 html/tab_a.png create mode 100644 html/tab_ad.png create mode 100644 html/tab_b.png create mode 100644 html/tab_bd.png create mode 100644 html/tab_h.png create mode 100644 html/tab_hd.png create mode 100644 html/tab_s.png create mode 100644 html/tab_sd.png create mode 100644 html/tabs.css diff --git a/html/CV_8h_source.html b/html/CV_8h_source.html new file mode 100644 index 0000000..17d5b02 --- /dev/null +++ b/html/CV_8h_source.html @@ -0,0 +1,1223 @@ + + + + + + + +RP2040-Decoder: CV.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
CV.h
+
+
+
1#pragma once
+
2#include "pico/stdlib.h"
+
3
+
4#define CV_ARRAY_SIZE 1024
+
5// All CVs are 8-bit numbers ranging from (0 - 255)dec = (0b00000000 - 0b11111111)bin = (0x00 - 0xFF)hex
+
6// Note : CV_1 = index 0, CV_2 = index 1, CV_3 = index 2, ...
+
7
+
8// Explicitly write CV_ARRAY_DEFAULT with into flash memory using __in_flash attribute macro
+
9uint8_t __in_flash("Default_CV_values") CV_ARRAY_DEFAULT [CV_ARRAY_SIZE] = {
+
10 0b00000011, //CV_1 - Basic address - CV_1 = 0 and CV_1 > 127 are not valid - Default = 3
+
11 0b00001000, //CV_2 - V_min - Default = 8
+
13 // 0 == Fastest dec/acc rate; 255 == slowest;
+
14 0b00000000, //CV_3 - Acceleration rate - CV_3*CV_175 = Time for one discrete speed step change in ms
+
15 0b00000000, //CV_4 - Deceleration rate - CV_4*CV_175 = Time for one discrete speed step change in ms
+
17 0b01100100, //CV_5 - V_max - Default = 100*16
+
18 0b00111111, //CV_6 - V_mid - Default = 63*16
+
19 0b00000001, //CV_7 - Version no. (read-only)
+
20 // Writing a value of 8 to CV_8 resets all CV values to the default values in CV.h
+
21 0b00001101, //CV_8 - Manufacturer (13 = Public Domain & Do-It-Yourself Decoders) (read-only)
+
22 0b10010110, //CV_9 - PWM frequency in Hz = CV_9*100+10000 - Default = (150*100+10000)Hz = 25kHz
+
23 0b00000001, //CV_10 -
+
24 0b11111111, //CV_11 - Packet timeout in seconds
+
25 0b00000100, //CV_12 - Permitted operating modes
+
26 0b00000000, //CV_13 -
+
27 0b00000000, //CV_14 -
+
28 0b00000000, //CV_15 -
+
29 0b00000000, //CV_16 -
+
30 0b11000011, //CV_17 - Extended/Long 14-Bit address (Bits 8 to 13)
+
31 0b11101000, //CV_18 - Extended/Long 14-Bit address (Bits 0 to 7)
+
32 0b00000000, //CV_19 -
+
33 0b00000000, //CV_20 -
+
34 0b00000000, //CV_21 -
+
35 0b00000000, //CV_22 -
+
36 0b00000000, //CV_23 -
+
37 0b00000000, //CV_24 -
+
38 0b00000000, //CV_25 -
+
39 0b00000000, //CV_26 -
+
40 0b00000000, //CV_27 -
+
41 0b00000000, //CV_28 -
+
43 //Bit_1, Bit_2, Bit_3, Bit_4, Bit_6 are currently not in use and therefore irrelevant.
+
44 //Bit_0 is used to reverse direction i.e. 0 = normal; 1 = reverse
+
45 //Bit_5 switches between basic and extended address i.e. 0 = basic address 1 = extended address
+
46 0b00000000, //CV_29 - Decoder Configuration
+
48 0b00000000, //CV_30 -
+
49 0b00010000, //CV_31 - Extended CV pointer Bits 8-15
+
50 0b00000000, //CV_32 - Extended CV pointer Bits 0-7
+
51 0b00000000, //CV_33 -
+
52 0b00000000, //CV_34 -
+
53 0b00000000, //CV_35 -
+
54 0b00000000, //CV_36 -
+
55 0b00000000, //CV_37 -
+
56 0b00000000, //CV_38 -
+
57 0b00000000, //CV_39 -
+
58 0b00000000, //CV_40 -
+
59 0b00000000, //CV_41 -
+
60 0b00000000, //CV_42 -
+
61 0b00000000, //CV_43 -
+
62 0b00000000, //CV_44 -
+
63 0b00000000, //CV_45 -
+
64 0b00000000, //CV_46 -
+
65 // Speed controller - Configuration ////////////////////////////////////////////////////////////////////////////////
+
66 0b00110010, //CV_47 - Feed-forward gain k_ff = CV_47/10000 Default = 50 -> 0.005 //
+
67 0b00001010, //CV_48 - PID Control low pass filter time constant (tau) in ms //
+
68 0b00000101, //CV_49 - PID Control sampling time t in ms //
+
69 0b00011001, //CV_50 - PID Control I_Factor = CV_50/10 Default = 25 -> 2.5 //
+
70 0b00110010, //CV_51 - PID Control D_Factor = CV_51/10000 Default = 50 -> 0.005 //
+
71 0b01100100, //CV_52 - PID Integral Limit positive = CV_52*10 Default = 100 -> +1000 //
+
72 0b01100100, //CV_53 - PID Integral Limit negative = CV_53*(-10) Default = 100 -> -1000 //
+
73 0b00000111, //CV_54 - k_p @ x0 - High Byte (Bits 8-15) divided by 100 //
+
74 0b11010000, //CV_55 - k_p @ x0 - Low Byte (Bits 0-7) Default = 2000 -> 20 //
+
75 0b00000000, //CV_56 - k_p @ x1 - High Byte (Bits 8-15) divided by 100 //
+
76 0b11111010, //CV_57 - k_p @ x1 - Low Byte (Bits 0-7) Default = 250 -> 2.5 //
+
77 0b00000000, //CV_58 - k_p @ x2 - High Byte (Bits 8-15) divided by 100 //
+
78 0b10010110, //CV_59 - k_p @ x2 - Low Byte (Bits 0-7) Default = 150 -> 1.5 //
+
79 0b00001101, //CV_60 - x_1 shift in % = CV_60/255 //
+
80 // V_EMF Measurement Configuration //////////////////////////////////////////////////////////////////////////////////
+
81 0b01100100, //CV_61 - V_EMF Total amount of Measurement Iterations - Default = 100 iterations //
+
82 0b01100100, //CV_62 - V_EMF Delay before Measuring - Default = 100us //
+
83 // CV_63 and CV_64 are used to determine how many elements of the sorted measurement array will be discarded //
+
84 // For Example: CV_63 = x and CV_64 = y //
+
85 // -> The x smallest values will be discarded. //
+
86 // -> The y largest values will be discarded. //
+
87 0b00001111, //CV_63 - l_side_arr_cutoff - Default = 15 //
+
88 0b00001111, //CV_64 - r_side_arr_cutoff - Default = 15 //
+
90 0b00000000, //CV_65 - Values > 0 indicate that flash is still in factory condition
+
91 0b00000000, //CV_66 -
+
92 0b00000000, //CV_67 -
+
93 0b00000000, //CV_68 -
+
94 0b00000000, //CV_69 -
+
95 0b00000000, //CV_70 -
+
96 0b00000000, //CV_71 -
+
97 0b00000000, //CV_72 -
+
98 0b00000000, //CV_73 -
+
99 0b00000000, //CV_74 -
+
100 0b00000000, //CV_75 -
+
101 0b00000000, //CV_76 -
+
102 0b00000000, //CV_77 -
+
103 0b00000000, //CV_78 -
+
104 0b00000000, //CV_79 -
+
105 0b00000000, //CV_80 -
+
106 0b00000000, //CV_81 -
+
107 0b00000000, //CV_82 -
+
108 0b00000000, //CV_83 -
+
109 0b00000000, //CV_84 -
+
110 0b00000000, //CV_85 -
+
111 0b00000000, //CV_86 -
+
112 0b00000000, //CV_87 -
+
113 0b00000000, //CV_88 -
+
114 0b00000000, //CV_89 -
+
115 0b00000000, //CV_90 -
+
116 0b00000000, //CV_91 -
+
117 0b00000000, //CV_92 -
+
118 0b00000000, //CV_93 -
+
119 0b00000000, //CV_94 -
+
120 0b00000000, //CV_95 -
+
121 0b00000000, //CV_96 -
+
122 0b00000000, //CV_97 -
+
123 0b00000000, //CV_98 -
+
124 0b00000000, //CV_99 -
+
125 0b00000000, //CV_100 -
+
126 0b00000000, //CV_101 -
+
127 0b00000000, //CV_102 -
+
128 0b00000000, //CV_103 -
+
129 0b00000000, //CV_104 -
+
130 0b00000000, //CV_105 -
+
131 0b00000000, //CV_106 -
+
132 0b00000000, //CV_107 -
+
133 0b00000000, //CV_108 -
+
134 0b00000000, //CV_109 -
+
135 0b00000000, //CV_110 -
+
136 0b00000000, //CV_111 -
+
138// This Config can cause conflicts when GPIOs controlled by the same slice are enabled at the same time.
+
139 0b00000000, //CV_112 - GPIO 24-31 enable PWM
+
140 0b00000000, //CV_113 - GPIO 16-23 enable PWM
+
141 0b00000000, //CV_114 - GPIO 8-15 enable PWM
+
142 0b00000000, //CV_115 - GPIO 0-7 enable PWM
+
143//Slice 0
+
144 0b00000000, //CV_116 - Wrap Bits 8-15
+
145 0b00000000, //CV_117 - Wrap Bits 0-7
+
146 0b00000000, //CV_118 - Clock Divider
+
147 0b00000000, //CV_119 - Channel A Level Bits 8-15
+
148 0b00000000, //CV_120 - Channel A Level Bits 0-7
+
149 0b00000000, //CV_121 - Channel B Level Bits 8-15
+
150 0b00000000, //CV_122 - Channel B Level Bits 0-7
+
151//Slice 1
+
152 0b00000000, //CV_123 - Wrap Bits 8-15
+
153 0b00000000, //CV_124 - Wrap Bits 0-7
+
154 0b00000000, //CV_125 - Clock Divider
+
155 0b00000000, //CV_126 - Channel A Level Bits 8-15
+
156 0b00000000, //CV_127 - Channel A Level Bits 0-7
+
157 0b00000000, //CV_128 - Channel B Level Bits 8-15
+
158 0b00000000, //CV_129 - Channel B Level Bits 0-7
+
159//Slice 2
+
160 0b00000000, //CV_130 - Wrap Bits 8-15
+
161 0b00000000, //CV_131 - Wrap Bits 0-7
+
162 0b00000000, //CV_132 - Clock Divider
+
163 0b00000000, //CV_133 - Channel A Level Bits 8-15
+
164 0b00000000, //CV_134 - Channel A Level Bits 0-7
+
165 0b00000000, //CV_135 - Channel B Level Bits 8-15
+
166 0b00000000, //CV_136 - Channel B Level Bits 0-7
+
167//Slice 3
+
168 0b00000000, //CV_137 - Wrap Bits 8-15
+
169 0b00000000, //CV_138 - Wrap Bits 0-7
+
170 0b00000000, //CV_139 - Clock Divider
+
171 0b00000000, //CV_140 - Channel A Level Bits 8-15
+
172 0b00000000, //CV_141 - Channel A Level Bits 0-7
+
173 0b00000000, //CV_142 - Channel B Level Bits 8-15
+
174 0b00000000, //CV_143 - Channel B Level Bits 0-7
+
175//Slice 4
+
176 0b00000000, //CV_144 - Wrap Bits 8-15
+
177 0b00000000, //CV_145 - Wrap Bits 0-7
+
178 0b00000000, //CV_146 - Clock Divider
+
179 0b00000000, //CV_147 - Channel A Level Bits 8-15
+
180 0b00000000, //CV_148 - Channel A Level Bits 0-7
+
181 0b00000000, //CV_149 - Channel B Level Bits 8-15
+
182 0b00000000, //CV_150 - Channel B Level Bits 0-7
+
183//Slice 5
+
184 0b00000000, //CV_151 - Wrap Bits 8-15
+
185 0b00000000, //CV_152 - Wrap Bits 0-7
+
186 0b00000000, //CV_153 - Clock Divider
+
187 0b00000000, //CV_154 - Channel A Level Bits 8-15
+
188 0b00000000, //CV_155 - Channel A Level Bits 0-7
+
189 0b00000000, //CV_156 - Channel B Level Bits 8-15
+
190 0b00000000, //CV_157 - Channel B Level Bits 0-7
+
191//Slice 6
+
192 0b00000000, //CV_158 - Wrap Bits 8-15
+
193 0b00000000, //CV_159 - Wrap Bits 0-7
+
194 0b00000000, //CV_160 - Clock Divider
+
195 0b00000000, //CV_161 - Channel A Level Bits 8-15
+
196 0b00000000, //CV_162 - Channel A Level Bits 0-7
+
197 0b00000000, //CV_163 - Channel B Level Bits 8-15
+
198 0b00000000, //CV_164 - Channel B Level Bits 0-7
+
199//Slice 7
+
200 0b00000000, //CV_165 - Wrap Bits 8-15
+
201 0b00000000, //CV_166 - Wrap Bits 0-7
+
202 0b00000000, //CV_167 - Clock Divider
+
203 0b00000000, //CV_168 - Channel A Level Bits 8-15
+
204 0b00000000, //CV_169 - Channel A Level Bits 0-7
+
205 0b00000000, //CV_170 - Channel B Level Bits 8-15
+
206 0b00000000, //CV_171 - Channel B Level Bits 0-7
+
208//Offset adjustment for ADC //
+
209//If CV_172 = 0xFF = 255 there will be a measurement procedure on startup //
+
210 0b11111111, //CV_172 - ADC offset Default: 255 (triggers new measurement!) //
+
211 0b01111111, //CV_173 - ADC offset measurement cycles Default: 127 //
+
213 0b00000001, //CV_174 - Additional motor-PWM clock divider.
+
214 0b00000111, //CV_175 - speed_helper timer delay - can be used to adjust accel/decel rate
+
215 0b00000000, //CV_176 - Base-PWM forward bits 8-15
+
216 0b00000000, //CV_177 - Base-PWM forward bits 0-7
+
217 0b00000000, //CV_178 - Base-PWM reverse bits 15-8
+
218 0b00000000, //CV_179 - Base-PWM reverse bits 0-7
+
219 0b00000000, //CV_180 -
+
220 0b00000000, //CV_181 -
+
221 0b00000000, //CV_182 -
+
222 0b00000000, //CV_183 -
+
223 0b00000000, //CV_184 -
+
224 0b00000000, //CV_185 -
+
225 0b00000000, //CV_186 -
+
226 0b00000000, //CV_187 -
+
227 0b00000000, //CV_188 -
+
228 0b00000000, //CV_189 -
+
229 0b00000000, //CV_190 -
+
230 0b00000000, //CV_191 -
+
231 0b00000000, //CV_192 -
+
232 0b00000000, //CV_193 -
+
233 0b00000000, //CV_194 -
+
234 0b00000000, //CV_195 -
+
235 0b00000000, //CV_196 -
+
236 0b00000000, //CV_197 -
+
237 0b00000000, //CV_198 -
+
238 0b00000000, //CV_199 -
+
239 0b00000000, //CV_200 -
+
240 0b00000000, //CV_201 -
+
241 0b00000000, //CV_202 -
+
242 0b00000000, //CV_203 -
+
243 0b00000000, //CV_204 -
+
244 0b00000000, //CV_205 -
+
245 0b00000000, //CV_206 -
+
246 0b00000000, //CV_207 -
+
247 0b00000000, //CV_208 -
+
248 0b00000000, //CV_209 -
+
249 0b00000000, //CV_210 -
+
250 0b00000000, //CV_211 -
+
251 0b00000000, //CV_212 -
+
252 0b00000000, //CV_213 -
+
253 0b00000000, //CV_214 -
+
254 0b00000000, //CV_215 -
+
255 0b00000000, //CV_216 -
+
256 0b00000000, //CV_217 -
+
257 0b00000000, //CV_218 -
+
258 0b00000000, //CV_219 -
+
259 0b00000000, //CV_220 -
+
260 0b00000000, //CV_221 -
+
261 0b00000000, //CV_222 -
+
262 0b00000000, //CV_223 -
+
263 0b00000000, //CV_224 -
+
264 0b00000000, //CV_225 -
+
265 0b00000000, //CV_226 -
+
266 0b00000000, //CV_227 -
+
267 0b00000000, //CV_228 -
+
268 0b00000000, //CV_229 -
+
269 0b00000000, //CV_230 -
+
270 0b00000000, //CV_231 -
+
271 0b00000000, //CV_232 -
+
272 0b00000000, //CV_233 -
+
273 0b00000000, //CV_234 -
+
274 0b00000000, //CV_235 -
+
275 0b00000000, //CV_236 -
+
276 0b00000000, //CV_237 -
+
277 0b00000000, //CV_238 -
+
278 0b00000000, //CV_239 -
+
279 0b00000000, //CV_240 -
+
280 0b00000000, //CV_241 -
+
281 0b00000000, //CV_242 -
+
282 0b00000000, //CV_243 -
+
283 0b00000000, //CV_244 -
+
284 0b00000000, //CV_245 -
+
285 0b00000000, //CV_246 -
+
286 0b00000000, //CV_247 -
+
287 0b00000000, //CV_248 -
+
288 0b00000000, //CV_249 -
+
289 0b00000000, //CV_250 -
+
290 0b00000000, //CV_251 -
+
291 0b00000000, //CV_252 -
+
292 0b00000000, //CV_253 -
+
293 0b00000000, //CV_254 -
+
294 0b00000000, //CV_255 -
+
295 0b00000000, //CV_256 -
+
296//FUNCTION MAPPING CVS:
+
297// 31 30 29 28 - 27 26 25 24 -- 23 22 21 20 - 19 18 17 16 -- 15 14 13 12 - 11 10 9 8 -- 7 6 5 4 - 3 2 1 0 <- GPIO
+
298// byte_3 -- byte_2 -- byte_1 -- byte_0
+
299// X X X X - X X X X -- X X X X - X X X X -- X X X X - X X X X -- X X X X - X X X X
+
300//F0 forward
+
301 0b00000000, //CV_257 - byte 3
+
302 0b00000000, //CV_258 - byte 2
+
303 0b00000000, //CV_259 - byte 1
+
304 0b00000000, //CV_260 - byte 0
+
305//F0 reverse
+
306 0b00000000, //CV_261 - byte 3
+
307 0b00000000, //CV_262 - byte 2
+
308 0b00000000, //CV_263 - byte 1
+
309 0b00000000, //CV_264 - byte 0
+
310//F1 forward
+
311 0b00000000, //CV_265 - byte 3
+
312 0b00000000, //CV_266 - byte 2
+
313 0b00000000, //CV_267 - byte 1
+
314 0b00000000, //CV_268 - byte 0
+
315//F1 reverse
+
316 0b00000000, //CV_269 - byte 3
+
317 0b00000000, //CV_270 - byte 2
+
318 0b00000000, //CV_271 - byte 1
+
319 0b00000000, //CV_272 - byte 0
+
320//F2 forward
+
321 0b00000000, //CV_273 - byte 3
+
322 0b00000000, //CV_274 - byte 2
+
323 0b00000000, //CV_275 - byte 1
+
324 0b00000000, //CV_276 - byte 0
+
325//F2 reverse
+
326 0b00000000, //CV_277 - byte 3
+
327 0b00000000, //CV_278 - byte 2
+
328 0b00000000, //CV_279 - byte 1
+
329 0b00000000, //CV_280 - byte 0
+
330//F3 forward
+
331 0b00000000, //CV_281 - byte 3
+
332 0b00000000, //CV_282 - byte 2
+
333 0b00000000, //CV_283 - byte 1
+
334 0b00000000, //CV_284 - byte 0
+
335//F3 reverse
+
336 0b00000000, //CV_285 - byte 3
+
337 0b00000000, //CV_286 - byte 2
+
338 0b00000000, //CV_287 - byte 1
+
339 0b00000000, //CV_288 - byte 0
+
340//F4 forward
+
341 0b00000000, //CV_289 - byte 3
+
342 0b00000000, //CV_290 - byte 2
+
343 0b00000000, //CV_291 - byte 1
+
344 0b00000000, //CV_292 - byte 0
+
345//F4 reverse
+
346 0b00000000, //CV_293 - byte 3
+
347 0b00000000, //CV_294 - byte 2
+
348 0b00000000, //CV_295 - byte 1
+
349 0b00000000, //CV_296 - byte 0
+
350//F5 forward
+
351 0b00000000, //CV_297 - byte 3
+
352 0b00000000, //CV_298 - byte 2
+
353 0b00000000, //CV_299 - byte 1
+
354 0b00000000, //CV_300 - byte 0
+
355//F5 reverse
+
356 0b00000000, //CV_301 - byte 3
+
357 0b00000000, //CV_302 - byte 2
+
358 0b00000000, //CV_303 - byte 1
+
359 0b00000000, //CV_304 - byte 0
+
360//F6 forward
+
361 0b00000000, //CV_305 - byte 3
+
362 0b00000000, //CV_306 - byte 2
+
363 0b00000000, //CV_307 - byte 1
+
364 0b00000000, //CV_308 - byte 0
+
365//F6 reverse
+
366 0b00000000, //CV_309 - byte 3
+
367 0b00000000, //CV_310 - byte 2
+
368 0b00000000, //CV_311 - byte 1
+
369 0b00000000, //CV_312 - byte 0
+
370//F7 forward
+
371 0b00000000, //CV_313 - byte 3
+
372 0b00000000, //CV_314 - byte 2
+
373 0b00000000, //CV_315 - byte 1
+
374 0b00000000, //CV_316 - byte 0
+
375//F7 reverse
+
376 0b00000000, //CV_317 - byte 3
+
377 0b00000000, //CV_318 - byte 2
+
378 0b00000000, //CV_319 - byte 1
+
379 0b00000000, //CV_320 - byte 0
+
380//F8 forward
+
381 0b00000000, //CV_321 - byte 3
+
382 0b00000000, //CV_322 - byte 2
+
383 0b00000000, //CV_323 - byte 1
+
384 0b00000000, //CV_324 - byte 0
+
385//F8 reverse
+
386 0b00000000, //CV_325 - byte 3
+
387 0b00000000, //CV_326 - byte 2
+
388 0b00000000, //CV_327 - byte 1
+
389 0b00000000, //CV_328 - byte 0
+
390//F9 forward
+
391 0b00000000, //CV_329 - byte 3
+
392 0b00000000, //CV_330 - byte 2
+
393 0b00000000, //CV_331 - byte 1
+
394 0b00000000, //CV_332 - byte 0
+
395//F9 reverse
+
396 0b00000000, //CV_333 - byte 3
+
397 0b00000000, //CV_334 - byte 2
+
398 0b00000000, //CV_335 - byte 1
+
399 0b00000000, //CV_336 - byte 0
+
400//F10 forward
+
401 0b00000000, //CV_337 - byte 3
+
402 0b00000000, //CV_338 - byte 2
+
403 0b00000000, //CV_339 - byte 1
+
404 0b00000000, //CV_340 - byte 0
+
405//F10 reverse
+
406 0b00000000, //CV_341 - byte 3
+
407 0b00000000, //CV_342 - byte 2
+
408 0b00000000, //CV_343 - byte 1
+
409 0b00000000, //CV_344 - byte 0
+
410//F11 forward
+
411 0b00000000, //CV_345 - byte 3
+
412 0b00000000, //CV_346 - byte 2
+
413 0b00000000, //CV_347 - byte 1
+
414 0b00000000, //CV_348 - byte 0
+
415//F11 reverse
+
416 0b00000000, //CV_349 - byte 3
+
417 0b00000000, //CV_350 - byte 2
+
418 0b00000000, //CV_351 - byte 1
+
419 0b00000000, //CV_352 - byte 0
+
420//F12 forward
+
421 0b00000000, //CV_353 - byte 3
+
422 0b00000000, //CV_354 - byte 2
+
423 0b00000000, //CV_355 - byte 1
+
424 0b00000000, //CV_356 - byte 0
+
425//F12 reverse
+
426 0b00000000, //CV_357 - byte 3
+
427 0b00000000, //CV_358 - byte 2
+
428 0b00000000, //CV_359 - byte 1
+
429 0b00000000, //CV_360 - byte 0
+
430//F13 forward
+
431 0b00000000, //CV_361 - byte 3
+
432 0b00000000, //CV_362 - byte 2
+
433 0b00000000, //CV_363 - byte 1
+
434 0b00000000, //CV_364 - byte 0
+
435//F13 reverse
+
436 0b00000000, //CV_365 - byte 3
+
437 0b00000000, //CV_366 - byte 2
+
438 0b00000000, //CV_367 - byte 1
+
439 0b00000000, //CV_368 - byte 0
+
440//F14 forward
+
441 0b00000000, //CV_369 - byte 3
+
442 0b00000000, //CV_370 - byte 2
+
443 0b00000000, //CV_371 - byte 1
+
444 0b00000000, //CV_372 - byte 0
+
445//F14 reverse
+
446 0b00000000, //CV_373 - byte 3
+
447 0b00000000, //CV_374 - byte 2
+
448 0b00000000, //CV_375 - byte 1
+
449 0b00000000, //CV_376 - byte 0
+
450//F15 forward
+
451 0b00000000, //CV_377 - byte 3
+
452 0b00000000, //CV_378 - byte 2
+
453 0b00000000, //CV_379 - byte 1
+
454 0b00000000, //CV_380 - byte 0
+
455//F15 reverse
+
456 0b00000000, //CV_381 - byte 3
+
457 0b00000000, //CV_382 - byte 2
+
458 0b00000000, //CV_383 - byte 1
+
459 0b00000000, //CV_384 - byte 0
+
460//F16 forward
+
461 0b00000000, //CV_385 - byte 3
+
462 0b00000000, //CV_386 - byte 2
+
463 0b00000000, //CV_387 - byte 1
+
464 0b00000000, //CV_388 - byte 0
+
465//F16 reverse
+
466 0b00000000, //CV_389 - byte 3
+
467 0b00000000, //CV_390 - byte 2
+
468 0b00000000, //CV_391 - byte 1
+
469 0b00000000, //CV_392 - byte 0
+
470//F17 forward
+
471 0b00000000, //CV_393 - byte 3
+
472 0b00000000, //CV_394 - byte 2
+
473 0b00000000, //CV_395 - byte 1
+
474 0b00000000, //CV_396 - byte 0
+
475//F17 reverse
+
476 0b00000000, //CV_397 - byte 3
+
477 0b00000000, //CV_398 - byte 2
+
478 0b00000000, //CV_399 - byte 1
+
479 0b00000000, //CV_400 - byte 0
+
480//F18 forward
+
481 0b00000000, //CV_401 - byte 3
+
482 0b00000000, //CV_402 - byte 2
+
483 0b00000000, //CV_403 - byte 1
+
484 0b00000000, //CV_404 - byte 0
+
485//F18 reverse
+
486 0b00000000, //CV_405 - byte 3
+
487 0b00000000, //CV_406 - byte 2
+
488 0b00000000, //CV_407 - byte 1
+
489 0b00000000, //CV_408 - byte 0
+
490//F19 forward
+
491 0b00000000, //CV_409 - byte 3
+
492 0b00000000, //CV_410 - byte 2
+
493 0b00000000, //CV_411 - byte 1
+
494 0b00000000, //CV_412 - byte 0
+
495//F19 reverse
+
496 0b00000000, //CV_413 - byte 3
+
497 0b00000000, //CV_414 - byte 2
+
498 0b00000000, //CV_415 - byte 1
+
499 0b00000000, //CV_416 - byte 0
+
500//F20 forward
+
501 0b00000000, //CV_417 - byte 3
+
502 0b00000000, //CV_418 - byte 2
+
503 0b00000000, //CV_419 - byte 1
+
504 0b00000000, //CV_420 - byte 0
+
505//F20 reverse
+
506 0b00000000, //CV_421 - byte 3
+
507 0b00000000, //CV_422 - byte 2
+
508 0b00000000, //CV_423 - byte 1
+
509 0b00000000, //CV_424 - byte 0
+
510//F21 forward
+
511 0b00000000, //CV_425 - byte 3
+
512 0b00000000, //CV_426 - byte 2
+
513 0b00000000, //CV_427 - byte 1
+
514 0b00000000, //CV_428 - byte 0
+
515//F21 reverse
+
516 0b00000000, //CV_429 - byte 3
+
517 0b00000000, //CV_430 - byte 2
+
518 0b00000000, //CV_431 - byte 1
+
519 0b00000000, //CV_432 - byte 0
+
520//F22 forward
+
521 0b00000000, //CV_433 - byte 3
+
522 0b00000000, //CV_434 - byte 2
+
523 0b00000000, //CV_435 - byte 1
+
524 0b00000000, //CV_436 - byte 0
+
525//F22 reverse
+
526 0b00000000, //CV_437 - byte 3
+
527 0b00000000, //CV_438 - byte 2
+
528 0b00000000, //CV_439 - byte 1
+
529 0b00000000, //CV_440 - byte 0
+
530//F23 forward
+
531 0b00000000, //CV_441 - byte 3
+
532 0b00000000, //CV_442 - byte 2
+
533 0b00000000, //CV_443 - byte 1
+
534 0b00000000, //CV_444 - byte 0
+
535//F23 reverse
+
536 0b00000000, //CV_445 - byte 3
+
537 0b00000000, //CV_446 - byte 2
+
538 0b00000000, //CV_447 - byte 1
+
539 0b00000000, //CV_448 - byte 0
+
540//F24 forward
+
541 0b00000000, //CV_449 - byte 3
+
542 0b00000000, //CV_450 - byte 2
+
543 0b00000000, //CV_451 - byte 1
+
544 0b00000000, //CV_452 - byte 0
+
545//F24 reverse
+
546 0b00000000, //CV_453 - byte 3
+
547 0b00000000, //CV_454 - byte 2
+
548 0b00000000, //CV_455 - byte 1
+
549 0b00000000, //CV_456 - byte 0
+
550//F25 forward
+
551 0b00000000, //CV_457 - byte 3
+
552 0b00000000, //CV_458 - byte 2
+
553 0b00000000, //CV_459 - byte 1
+
554 0b00000000, //CV_460 - byte 0
+
555//F25 reverse
+
556 0b00000000, //CV_461 - byte 3
+
557 0b00000000, //CV_462 - byte 2
+
558 0b00000000, //CV_463 - byte 1
+
559 0b00000000, //CV_464 - byte 0
+
560//F26 forward
+
561 0b00000000, //CV_465 - byte 3
+
562 0b00000000, //CV_466 - byte 2
+
563 0b00000000, //CV_467 - byte 1
+
564 0b00000000, //CV_468 - byte 0
+
565//F26 reverse
+
566 0b00000000, //CV_469 - byte 3
+
567 0b00000000, //CV_470 - byte 2
+
568 0b00000000, //CV_471 - byte 1
+
569 0b00000000, //CV_472 - byte 0
+
570//F27 forward
+
571 0b00000000, //CV_473 - byte 3
+
572 0b00000000, //CV_474 - byte 2
+
573 0b00000000, //CV_475 - byte 1
+
574 0b00000000, //CV_476 - byte 0
+
575//F27 reverse
+
576 0b00000000, //CV_477 - byte 3
+
577 0b00000000, //CV_478 - byte 2
+
578 0b00000000, //CV_479 - byte 1
+
579 0b00000000, //CV_480 - byte 0
+
580//F28 forward
+
581 0b00000000, //CV_481 - byte 3
+
582 0b00000000, //CV_482 - byte 2
+
583 0b00000000, //CV_483 - byte 1
+
584 0b00000000, //CV_484 - byte 0
+
585//F28 reverse
+
586 0b00000000, //CV_485 - byte 3
+
587 0b00000000, //CV_486 - byte 2
+
588 0b00000000, //CV_487 - byte 1
+
589 0b00000000, //CV_488 - byte 0
+
590//F29 forward
+
591 0b00000000, //CV_489 - byte 3
+
592 0b00000000, //CV_490 - byte 2
+
593 0b00000000, //CV_491 - byte 1
+
594 0b00000000, //CV_492 - byte 0
+
595//F29 reverse
+
596 0b00000000, //CV_493 - byte 3
+
597 0b00000000, //CV_494 - byte 2
+
598 0b00000000, //CV_495 - byte 1
+
599 0b00000000, //CV_496 - byte 0
+
600//F30 forward
+
601 0b00000000, //CV_497 - byte 3
+
602 0b00000000, //CV_498 - byte 2
+
603 0b00000000, //CV_499 - byte 1
+
604 0b00000000, //CV_500 - byte 0
+
605//F30 reverse
+
606 0b00000000, //CV_501 - byte 3
+
607 0b00000000, //CV_502 - byte 2
+
608 0b00000000, //CV_503 - byte 1
+
609 0b00000000, //CV_504 - byte 0
+
610//F31 forward
+
611 0b00000000, //CV_505 - byte 3
+
612 0b00000000, //CV_506 - byte 2
+
613 0b00000000, //CV_507 - byte 1
+
614 0b00000000, //CV_508 - byte 0
+
615//F31 reverse
+
616 0b00000000, //CV_509 - byte 3
+
617 0b00000000, //CV_510 - byte 2
+
618 0b00000000, //CV_511 - byte 1
+
619 0b00000000, //CV_512 - byte 0
+
621 0b00000000, //CV_513 -
+
622 0b00000000, //CV_514 -
+
623 0b00000000, //CV_515 -
+
624 0b00000000, //CV_516 -
+
625 0b00000000, //CV_517 -
+
626 0b00000000, //CV_518 -
+
627 0b00000000, //CV_519 -
+
628 0b00000000, //CV_520 -
+
629 0b00000000, //CV_521 -
+
630 0b00000000, //CV_522 -
+
631 0b00000000, //CV_523 -
+
632 0b00000000, //CV_524 -
+
633 0b00000000, //CV_525 -
+
634 0b00000000, //CV_526 -
+
635 0b00000000, //CV_527 -
+
636 0b00000000, //CV_528 -
+
637 0b00000000, //CV_529 -
+
638 0b00000000, //CV_530 -
+
639 0b00000000, //CV_531 -
+
640 0b00000000, //CV_532 -
+
641 0b00000000, //CV_533 -
+
642 0b00000000, //CV_534 -
+
643 0b00000000, //CV_535 -
+
644 0b00000000, //CV_536 -
+
645 0b00000000, //CV_537 -
+
646 0b00000000, //CV_538 -
+
647 0b00000000, //CV_539 -
+
648 0b00000000, //CV_540 -
+
649 0b00000000, //CV_541 -
+
650 0b00000000, //CV_542 -
+
651 0b00000000, //CV_543 -
+
652 0b00000000, //CV_544 -
+
653 0b00000000, //CV_545 -
+
654 0b00000000, //CV_546 -
+
655 0b00000000, //CV_547 -
+
656 0b00000000, //CV_548 -
+
657 0b00000000, //CV_549 -
+
658 0b00000000, //CV_550 -
+
659 0b00000000, //CV_551 -
+
660 0b00000000, //CV_552 -
+
661 0b00000000, //CV_553 -
+
662 0b00000000, //CV_554 -
+
663 0b00000000, //CV_555 -
+
664 0b00000000, //CV_556 -
+
665 0b00000000, //CV_557 -
+
666 0b00000000, //CV_558 -
+
667 0b00000000, //CV_559 -
+
668 0b00000000, //CV_560 -
+
669 0b00000000, //CV_561 -
+
670 0b00000000, //CV_562 -
+
671 0b00000000, //CV_563 -
+
672 0b00000000, //CV_564 -
+
673 0b00000000, //CV_565 -
+
674 0b00000000, //CV_566 -
+
675 0b00000000, //CV_567 -
+
676 0b00000000, //CV_568 -
+
677 0b00000000, //CV_569 -
+
678 0b00000000, //CV_570 -
+
679 0b00000000, //CV_571 -
+
680 0b00000000, //CV_572 -
+
681 0b00000000, //CV_573 -
+
682 0b00000000, //CV_574 -
+
683 0b00000000, //CV_575 -
+
684 0b00000000, //CV_576 -
+
685 0b00000000, //CV_577 -
+
686 0b00000000, //CV_578 -
+
687 0b00000000, //CV_579 -
+
688 0b00000000, //CV_580 -
+
689 0b00000000, //CV_581 -
+
690 0b00000000, //CV_582 -
+
691 0b00000000, //CV_583 -
+
692 0b00000000, //CV_584 -
+
693 0b00000000, //CV_585 -
+
694 0b00000000, //CV_586 -
+
695 0b00000000, //CV_587 -
+
696 0b00000000, //CV_588 -
+
697 0b00000000, //CV_589 -
+
698 0b00000000, //CV_590 -
+
699 0b00000000, //CV_591 -
+
700 0b00000000, //CV_592 -
+
701 0b00000000, //CV_593 -
+
702 0b00000000, //CV_594 -
+
703 0b00000000, //CV_595 -
+
704 0b00000000, //CV_596 -
+
705 0b00000000, //CV_597 -
+
706 0b00000000, //CV_598 -
+
707 0b00000000, //CV_599 -
+
708 0b00000000, //CV_600 -
+
709 0b00000000, //CV_601 -
+
710 0b00000000, //CV_602 -
+
711 0b00000000, //CV_603 -
+
712 0b00000000, //CV_604 -
+
713 0b00000000, //CV_605 -
+
714 0b00000000, //CV_606 -
+
715 0b00000000, //CV_607 -
+
716 0b00000000, //CV_608 -
+
717 0b00000000, //CV_609 -
+
718 0b00000000, //CV_610 -
+
719 0b00000000, //CV_611 -
+
720 0b00000000, //CV_612 -
+
721 0b00000000, //CV_613 -
+
722 0b00000000, //CV_614 -
+
723 0b00000000, //CV_615 -
+
724 0b00000000, //CV_616 -
+
725 0b00000000, //CV_617 -
+
726 0b00000000, //CV_618 -
+
727 0b00000000, //CV_619 -
+
728 0b00000000, //CV_620 -
+
729 0b00000000, //CV_621 -
+
730 0b00000000, //CV_622 -
+
731 0b00000000, //CV_623 -
+
732 0b00000000, //CV_624 -
+
733 0b00000000, //CV_625 -
+
734 0b00000000, //CV_626 -
+
735 0b00000000, //CV_627 -
+
736 0b00000000, //CV_628 -
+
737 0b00000000, //CV_629 -
+
738 0b00000000, //CV_630 -
+
739 0b00000000, //CV_631 -
+
740 0b00000000, //CV_632 -
+
741 0b00000000, //CV_633 -
+
742 0b00000000, //CV_634 -
+
743 0b00000000, //CV_635 -
+
744 0b00000000, //CV_636 -
+
745 0b00000000, //CV_637 -
+
746 0b00000000, //CV_638 -
+
747 0b00000000, //CV_639 -
+
748 0b00000000, //CV_640 -
+
749 0b00000000, //CV_641 -
+
750 0b00000000, //CV_642 -
+
751 0b00000000, //CV_643 -
+
752 0b00000000, //CV_644 -
+
753 0b00000000, //CV_645 -
+
754 0b00000000, //CV_646 -
+
755 0b00000000, //CV_647 -
+
756 0b00000000, //CV_648 -
+
757 0b00000000, //CV_649 -
+
758 0b00000000, //CV_650 -
+
759 0b00000000, //CV_651 -
+
760 0b00000000, //CV_652 -
+
761 0b00000000, //CV_653 -
+
762 0b00000000, //CV_654 -
+
763 0b00000000, //CV_655 -
+
764 0b00000000, //CV_656 -
+
765 0b00000000, //CV_657 -
+
766 0b00000000, //CV_658 -
+
767 0b00000000, //CV_659 -
+
768 0b00000000, //CV_660 -
+
769 0b00000000, //CV_661 -
+
770 0b00000000, //CV_662 -
+
771 0b00000000, //CV_663 -
+
772 0b00000000, //CV_664 -
+
773 0b00000000, //CV_665 -
+
774 0b00000000, //CV_666 -
+
775 0b00000000, //CV_667 -
+
776 0b00000000, //CV_668 -
+
777 0b00000000, //CV_669 -
+
778 0b00000000, //CV_670 -
+
779 0b00000000, //CV_671 -
+
780 0b00000000, //CV_672 -
+
781 0b00000000, //CV_673 -
+
782 0b00000000, //CV_674 -
+
783 0b00000000, //CV_675 -
+
784 0b00000000, //CV_676 -
+
785 0b00000000, //CV_677 -
+
786 0b00000000, //CV_678 -
+
787 0b00000000, //CV_679 -
+
788 0b00000000, //CV_680 -
+
789 0b00000000, //CV_681 -
+
790 0b00000000, //CV_682 -
+
791 0b00000000, //CV_683 -
+
792 0b00000000, //CV_684 -
+
793 0b00000000, //CV_685 -
+
794 0b00000000, //CV_686 -
+
795 0b00000000, //CV_687 -
+
796 0b00000000, //CV_688 -
+
797 0b00000000, //CV_689 -
+
798 0b00000000, //CV_690 -
+
799 0b00000000, //CV_691 -
+
800 0b00000000, //CV_692 -
+
801 0b00000000, //CV_693 -
+
802 0b00000000, //CV_694 -
+
803 0b00000000, //CV_695 -
+
804 0b00000000, //CV_696 -
+
805 0b00000000, //CV_697 -
+
806 0b00000000, //CV_698 -
+
807 0b00000000, //CV_699 -
+
808 0b00000000, //CV_700 -
+
809 0b00000000, //CV_701 -
+
810 0b00000000, //CV_702 -
+
811 0b00000000, //CV_703 -
+
812 0b00000000, //CV_704 -
+
813 0b00000000, //CV_705 -
+
814 0b00000000, //CV_706 -
+
815 0b00000000, //CV_707 -
+
816 0b00000000, //CV_708 -
+
817 0b00000000, //CV_709 -
+
818 0b00000000, //CV_710 -
+
819 0b00000000, //CV_711 -
+
820 0b00000000, //CV_712 -
+
821 0b00000000, //CV_713 -
+
822 0b00000000, //CV_714 -
+
823 0b00000000, //CV_715 -
+
824 0b00000000, //CV_716 -
+
825 0b00000000, //CV_717 -
+
826 0b00000000, //CV_718 -
+
827 0b00000000, //CV_719 -
+
828 0b00000000, //CV_720 -
+
829 0b00000000, //CV_721 -
+
830 0b00000000, //CV_722 -
+
831 0b00000000, //CV_723 -
+
832 0b00000000, //CV_724 -
+
833 0b00000000, //CV_725 -
+
834 0b00000000, //CV_726 -
+
835 0b00000000, //CV_727 -
+
836 0b00000000, //CV_728 -
+
837 0b00000000, //CV_729 -
+
838 0b00000000, //CV_730 -
+
839 0b00000000, //CV_731 -
+
840 0b00000000, //CV_732 -
+
841 0b00000000, //CV_733 -
+
842 0b00000000, //CV_734 -
+
843 0b00000000, //CV_735 -
+
844 0b00000000, //CV_736 -
+
845 0b00000000, //CV_737 -
+
846 0b00000000, //CV_738 -
+
847 0b00000000, //CV_739 -
+
848 0b00000000, //CV_740 -
+
849 0b00000000, //CV_741 -
+
850 0b00000000, //CV_742 -
+
851 0b00000000, //CV_743 -
+
852 0b00000000, //CV_744 -
+
853 0b00000000, //CV_745 -
+
854 0b00000000, //CV_746 -
+
855 0b00000000, //CV_747 -
+
856 0b00000000, //CV_748 -
+
857 0b00000000, //CV_749 -
+
858 0b00000000, //CV_750 -
+
859 0b00000000, //CV_751 -
+
860 0b00000000, //CV_752 -
+
861 0b00000000, //CV_753 -
+
862 0b00000000, //CV_754 -
+
863 0b00000000, //CV_755 -
+
864 0b00000000, //CV_756 -
+
865 0b00000000, //CV_757 -
+
866 0b00000000, //CV_758 -
+
867 0b00000000, //CV_759 -
+
868 0b00000000, //CV_760 -
+
869 0b00000000, //CV_761 -
+
870 0b00000000, //CV_762 -
+
871 0b00000000, //CV_763 -
+
872 0b00000000, //CV_764 -
+
873 0b00000000, //CV_765 -
+
874 0b00000000, //CV_766 -
+
875 0b00000000, //CV_767 -
+
876 0b00000000, //CV_768 -
+
877 0b00000000, //CV_769 -
+
878 0b00000000, //CV_770 -
+
879 0b00000000, //CV_771 -
+
880 0b00000000, //CV_772 -
+
881 0b00000000, //CV_773 -
+
882 0b00000000, //CV_774 -
+
883 0b00000000, //CV_775 -
+
884 0b00000000, //CV_776 -
+
885 0b00000000, //CV_777 -
+
886 0b00000000, //CV_778 -
+
887 0b00000000, //CV_779 -
+
888 0b00000000, //CV_780 -
+
889 0b00000000, //CV_781 -
+
890 0b00000000, //CV_782 -
+
891 0b00000000, //CV_783 -
+
892 0b00000000, //CV_784 -
+
893 0b00000000, //CV_785 -
+
894 0b00000000, //CV_786 -
+
895 0b00000000, //CV_787 -
+
896 0b00000000, //CV_788 -
+
897 0b00000000, //CV_789 -
+
898 0b00000000, //CV_790 -
+
899 0b00000000, //CV_791 -
+
900 0b00000000, //CV_792 -
+
901 0b00000000, //CV_793 -
+
902 0b00000000, //CV_794 -
+
903 0b00000000, //CV_795 -
+
904 0b00000000, //CV_796 -
+
905 0b00000000, //CV_797 -
+
906 0b00000000, //CV_798 -
+
907 0b00000000, //CV_799 -
+
908 0b00000000, //CV_800 -
+
909 0b00000000, //CV_801 -
+
910 0b00000000, //CV_802 -
+
911 0b00000000, //CV_803 -
+
912 0b00000000, //CV_804 -
+
913 0b00000000, //CV_805 -
+
914 0b00000000, //CV_806 -
+
915 0b00000000, //CV_807 -
+
916 0b00000000, //CV_808 -
+
917 0b00000000, //CV_809 -
+
918 0b00000000, //CV_810 -
+
919 0b00000000, //CV_811 -
+
920 0b00000000, //CV_812 -
+
921 0b00000000, //CV_813 -
+
922 0b00000000, //CV_814 -
+
923 0b00000000, //CV_815 -
+
924 0b00000000, //CV_816 -
+
925 0b00000000, //CV_817 -
+
926 0b00000000, //CV_818 -
+
927 0b00000000, //CV_819 -
+
928 0b00000000, //CV_820 -
+
929 0b00000000, //CV_821 -
+
930 0b00000000, //CV_822 -
+
931 0b00000000, //CV_823 -
+
932 0b00000000, //CV_824 -
+
933 0b00000000, //CV_825 -
+
934 0b00000000, //CV_826 -
+
935 0b00000000, //CV_827 -
+
936 0b00000000, //CV_828 -
+
937 0b00000000, //CV_829 -
+
938 0b00000000, //CV_830 -
+
939 0b00000000, //CV_831 -
+
940 0b00000000, //CV_832 -
+
941 0b00000000, //CV_833 -
+
942 0b00000000, //CV_834 -
+
943 0b00000000, //CV_835 -
+
944 0b00000000, //CV_836 -
+
945 0b00000000, //CV_837 -
+
946 0b00000000, //CV_838 -
+
947 0b00000000, //CV_839 -
+
948 0b00000000, //CV_840 -
+
949 0b00000000, //CV_841 -
+
950 0b00000000, //CV_842 -
+
951 0b00000000, //CV_843 -
+
952 0b00000000, //CV_844 -
+
953 0b00000000, //CV_845 -
+
954 0b00000000, //CV_846 -
+
955 0b00000000, //CV_847 -
+
956 0b00000000, //CV_848 -
+
957 0b00000000, //CV_849 -
+
958 0b00000000, //CV_850 -
+
959 0b00000000, //CV_851 -
+
960 0b00000000, //CV_852 -
+
961 0b00000000, //CV_853 -
+
962 0b00000000, //CV_854 -
+
963 0b00000000, //CV_855 -
+
964 0b00000000, //CV_856 -
+
965 0b00000000, //CV_857 -
+
966 0b00000000, //CV_858 -
+
967 0b00000000, //CV_859 -
+
968 0b00000000, //CV_860 -
+
969 0b00000000, //CV_861 -
+
970 0b00000000, //CV_862 -
+
971 0b00000000, //CV_863 -
+
972 0b00000000, //CV_864 -
+
973 0b00000000, //CV_865 -
+
974 0b00000000, //CV_866 -
+
975 0b00000000, //CV_867 -
+
976 0b00000000, //CV_868 -
+
977 0b00000000, //CV_869 -
+
978 0b00000000, //CV_870 -
+
979 0b00000000, //CV_871 -
+
980 0b00000000, //CV_872 -
+
981 0b00000000, //CV_873 -
+
982 0b00000000, //CV_874 -
+
983 0b00000000, //CV_875 -
+
984 0b00000000, //CV_876 -
+
985 0b00000000, //CV_877 -
+
986 0b00000000, //CV_878 -
+
987 0b00000000, //CV_879 -
+
988 0b00000000, //CV_880 -
+
989 0b00000000, //CV_881 -
+
990 0b00000000, //CV_882 -
+
991 0b00000000, //CV_883 -
+
992 0b00000000, //CV_884 -
+
993 0b00000000, //CV_885 -
+
994 0b00000000, //CV_886 -
+
995 0b00000000, //CV_887 -
+
996 0b00000000, //CV_888 -
+
997 0b00000000, //CV_889 -
+
998 0b00000000, //CV_890 -
+
999 0b00000000, //CV_891 -
+
1000 0b00000000, //CV_892 -
+
1001 0b00000000, //CV_893 -
+
1002 0b00000000, //CV_894 -
+
1003 0b00000000, //CV_895 -
+
1004 0b00000000, //CV_896 -
+
1005 0b00000000, //CV_897 -
+
1006 0b00000000, //CV_898 -
+
1007 0b00000000, //CV_899 -
+
1008 0b00000000, //CV_900 -
+
1009 0b00000000, //CV_901 -
+
1010 0b00000000, //CV_902 -
+
1011 0b00000000, //CV_903 -
+
1012 0b00000000, //CV_904 -
+
1013 0b00000000, //CV_905 -
+
1014 0b00000000, //CV_906 -
+
1015 0b00000000, //CV_907 -
+
1016 0b00000000, //CV_908 -
+
1017 0b00000000, //CV_909 -
+
1018 0b00000000, //CV_910 -
+
1019 0b00000000, //CV_911 -
+
1020 0b00000000, //CV_912 -
+
1021 0b00000000, //CV_913 -
+
1022 0b00000000, //CV_914 -
+
1023 0b00000000, //CV_915 -
+
1024 0b00000000, //CV_916 -
+
1025 0b00000000, //CV_917 -
+
1026 0b00000000, //CV_918 -
+
1027 0b00000000, //CV_919 -
+
1028 0b00000000, //CV_920 -
+
1029 0b00000000, //CV_921 -
+
1030 0b00000000, //CV_922 -
+
1031 0b00000000, //CV_923 -
+
1032 0b00000000, //CV_924 -
+
1033 0b00000000, //CV_925 -
+
1034 0b00000000, //CV_926 -
+
1035 0b00000000, //CV_927 -
+
1036 0b00000000, //CV_928 -
+
1037 0b00000000, //CV_929 -
+
1038 0b00000000, //CV_930 -
+
1039 0b00000000, //CV_931 -
+
1040 0b00000000, //CV_932 -
+
1041 0b00000000, //CV_933 -
+
1042 0b00000000, //CV_934 -
+
1043 0b00000000, //CV_935 -
+
1044 0b00000000, //CV_936 -
+
1045 0b00000000, //CV_937 -
+
1046 0b00000000, //CV_938 -
+
1047 0b00000000, //CV_939 -
+
1048 0b00000000, //CV_940 -
+
1049 0b00000000, //CV_941 -
+
1050 0b00000000, //CV_942 -
+
1051 0b00000000, //CV_943 -
+
1052 0b00000000, //CV_944 -
+
1053 0b00000000, //CV_945 -
+
1054 0b00000000, //CV_946 -
+
1055 0b00000000, //CV_947 -
+
1056 0b00000000, //CV_948 -
+
1057 0b00000000, //CV_949 -
+
1058 0b00000000, //CV_950 -
+
1059 0b00000000, //CV_951 -
+
1060 0b00000000, //CV_952 -
+
1061 0b00000000, //CV_953 -
+
1062 0b00000000, //CV_954 -
+
1063 0b00000000, //CV_955 -
+
1064 0b00000000, //CV_956 -
+
1065 0b00000000, //CV_957 -
+
1066 0b00000000, //CV_958 -
+
1067 0b00000000, //CV_959 -
+
1068 0b00000000, //CV_960 -
+
1069 0b00000000, //CV_961 -
+
1070 0b00000000, //CV_962 -
+
1071 0b00000000, //CV_963 -
+
1072 0b00000000, //CV_964 -
+
1073 0b00000000, //CV_965 -
+
1074 0b00000000, //CV_966 -
+
1075 0b00000000, //CV_967 -
+
1076 0b00000000, //CV_968 -
+
1077 0b00000000, //CV_969 -
+
1078 0b00000000, //CV_970 -
+
1079 0b00000000, //CV_971 -
+
1080 0b00000000, //CV_972 -
+
1081 0b00000000, //CV_973 -
+
1082 0b00000000, //CV_974 -
+
1083 0b00000000, //CV_975 -
+
1084 0b00000000, //CV_976 -
+
1085 0b00000000, //CV_977 -
+
1086 0b00000000, //CV_978 -
+
1087 0b00000000, //CV_979 -
+
1088 0b00000000, //CV_980 -
+
1089 0b00000000, //CV_981 -
+
1090 0b00000000, //CV_982 -
+
1091 0b00000000, //CV_983 -
+
1092 0b00000000, //CV_984 -
+
1093 0b00000000, //CV_985 -
+
1094 0b00000000, //CV_986 -
+
1095 0b00000000, //CV_987 -
+
1096 0b00000000, //CV_988 -
+
1097 0b00000000, //CV_989 -
+
1098 0b00000000, //CV_990 -
+
1099 0b00000000, //CV_991 -
+
1100 0b00000000, //CV_992 -
+
1101 0b00000000, //CV_993 -
+
1102 0b00000000, //CV_994 -
+
1103 0b00000000, //CV_995 -
+
1104 0b00000000, //CV_996 -
+
1105 0b00000000, //CV_997 -
+
1106 0b00000000, //CV_998 -
+
1107 0b00000000, //CV_999 -
+
1108 0b00000000, //CV_1000 -
+
1109 0b00000000, //CV_1001 -
+
1110 0b00000000, //CV_1002 -
+
1111 0b00000000, //CV_1003 -
+
1112 0b00000000, //CV_1004 -
+
1113 0b00000000, //CV_1005 -
+
1114 0b00000000, //CV_1006 -
+
1115 0b00000000, //CV_1007 -
+
1116 0b00000000, //CV_1008 -
+
1117 0b00000000, //CV_1009 -
+
1118 0b00000000, //CV_1010 -
+
1119 0b00000000, //CV_1011 -
+
1120 0b00000000, //CV_1012 -
+
1121 0b00000000, //CV_1013 -
+
1122 0b00000000, //CV_1014 -
+
1123 0b00000000, //CV_1015 -
+
1124 0b00000000, //CV_1016 -
+
1125 0b00000000, //CV_1017 -
+
1126 0b00000000, //CV_1018 -
+
1127 0b00000000, //CV_1019 -
+
1128 0b00000000, //CV_1020 -
+
1129 0b00000000, //CV_1021 -
+
1130 0b00000000, //CV_1022 -
+
1131 0b00000000, //CV_1023 -
+
1132 0b00000000, //CV_1024 -
+
1133};
+
1134
+
1135
+
+ + +
+ + diff --git a/html/annotated.html b/html/annotated.html new file mode 100644 index 0000000..5c81fa0 --- /dev/null +++ b/html/annotated.html @@ -0,0 +1,104 @@ + + + + + + + +RP2040-Decoder: Data Structures + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Data Structures
+
+
+
Here are the data structures with brief descriptions:
+
+ + +
+ + diff --git a/html/bc_s.png b/html/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/html/bc_sd.png b/html/bc_sd.png new file mode 100644 index 0000000000000000000000000000000000000000..31ca888dc71049713b35c351933a8d0f36180bf1 GIT binary patch literal 635 zcmV->0)+jEP)Jwi0r1~gdSq#w{Bu1q z`craw(p2!hu$4C_$Oc3X(sI6e=9QSTwPt{G) z=htT&^~&c~L2~e{r5_5SYe7#Is-$ln>~Kd%$F#tC65?{LvQ}8O`A~RBB0N~`2M+waajO;5>3B&-viHGJeEK2TQOiPRa zfDKyqwMc4wfaEh4jt>H`nW_Zidwk@Bowp`}(VUaj-pSI(-1L>FJVsX}Yl9~JsqgsZ zUD9(rMwf23Gez6KPa|wwInZodP-2}9@fK0Ga_9{8SOjU&4l`pH4@qlQp83>>HT$xW zER^U>)MyV%t(Lu=`d=Y?{k1@}&r7ZGkFQ%z%N+sE9BtYjovzxyxCPxN6&@wLK{soQ zSmkj$aLI}miuE^p@~4}mg9OjDfGEkgY4~^XzLRUBB*O{+&vq<3v(E%+k_i%=`~j%{ Vj14gnt9}3g002ovPDHLkV1n!oC4m3{ literal 0 HcmV?d00001 diff --git a/html/classes.html b/html/classes.html new file mode 100644 index 0000000..370e91a --- /dev/null +++ b/html/classes.html @@ -0,0 +1,109 @@ + + + + + + + +RP2040-Decoder: Data Structure Index + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Data Structure Index
+
+ + + +
+ + diff --git a/html/clipboard.js b/html/clipboard.js new file mode 100644 index 0000000..42c1fb0 --- /dev/null +++ b/html/clipboard.js @@ -0,0 +1,61 @@ +/** + +The code below is based on the Doxygen Awesome project, see +https://github.com/jothepro/doxygen-awesome-css + +MIT License + +Copyright (c) 2021 - 2022 jothepro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +*/ + +let clipboard_title = "Copy to clipboard" +let clipboard_icon = `` +let clipboard_successIcon = `` +let clipboard_successDuration = 1000 + +$(function() { + if(navigator.clipboard) { + const fragments = document.getElementsByClassName("fragment") + for(const fragment of fragments) { + const clipboard_div = document.createElement("div") + clipboard_div.classList.add("clipboard") + clipboard_div.innerHTML = clipboard_icon + clipboard_div.title = clipboard_title + $(clipboard_div).click(function() { + const content = this.parentNode.cloneNode(true) + // filter out line number and folded fragments from file listings + content.querySelectorAll(".lineno, .ttc, .foldclosed").forEach((node) => { node.remove() }) + let text = content.textContent + // remove trailing newlines and trailing spaces from empty lines + text = text.replace(/^\s*\n/gm,'\n').replace(/\n*$/,'') + navigator.clipboard.writeText(text); + this.classList.add("success") + this.innerHTML = clipboard_successIcon + window.setTimeout(() => { // switch back to normal icon after timeout + this.classList.remove("success") + this.innerHTML = clipboard_icon + }, clipboard_successDuration); + }) + fragment.insertBefore(clipboard_div, fragment.firstChild) + } + } +}) diff --git a/html/closed.png b/html/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/html/cookie.js b/html/cookie.js new file mode 100644 index 0000000..53ad21d --- /dev/null +++ b/html/cookie.js @@ -0,0 +1,58 @@ +/*! + Cookie helper functions + Copyright (c) 2023 Dimitri van Heesch + Released under MIT license. +*/ +let Cookie = { + cookie_namespace: 'doxygen_', + + readSetting(cookie,defVal) { + if (window.chrome) { + const val = localStorage.getItem(this.cookie_namespace+cookie) || + sessionStorage.getItem(this.cookie_namespace+cookie); + if (val) return val; + } else { + let myCookie = this.cookie_namespace+cookie+"="; + if (document.cookie) { + const index = document.cookie.indexOf(myCookie); + if (index != -1) { + const valStart = index + myCookie.length; + let valEnd = document.cookie.indexOf(";", valStart); + if (valEnd == -1) { + valEnd = document.cookie.length; + } + return document.cookie.substring(valStart, valEnd); + } + } + } + return defVal; + }, + + writeSetting(cookie,val,days=10*365) { // default days='forever', 0=session cookie, -1=delete + if (window.chrome) { + if (days==0) { + sessionStorage.setItem(this.cookie_namespace+cookie,val); + } else { + localStorage.setItem(this.cookie_namespace+cookie,val); + } + } else { + let date = new Date(); + date.setTime(date.getTime()+(days*24*60*60*1000)); + const expiration = days!=0 ? "expires="+date.toGMTString()+";" : ""; + document.cookie = this.cookie_namespace + cookie + "=" + + val + "; SameSite=Lax;" + expiration + "path=/"; + } + }, + + eraseSetting(cookie) { + if (window.chrome) { + if (localStorage.getItem(this.cookie_namespace+cookie)) { + localStorage.removeItem(this.cookie_namespace+cookie); + } else if (sessionStorage.getItem(this.cookie_namespace+cookie)) { + sessionStorage.removeItem(this.cookie_namespace+cookie); + } + } else { + this.writeSetting(cookie,'',-1); + } + }, +} diff --git a/html/core0_8h.html b/html/core0_8h.html new file mode 100644 index 0000000..f55e62a --- /dev/null +++ b/html/core0_8h.html @@ -0,0 +1,632 @@ + + + + + + + +RP2040-Decoder: core0.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
+
+ +
core0.h File Reference
+
+
+
#include "shared.h"
+#include "CV.h"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + +

+Macros

+#define SIZE_BYTE_ARRAY   5
 
+#define MESSAGE_3_BYTES   0b11111111110000000000000000000000000001
 
+#define MESSAGE_MASK_3_BYTES   0b11111111111000000001000000001000000001
 
+#define MESSAGE_4_BYTES   0b11111111110000000000000000000000000000000000001
 
+#define MESSAGE_MASK_4_BYTES   0b11111111111000000001000000001000000001000000001
 
+#define MESSAGE_5_BYTES   0b11111111110000000000000000000000000000000000000000000001
 
+#define MESSAGE_MASK_5_BYTES   0b11111111111000000001000000001000000001000000001000000001
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

float two_std_dev (const float arr[], uint32_t length)
 Function returns average of values deviating less than twice the standard deviation from original average.
 
void adc_offset_adjustment (uint32_t n)
 Measures ADC offset and saves the offset value to flash memory.
 
void acknowledge ()
 Function for acknowledging a CV write or CV verify instruction.
 
void verify_cv_bit (uint16_t cv_address, bool bit_val, uint8_t bit_pos)
 Function for verifying a single bit of a CV.
 
void verify_cv_byte (uint16_t cv_address, uint8_t cv_data)
 Function for verifying a CV byte.
 
void write_cv_byte (uint16_t cv_address, uint8_t cv_data)
 Function for writing a CV byte.
 
void program_mode (uint8_t number_of_bytes, const uint8_t byte_array[])
 CV Programming mode function Used on entering programming mode in order to write CV values to persistent flash memory or verify/read bits/bytes from flash.
+ Refers to NMRA Standard 9.2.3 ("Service Mode Programming") or RCN-216
+
 
void set_outputs (uint32_t functions_to_set_bitmask)
 Set outputs according to function mapping in CV257 to CV512.
 
+void update_active_functions (uint32_t new_function_bitmask, uint8_t clr_bit_ind, bool direction_change)
 
+bool error_detection (int8_t number_of_bytes, const uint8_t *byte_array)
 
+bool is_long_address (uint8_t number_of_bytes, const uint8_t byte_array[])
 
+bool address_evaluation (uint8_t number_of_bytes, const uint8_t byte_array[])
 
+void instruction_evaluation (uint8_t number_of_bytes, const uint8_t byte_array[])
 
+bool reset_message_check (uint8_t number_of_bytes, const uint8_t *const byte_array)
 
+int8_t verify_dcc_message ()
 
+void bits_to_byte_array (int8_t number_of_bytes, uint8_t byte_array[])
 
+void evaluate_message ()
 
void track_signal_rise (unsigned int gpio, long unsigned int events)
 Track signal rising edge interrupt callback function.
 
void track_signal_fall (unsigned int gpio, long unsigned int events)
 Track signal falling edge interrupt callback function.
 
void init_outputs ()
 Output initialization function.
 
void cv_setup_check ()
 Checks various CV values in order to detect factory condition or pending calibrations.
 
void init_motor_pwm (uint8_t gpio)
 Function initializes motor PWM for pin specified.
 
void init_adc ()
 Initializes ADC.
 
+ + + + +

+Variables

const uint32_t clr_bit_arr [6]
 Bitmasks used for clearing bits corresponding to function blocks.
 
+

Detailed Description

+

Used exclusively by core0

+

Function Documentation

+ +

◆ acknowledge()

+ +
+
+ + + + + + + +
void acknowledge ()
+
+ +

Function for acknowledging a CV write or CV verify instruction.

+

Acknowledgement works by creating a spike in current consumption, normally realized by running the motor in alternating directions. This current increase is detected by the command station. Refers to NMRA S-9.2.3 Section D and RCN-216 Section 3

+ +
+
+ +

◆ adc_offset_adjustment()

+ +
+
+ + + + + + + +
void adc_offset_adjustment (uint32_t n)
+
+ +

Measures ADC offset and saves the offset value to flash memory.

+
Parameters
+ + +
nAmount of measurements to be done
+
+
+ +
+
+ +

◆ cv_setup_check()

+ +
+
+ + + + + + + +
void cv_setup_check ()
+
+ +

Checks various CV values in order to detect factory condition or pending calibrations.

+

Procedure:

    +
  1. Check for flash memory factory condition when found write default values specified in CV.h to flash memory
  2. +
  3. Check for existing ADC offset setup when not found write 7 to read-only CV_7 in order to trigger a ADC offset measurement/calibration
  4. +
  5. Check for base PWM configuration/calibration, run calibration when none is found
  6. +
+ +
+
+ +

◆ init_adc()

+ +
+
+ + + + + + + +
void init_adc ()
+
+ +

Initializes ADC.

+

Function initializes ADC, corresponding GPIO pins and ADC FIFO

+ +
+
+ +

◆ init_motor_pwm()

+ +
+
+ + + + + + + +
void init_motor_pwm (uint8_t gpio)
+
+ +

Function initializes motor PWM for pin specified.

+
Parameters
+ + +
gpioGPIO pin
+
+
+ +
+
+ +

◆ init_outputs()

+ +
+
+ + + + + + + +
void init_outputs ()
+
+ +

Output initialization function.

+

Initializes all allowed GPIO outputs as outputs
+ Sets PWM functionality for GPIOs configured as PWM pins CV_112 - CV_115 (see CV.h for reference)
+ PWM frequency and clock divider are configured according to CV_116 - CV_171 (see CV.h for reference)
+

+ +
+
+ +

◆ program_mode()

+ +
+
+ + + + + + + + + + + +
void program_mode (uint8_t number_of_bytes,
const uint8_t byte_array[] )
+
+ +

CV Programming mode function Used on entering programming mode in order to write CV values to persistent flash memory or verify/read bits/bytes from flash.
+ Refers to NMRA Standard 9.2.3 ("Service Mode Programming") or RCN-216
+

+

Procedure:

    +
  1. Checks for valid programming command
  2. +
  3. Disables core1 timers
  4. +
  5. Resets core1
  6. +
  7. Saves interrupts
  8. +
  9. Evaluates the type of programming instruction Write byte / Verify byte / Verify bit and runs corresponding function
  10. +
  11. Restores interrupts
  12. +
  13. Launch core1
  14. +
+
Parameters
+ + + +
number_of_bytesNumber of bytes in byte_array[]
byte_arrayPointer to byte_array[]
+
+
+ +
+
+ +

◆ set_outputs()

+ +
+
+ + + + + + + +
void set_outputs (uint32_t functions_to_set_bitmask)
+
+ +

Set outputs according to function mapping in CV257 to CV512.

+

This function maps the functions and direction to the mapped outputs configured in CV257 to CV512. Also enables PWM when enabled according to CV112 to CV115.

+
Parameters
+ + +
functions_to_set_bitmaskFunction bitmask F0 is bit0, F1 is bit1, ...
+
+
+ +
+
+ +

◆ track_signal_fall()

+ +
+
+ + + + + + + + + + + +
void track_signal_fall (unsigned int gpio,
long unsigned int events )
+
+ +

Track signal falling edge interrupt callback function.

+

Saves timer counter value using get_absolute_time(), then calculates time difference between rising and falling edge. When the time difference is greater than 87us, this bit is interpreted as a logical 0. Refers to NMRA S-9.1 and RCN-210 standards Puts the latest bit value into buffer, then evaluates complete buffer using evaluate_message(). Parameters are unused.

+
Parameters
+ + + +
gpioUnused parameter
eventsUnused parameter
+
+
+ +
+
+ +

◆ track_signal_rise()

+ +
+
+ + + + + + + + + + + +
void track_signal_rise (unsigned int gpio,
long unsigned int events )
+
+ +

Track signal rising edge interrupt callback function.

+

Saves timer counter value using get_absolute_time(), then disables rising edge IRQ and enables falling edge IRQ. Parameters are unused.

+
Parameters
+ + + +
gpioUnused parameter
eventsUnused parameter
+
+
+ +
+
+ +

◆ two_std_dev()

+ +
+
+ + + + + + + + + + + +
float two_std_dev (const float arr[],
uint32_t length )
+
+ +

Function returns average of values deviating less than twice the standard deviation from original average.

+
Parameters
+ + + +
arrinput array
lengthamount of elements in input array
+
+
+
Returns
average value of values deviating less than 2*standard_dev.
+ +
+
+ +

◆ verify_cv_bit()

+ +
+
+ + + + + + + + + + + + + + + + +
void verify_cv_bit (uint16_t cv_address,
bool bit_val,
uint8_t bit_pos )
+
+ +

Function for verifying a single bit of a CV.

+
Parameters
+ + + + +
cv_addressCV Address
bit_valValue of bit to be verified
bit_posPosition of bit to be verified
+
+
+ +
+
+ +

◆ verify_cv_byte()

+ +
+
+ + + + + + + + + + + +
void verify_cv_byte (uint16_t cv_address,
uint8_t cv_data )
+
+ +

Function for verifying a CV byte.

+
Parameters
+ + + +
cv_addressCV Address
cv_dataByte to be verified
+
+
+ +
+
+ +

◆ write_cv_byte()

+ +
+
+ + + + + + + + + + + +
void write_cv_byte (uint16_t cv_address,
uint8_t cv_data )
+
+ +

Function for writing a CV byte.

+
Parameters
+ + + +
cv_address
cv_data
+
+
+ +
+
+

Variable Documentation

+ +

◆ clr_bit_arr

+ +
+
+ + + + +
const uint32_t clr_bit_arr[6]
+
+Initial value:
= {
+
0b11111111111111111111111111100000,
+
0b11111111111111111111111000011111,
+
0b11111111111111111110000111111111,
+
0b11111111111000000001111111111111,
+
0b11100000000111111111111111111111,
+
0b00011111111111111111111111111111,
+
}
+
+

Bitmasks used for clearing bits corresponding to function blocks.

+

[0] = F0-F4 [1] = F5-F8 [2] = F9-F12 [3] = F13-F20 [4] = F21-F28 [5] = F29-F31

+ +
+
+
+ + +
+ + diff --git a/html/core0_8h_source.html b/html/core0_8h_source.html new file mode 100644 index 0000000..8695f28 --- /dev/null +++ b/html/core0_8h_source.html @@ -0,0 +1,183 @@ + + + + + + + +RP2040-Decoder: core0.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
core0.h
+
+
+Go to the documentation of this file.
1
+
7#pragma once
+
8
+
9#include "shared.h"
+
10#include "CV.h"
+
11
+
12#define SIZE_BYTE_ARRAY 5
+
13#define MESSAGE_3_BYTES 0b11111111110000000000000000000000000001
+
14#define MESSAGE_MASK_3_BYTES 0b11111111111000000001000000001000000001
+
15#define MESSAGE_4_BYTES 0b11111111110000000000000000000000000000000000001
+
16#define MESSAGE_MASK_4_BYTES 0b11111111111000000001000000001000000001000000001
+
17#define MESSAGE_5_BYTES 0b11111111110000000000000000000000000000000000000000000001
+
18#define MESSAGE_MASK_5_BYTES 0b11111111111000000001000000001000000001000000001000000001
+
19
+
+
31const uint32_t clr_bit_arr[6] = {
+
32 0b11111111111111111111111111100000, // Clear Bits 0-4 (F0-F4)
+
33 0b11111111111111111111111000011111, // Clear Bits 5-8 (F5-F8)
+
34 0b11111111111111111110000111111111, // Clear Bits 9-12 (F9-F12)
+
35 0b11111111111000000001111111111111, // Clear Bits 13-20 (F13-F20)
+
36 0b11100000000111111111111111111111, // Clear Bits 21-28 (F21-F28)
+
37 0b00011111111111111111111111111111, // Clear Bits 29-31 (F29-F31)
+
38};
+
+
39
+
47float two_std_dev(const float arr[], uint32_t length);
+
48
+
53void adc_offset_adjustment(uint32_t n);
+
54
+
62void acknowledge();
+
63
+
70void verify_cv_bit(uint16_t cv_address, bool bit_val, uint8_t bit_pos);
+
71
+
77void verify_cv_byte(uint16_t cv_address, uint8_t cv_data);
+
78
+
84void write_cv_byte(uint16_t cv_address, uint8_t cv_data);
+
85
+
103void program_mode(uint8_t number_of_bytes, const uint8_t byte_array[]);
+
104
+
113void set_outputs(uint32_t functions_to_set_bitmask);
+
114
+
115void update_active_functions(uint32_t new_function_bitmask, uint8_t clr_bit_ind, bool direction_change);
+
116
+
117bool error_detection(int8_t number_of_bytes, const uint8_t *byte_array);
+
118
+
119bool is_long_address(uint8_t number_of_bytes, const uint8_t byte_array[]);
+
120
+
121bool address_evaluation(uint8_t number_of_bytes, const uint8_t byte_array[]);
+
122
+
123void instruction_evaluation(uint8_t number_of_bytes, const uint8_t byte_array[]);
+
124
+
125bool reset_message_check(uint8_t number_of_bytes, const uint8_t *const byte_array);
+
126
+
127int8_t verify_dcc_message();
+
128
+
129void bits_to_byte_array(int8_t number_of_bytes, uint8_t byte_array[]);
+
130
+
131void evaluate_message();
+
132
+
142void track_signal_rise(unsigned int gpio, long unsigned int events);
+
143
+
156void track_signal_fall(unsigned int gpio, long unsigned int events);
+
157
+
165void init_outputs();
+
166
+
175void cv_setup_check();
+
176
+
181void init_motor_pwm(uint8_t gpio);
+
182
+
188void init_adc();
+
void init_outputs()
Output initialization function.
Definition core0.c:514
+
void write_cv_byte(uint16_t cv_address, uint8_t cv_data)
Function for writing a CV byte.
Definition core0.c:120
+
void set_outputs(uint32_t functions_to_set_bitmask)
Set outputs according to function mapping in CV257 to CV512.
Definition core0.c:238
+
void verify_cv_byte(uint16_t cv_address, uint8_t cv_data)
Function for verifying a CV byte.
Definition core0.c:114
+
void init_adc()
Initializes ADC.
Definition core0.c:599
+
const uint32_t clr_bit_arr[6]
Bitmasks used for clearing bits corresponding to function blocks.
Definition core0.h:31
+
void program_mode(uint8_t number_of_bytes, const uint8_t byte_array[])
CV Programming mode function Used on entering programming mode in order to write CV values to persist...
+
float two_std_dev(const float arr[], uint32_t length)
Function returns average of values deviating less than twice the standard deviation from original ave...
Definition core0.c:16
+
void track_signal_rise(unsigned int gpio, long unsigned int events)
Track signal rising edge interrupt callback function.
Definition core0.c:486
+
void track_signal_fall(unsigned int gpio, long unsigned int events)
Track signal falling edge interrupt callback function.
Definition core0.c:496
+
void acknowledge()
Function for acknowledging a CV write or CV verify instruction.
Definition core0.c:93
+
void adc_offset_adjustment(uint32_t n)
Measures ADC offset and saves the offset value to flash memory.
Definition core0.c:47
+
void init_motor_pwm(uint8_t gpio)
Function initializes motor PWM for pin specified.
Definition core0.c:584
+
void verify_cv_bit(uint16_t cv_address, bool bit_val, uint8_t bit_pos)
Function for verifying a single bit of a CV.
Definition core0.c:104
+
void cv_setup_check()
Checks various CV values in order to detect factory condition or pending calibrations.
Definition core0.c:537
+ +
+ + +
+ + diff --git a/html/core1_8h.html b/html/core1_8h.html new file mode 100644 index 0000000..370f1a4 --- /dev/null +++ b/html/core1_8h.html @@ -0,0 +1,170 @@ + + + + + + + +RP2040-Decoder: core1.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
+
+ +
core1.h File Reference
+
+
+
#include "shared.h"
+
+

Go to the source code of this file.

+ + + + + + + + +

+Data Structures

struct  startup_parameters_t
 
struct  pid_parameters_t
 
struct  controller_parameter_t
 
+ + + +

+Macros

+#define BASE_PWM_ARR_LEN   16
 
+ + + + + + + +

+Typedefs

+typedef struct startup_parameters_t startup_parameters_t
 
+typedef struct pid_parameters_t pid_parameter_t
 
+typedef struct controller_parameter_t controller_parameter_t
 
+ + + +

+Enumerations

enum  controller_mode_t { STARTUP_MODE +, PID_MODE + }
 
+ + + + + + + + + + + + + + + + + +

+Functions

+uint8_t get_speed_step_table_index_of_speed_step (uint8_t speed_step)
 
+bool speed_helper (struct repeating_timer *t)
 
+void adjust_pwm_level (uint16_t level)
 
+float get_kp (const controller_parameter_t *ctrl_par)
 
+uint16_t get_initial_level (controller_parameter_t *ctrl_par)
 
+void controller_startup_mode (controller_parameter_t *ctrl_par)
 
+bool controller_general (struct repeating_timer *t)
 
+void init_controller (controller_parameter_t *ctrl_par)
 
+

Detailed Description

+

Used exclusively by core1

+
+ + +
+ + diff --git a/html/core1_8h_source.html b/html/core1_8h_source.html new file mode 100644 index 0000000..061bf2e --- /dev/null +++ b/html/core1_8h_source.html @@ -0,0 +1,187 @@ + + + + + + + +RP2040-Decoder: core1.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
core1.h
+
+
+Go to the documentation of this file.
1
+
8#pragma once
+
9#include "shared.h"
+
10
+
11#define BASE_PWM_ARR_LEN 16
+
12
+
13typedef enum {
+
14 STARTUP_MODE,
+
15 PID_MODE,
+
16} controller_mode_t;
+
17
+
+
18typedef struct startup_parameters_t {
+
19 uint16_t level;
+
20 uint16_t base_pwm_arr[BASE_PWM_ARR_LEN];
+
21 uint16_t base_pwm_arr_i;
+ +
+
23
+
+
24typedef struct pid_parameters_t{
+
25 // PID Controller variables
+
26 float k_i; // Integral gain
+
27 float k_d; // Derivative gain
+
28 float t; // Sampling time
+
29 float tau; // Low-pass-filter time constant
+
30 float ci_0; // (k_i*t)/2
+
31 float cd_0; // (k_d*2)/(2*tau+t)
+
32 float cd_1; // (2*tau-t)/(2*tau+t)
+
33 float int_lim_max; // max limit for integrator
+
34 float int_lim_min; // min limit for integrator
+
35 float max_output; // max possible pwm output value
+
36 float k_p; // Proportional gain
+
37 float e; // Error
+
38 float e_prev; // Previous Error
+
39 float i_prev; // Previous Integral Value
+
40 float d_prev; // Previous Derivative Value
+
41 // Variable gain variables
+
42 float k_p_x_1_shift;
+
43 float k_p_x_1;
+
44 float k_p_x_2;
+
45 float k_p_y_0;
+
46 float k_p_y_1;
+
47 float k_p_y_2;
+
48 float k_p_m_1;
+
49 float k_p_m_2;
+ +
+
51
+
+ +
56 controller_mode_t mode; // Controller mode
+
57 float feed_fwd; // Feed forward value
+
58 uint32_t setpoint; // Current setpoint
+
59 uint16_t speed_table[127]; // Array with setpoint values corresponding to every speed step
+
60
+ +
65
+ +
70
+
74 float measurement; // Newest Measurement value
+
75 float measurement_prev; // Previous Measurement
+
76 float measurement_corrected; // measurement - adc_offset = measurement_corrected
+
77 float adc_offset; // ADC offset value
+
78 uint8_t msr_delay_in_us; // Delay before VEMF Measurement
+
79 uint8_t msr_total_iterations; // Amount of samples
+
80 uint8_t l_side_arr_cutoff; // Discarded samples (left side)
+
81 uint8_t r_side_arr_cutoff; // Discarded samples (right side)
+
82
+ +
+
84
+
85
+
86
+
87uint8_t get_speed_step_table_index_of_speed_step(uint8_t speed_step);
+
88bool speed_helper(struct repeating_timer *t);
+
89void adjust_pwm_level(uint16_t level);
+
90float get_kp(const controller_parameter_t *ctrl_par);
+
91uint16_t get_initial_level(controller_parameter_t * ctrl_par);
+
92void controller_startup_mode(controller_parameter_t * ctrl_par);
+
93bool controller_general(struct repeating_timer * t);
+
94void init_controller(controller_parameter_t * ctrl_par);
+ +
Definition core1.h:52
+
controller_mode_t mode
Definition core1.h:56
+
startup_parameters_t startup
Definition core1.h:64
+
float measurement
Definition core1.h:74
+
pid_parameter_t pid
Definition core1.h:69
+
Definition core1.h:24
+
Definition core1.h:18
+
+ + +
+ + diff --git a/html/doc.svg b/html/doc.svg new file mode 100644 index 0000000..0b928a5 --- /dev/null +++ b/html/doc.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/html/docd.svg b/html/docd.svg new file mode 100644 index 0000000..ac18b27 --- /dev/null +++ b/html/docd.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/html/doxygen.css b/html/doxygen.css new file mode 100644 index 0000000..574b333 --- /dev/null +++ b/html/doxygen.css @@ -0,0 +1,2247 @@ +/* The standard CSS for doxygen 1.12.0*/ + +html { +/* page base colors */ +--page-background-color: white; +--page-foreground-color: black; +--page-link-color: #3D578C; +--page-visited-link-color: #4665A2; + +/* index */ +--index-odd-item-bg-color: #F8F9FC; +--index-even-item-bg-color: white; +--index-header-color: black; +--index-separator-color: #A0A0A0; + +/* header */ +--header-background-color: #F9FAFC; +--header-separator-color: #C4CFE5; +--header-gradient-image: url('nav_h.png'); +--group-header-separator-color: #879ECB; +--group-header-color: #354C7B; +--inherit-header-color: gray; + +--footer-foreground-color: #2A3D61; +--footer-logo-width: 104px; +--citation-label-color: #334975; +--glow-color: cyan; + +--title-background-color: white; +--title-separator-color: #5373B4; +--directory-separator-color: #9CAFD4; +--separator-color: #4A6AAA; + +--blockquote-background-color: #F7F8FB; +--blockquote-border-color: #9CAFD4; + +--scrollbar-thumb-color: #9CAFD4; +--scrollbar-background-color: #F9FAFC; + +--icon-background-color: #728DC1; +--icon-foreground-color: white; +--icon-doc-image: url('doc.svg'); +--icon-folder-open-image: url('folderopen.svg'); +--icon-folder-closed-image: url('folderclosed.svg'); + +/* brief member declaration list */ +--memdecl-background-color: #F9FAFC; +--memdecl-separator-color: #DEE4F0; +--memdecl-foreground-color: #555; +--memdecl-template-color: #4665A2; + +/* detailed member list */ +--memdef-border-color: #A8B8D9; +--memdef-title-background-color: #E2E8F2; +--memdef-title-gradient-image: url('nav_f.png'); +--memdef-proto-background-color: #DFE5F1; +--memdef-proto-text-color: #253555; +--memdef-proto-text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); +--memdef-doc-background-color: white; +--memdef-param-name-color: #602020; +--memdef-template-color: #4665A2; + +/* tables */ +--table-cell-border-color: #2D4068; +--table-header-background-color: #374F7F; +--table-header-foreground-color: #FFFFFF; + +/* labels */ +--label-background-color: #728DC1; +--label-left-top-border-color: #5373B4; +--label-right-bottom-border-color: #C4CFE5; +--label-foreground-color: white; + +/** navigation bar/tree/menu */ +--nav-background-color: #F9FAFC; +--nav-foreground-color: #364D7C; +--nav-gradient-image: url('tab_b.png'); +--nav-gradient-hover-image: url('tab_h.png'); +--nav-gradient-active-image: url('tab_a.png'); +--nav-gradient-active-image-parent: url("../tab_a.png"); +--nav-separator-image: url('tab_s.png'); +--nav-breadcrumb-image: url('bc_s.png'); +--nav-breadcrumb-border-color: #C2CDE4; +--nav-splitbar-image: url('splitbar.png'); +--nav-font-size-level1: 13px; +--nav-font-size-level2: 10px; +--nav-font-size-level3: 9px; +--nav-text-normal-color: #283A5D; +--nav-text-hover-color: white; +--nav-text-active-color: white; +--nav-text-normal-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); +--nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-menu-button-color: #364D7C; +--nav-menu-background-color: white; +--nav-menu-foreground-color: #555555; +--nav-menu-toggle-color: rgba(255, 255, 255, 0.5); +--nav-arrow-color: #9CAFD4; +--nav-arrow-selected-color: #9CAFD4; + +/* table of contents */ +--toc-background-color: #F4F6FA; +--toc-border-color: #D8DFEE; +--toc-header-color: #4665A2; +--toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); + +/** search field */ +--search-background-color: white; +--search-foreground-color: #909090; +--search-magnification-image: url('mag.svg'); +--search-magnification-select-image: url('mag_sel.svg'); +--search-active-color: black; +--search-filter-background-color: #F9FAFC; +--search-filter-foreground-color: black; +--search-filter-border-color: #90A5CE; +--search-filter-highlight-text-color: white; +--search-filter-highlight-bg-color: #3D578C; +--search-results-foreground-color: #425E97; +--search-results-background-color: #EEF1F7; +--search-results-border-color: black; +--search-box-shadow: inset 0.5px 0.5px 3px 0px #555; + +/** code fragments */ +--code-keyword-color: #008000; +--code-type-keyword-color: #604020; +--code-flow-keyword-color: #E08000; +--code-comment-color: #800000; +--code-preprocessor-color: #806020; +--code-string-literal-color: #002080; +--code-char-literal-color: #008080; +--code-xml-cdata-color: black; +--code-vhdl-digit-color: #FF00FF; +--code-vhdl-char-color: #000000; +--code-vhdl-keyword-color: #700070; +--code-vhdl-logic-color: #FF0000; +--code-link-color: #4665A2; +--code-external-link-color: #4665A2; +--fragment-foreground-color: black; +--fragment-background-color: #FBFCFD; +--fragment-border-color: #C4CFE5; +--fragment-lineno-border-color: #00FF00; +--fragment-lineno-background-color: #E8E8E8; +--fragment-lineno-foreground-color: black; +--fragment-lineno-link-fg-color: #4665A2; +--fragment-lineno-link-bg-color: #D8D8D8; +--fragment-lineno-link-hover-fg-color: #4665A2; +--fragment-lineno-link-hover-bg-color: #C8C8C8; +--fragment-copy-ok-color: #2EC82E; +--tooltip-foreground-color: black; +--tooltip-background-color: white; +--tooltip-border-color: gray; +--tooltip-doc-color: grey; +--tooltip-declaration-color: #006318; +--tooltip-link-color: #4665A2; +--tooltip-shadow: 1px 1px 7px gray; +--fold-line-color: #808080; +--fold-minus-image: url('minus.svg'); +--fold-plus-image: url('plus.svg'); +--fold-minus-image-relpath: url('../../minus.svg'); +--fold-plus-image-relpath: url('../../plus.svg'); + +/** font-family */ +--font-family-normal: Roboto,sans-serif; +--font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; +--font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +--font-family-title: Tahoma,Arial,sans-serif; +--font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; +--font-family-search: Arial,Verdana,sans-serif; +--font-family-icon: Arial,Helvetica; +--font-family-tooltip: Roboto,sans-serif; + +/** special sections */ +--warning-color-bg: #f8d1cc; +--warning-color-hl: #b61825; +--warning-color-text: #75070f; +--note-color-bg: #faf3d8; +--note-color-hl: #f3a600; +--note-color-text: #5f4204; +--todo-color-bg: #e4f3ff; +--todo-color-hl: #1879C4; +--todo-color-text: #274a5c; +--test-color-bg: #e8e8ff; +--test-color-hl: #3939C4; +--test-color-text: #1a1a5c; +--deprecated-color-bg: #ecf0f3; +--deprecated-color-hl: #5b6269; +--deprecated-color-text: #43454a; +--bug-color-bg: #e4dafd; +--bug-color-hl: #5b2bdd; +--bug-color-text: #2a0d72; +--invariant-color-bg: #d8f1e3; +--invariant-color-hl: #44b86f; +--invariant-color-text: #265532; +} + +@media (prefers-color-scheme: dark) { + html:not(.dark-mode) { + color-scheme: dark; + +/* page base colors */ +--page-background-color: black; +--page-foreground-color: #C9D1D9; +--page-link-color: #90A5CE; +--page-visited-link-color: #A3B4D7; + +/* index */ +--index-odd-item-bg-color: #0B101A; +--index-even-item-bg-color: black; +--index-header-color: #C4CFE5; +--index-separator-color: #334975; + +/* header */ +--header-background-color: #070B11; +--header-separator-color: #141C2E; +--header-gradient-image: url('nav_hd.png'); +--group-header-separator-color: #283A5D; +--group-header-color: #90A5CE; +--inherit-header-color: #A0A0A0; + +--footer-foreground-color: #5B7AB7; +--footer-logo-width: 60px; +--citation-label-color: #90A5CE; +--glow-color: cyan; + +--title-background-color: #090D16; +--title-separator-color: #354C79; +--directory-separator-color: #283A5D; +--separator-color: #283A5D; + +--blockquote-background-color: #101826; +--blockquote-border-color: #283A5D; + +--scrollbar-thumb-color: #283A5D; +--scrollbar-background-color: #070B11; + +--icon-background-color: #334975; +--icon-foreground-color: #C4CFE5; +--icon-doc-image: url('docd.svg'); +--icon-folder-open-image: url('folderopend.svg'); +--icon-folder-closed-image: url('folderclosedd.svg'); + +/* brief member declaration list */ +--memdecl-background-color: #0B101A; +--memdecl-separator-color: #2C3F65; +--memdecl-foreground-color: #BBB; +--memdecl-template-color: #7C95C6; + +/* detailed member list */ +--memdef-border-color: #233250; +--memdef-title-background-color: #1B2840; +--memdef-title-gradient-image: url('nav_fd.png'); +--memdef-proto-background-color: #19243A; +--memdef-proto-text-color: #9DB0D4; +--memdef-proto-text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9); +--memdef-doc-background-color: black; +--memdef-param-name-color: #D28757; +--memdef-template-color: #7C95C6; + +/* tables */ +--table-cell-border-color: #283A5D; +--table-header-background-color: #283A5D; +--table-header-foreground-color: #C4CFE5; + +/* labels */ +--label-background-color: #354C7B; +--label-left-top-border-color: #4665A2; +--label-right-bottom-border-color: #283A5D; +--label-foreground-color: #CCCCCC; + +/** navigation bar/tree/menu */ +--nav-background-color: #101826; +--nav-foreground-color: #364D7C; +--nav-gradient-image: url('tab_bd.png'); +--nav-gradient-hover-image: url('tab_hd.png'); +--nav-gradient-active-image: url('tab_ad.png'); +--nav-gradient-active-image-parent: url("../tab_ad.png"); +--nav-separator-image: url('tab_sd.png'); +--nav-breadcrumb-image: url('bc_sd.png'); +--nav-breadcrumb-border-color: #2A3D61; +--nav-splitbar-image: url('splitbard.png'); +--nav-font-size-level1: 13px; +--nav-font-size-level2: 10px; +--nav-font-size-level3: 9px; +--nav-text-normal-color: #B6C4DF; +--nav-text-hover-color: #DCE2EF; +--nav-text-active-color: #DCE2EF; +--nav-text-normal-shadow: 0px 1px 1px black; +--nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-menu-button-color: #B6C4DF; +--nav-menu-background-color: #05070C; +--nav-menu-foreground-color: #BBBBBB; +--nav-menu-toggle-color: rgba(255, 255, 255, 0.2); +--nav-arrow-color: #334975; +--nav-arrow-selected-color: #90A5CE; + +/* table of contents */ +--toc-background-color: #151E30; +--toc-border-color: #202E4A; +--toc-header-color: #A3B4D7; +--toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); + +/** search field */ +--search-background-color: black; +--search-foreground-color: #C5C5C5; +--search-magnification-image: url('mag_d.svg'); +--search-magnification-select-image: url('mag_seld.svg'); +--search-active-color: #C5C5C5; +--search-filter-background-color: #101826; +--search-filter-foreground-color: #90A5CE; +--search-filter-border-color: #7C95C6; +--search-filter-highlight-text-color: #BCC9E2; +--search-filter-highlight-bg-color: #283A5D; +--search-results-background-color: #101826; +--search-results-foreground-color: #90A5CE; +--search-results-border-color: #7C95C6; +--search-box-shadow: inset 0.5px 0.5px 3px 0px #2F436C; + +/** code fragments */ +--code-keyword-color: #CC99CD; +--code-type-keyword-color: #AB99CD; +--code-flow-keyword-color: #E08000; +--code-comment-color: #717790; +--code-preprocessor-color: #65CABE; +--code-string-literal-color: #7EC699; +--code-char-literal-color: #00E0F0; +--code-xml-cdata-color: #C9D1D9; +--code-vhdl-digit-color: #FF00FF; +--code-vhdl-char-color: #C0C0C0; +--code-vhdl-keyword-color: #CF53C9; +--code-vhdl-logic-color: #FF0000; +--code-link-color: #79C0FF; +--code-external-link-color: #79C0FF; +--fragment-foreground-color: #C9D1D9; +--fragment-background-color: #090D16; +--fragment-border-color: #30363D; +--fragment-lineno-border-color: #30363D; +--fragment-lineno-background-color: black; +--fragment-lineno-foreground-color: #6E7681; +--fragment-lineno-link-fg-color: #6E7681; +--fragment-lineno-link-bg-color: #303030; +--fragment-lineno-link-hover-fg-color: #8E96A1; +--fragment-lineno-link-hover-bg-color: #505050; +--fragment-copy-ok-color: #0EA80E; +--tooltip-foreground-color: #C9D1D9; +--tooltip-background-color: #202020; +--tooltip-border-color: #C9D1D9; +--tooltip-doc-color: #D9E1E9; +--tooltip-declaration-color: #20C348; +--tooltip-link-color: #79C0FF; +--tooltip-shadow: none; +--fold-line-color: #808080; +--fold-minus-image: url('minusd.svg'); +--fold-plus-image: url('plusd.svg'); +--fold-minus-image-relpath: url('../../minusd.svg'); +--fold-plus-image-relpath: url('../../plusd.svg'); + +/** font-family */ +--font-family-normal: Roboto,sans-serif; +--font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; +--font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +--font-family-title: Tahoma,Arial,sans-serif; +--font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; +--font-family-search: Arial,Verdana,sans-serif; +--font-family-icon: Arial,Helvetica; +--font-family-tooltip: Roboto,sans-serif; + +/** special sections */ +--warning-color-bg: #2e1917; +--warning-color-hl: #ad2617; +--warning-color-text: #f5b1aa; +--note-color-bg: #3b2e04; +--note-color-hl: #f1b602; +--note-color-text: #ceb670; +--todo-color-bg: #163750; +--todo-color-hl: #1982D2; +--todo-color-text: #dcf0fa; +--test-color-bg: #121258; +--test-color-hl: #4242cf; +--test-color-text: #c0c0da; +--deprecated-color-bg: #2e323b; +--deprecated-color-hl: #738396; +--deprecated-color-text: #abb0bd; +--bug-color-bg: #2a2536; +--bug-color-hl: #7661b3; +--bug-color-text: #ae9ed6; +--invariant-color-bg: #303a35; +--invariant-color-hl: #76ce96; +--invariant-color-text: #cceed5; +}} +body { + background-color: var(--page-background-color); + color: var(--page-foreground-color); +} + +body, table, div, p, dl { + font-weight: 400; + font-size: 14px; + font-family: var(--font-family-normal); + line-height: 22px; +} + +/* @group Heading Levels */ + +.title { + font-family: var(--font-family-normal); + line-height: 28px; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h1.groupheader { + font-size: 150%; +} + +h2.groupheader { + border-bottom: 1px solid var(--group-header-separator-color); + color: var(--group-header-color); + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px var(--glow-color); +} + +dt { + font-weight: bold; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +th p.starttd, th p.intertd, th p.endtd { + font-size: 100%; + font-weight: 700; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +p.interli { +} + +p.interdd { +} + +p.intertd { +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.navtab { + padding-right: 15px; + text-align: right; + line-height: 110%; +} + +div.navtab table { + border-spacing: 0; +} + +td.navtab { + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL { + background-image: var(--nav-gradient-active-image); + background-repeat:repeat-x; + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL a, td.navtabHL a:visited { + color: var(--nav-text-hover-color); + text-shadow: var(--nav-text-hover-shadow); +} + +a.navtab { + font-weight: bold; +} + +div.qindex{ + text-align: center; + width: 100%; + line-height: 140%; + font-size: 130%; + color: var(--index-separator-color); +} + +#main-menu a:focus { + outline: auto; + z-index: 10; + position: relative; +} + +dt.alphachar{ + font-size: 180%; + font-weight: bold; +} + +.alphachar a{ + color: var(--index-header-color); +} + +.alphachar a:hover, .alphachar a:visited{ + text-decoration: none; +} + +.classindex dl { + padding: 25px; + column-count:1 +} + +.classindex dd { + display:inline-block; + margin-left: 50px; + width: 90%; + line-height: 1.15em; +} + +.classindex dl.even { + background-color: var(--index-even-item-bg-color); +} + +.classindex dl.odd { + background-color: var(--index-odd-item-bg-color); +} + +@media(min-width: 1120px) { + .classindex dl { + column-count:2 + } +} + +@media(min-width: 1320px) { + .classindex dl { + column-count:3 + } +} + + +/* @group Link Styling */ + +a { + color: var(--page-link-color); + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: var(--page-visited-link-color); +} + +a:hover { + text-decoration: none; + background: linear-gradient(to bottom, transparent 0,transparent calc(100% - 1px), currentColor 100%); +} + +a:hover > span.arrow { + text-decoration: none; + background : var(--nav-background-color); +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: var(--code-link-color); +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: var(--code-external-link-color); +} + +a.code.hl_class { /* style for links to class names in code snippets */ } +a.code.hl_struct { /* style for links to struct names in code snippets */ } +a.code.hl_union { /* style for links to union names in code snippets */ } +a.code.hl_interface { /* style for links to interface names in code snippets */ } +a.code.hl_protocol { /* style for links to protocol names in code snippets */ } +a.code.hl_category { /* style for links to category names in code snippets */ } +a.code.hl_exception { /* style for links to exception names in code snippets */ } +a.code.hl_service { /* style for links to service names in code snippets */ } +a.code.hl_singleton { /* style for links to singleton names in code snippets */ } +a.code.hl_concept { /* style for links to concept names in code snippets */ } +a.code.hl_namespace { /* style for links to namespace names in code snippets */ } +a.code.hl_package { /* style for links to package names in code snippets */ } +a.code.hl_define { /* style for links to macro names in code snippets */ } +a.code.hl_function { /* style for links to function names in code snippets */ } +a.code.hl_variable { /* style for links to variable names in code snippets */ } +a.code.hl_typedef { /* style for links to typedef names in code snippets */ } +a.code.hl_enumvalue { /* style for links to enum value names in code snippets */ } +a.code.hl_enumeration { /* style for links to enumeration names in code snippets */ } +a.code.hl_signal { /* style for links to Qt signal names in code snippets */ } +a.code.hl_slot { /* style for links to Qt slot names in code snippets */ } +a.code.hl_friend { /* style for links to friend names in code snippets */ } +a.code.hl_dcop { /* style for links to KDE3 DCOP names in code snippets */ } +a.code.hl_property { /* style for links to property names in code snippets */ } +a.code.hl_event { /* style for links to event names in code snippets */ } +a.code.hl_sequence { /* style for links to sequence names in code snippets */ } +a.code.hl_dictionary { /* style for links to dictionary names in code snippets */ } + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +ul.check { + list-style:none; + text-indent: -16px; + padding-left: 38px; +} +li.unchecked:before { + content: "\2610\A0"; +} +li.checked:before { + content: "\2611\A0"; +} + +ol { + text-indent: 0px; +} + +ul { + text-indent: 0px; + overflow: visible; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; + list-style-type: none; +} + +#side-nav ul { + overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ +} + +#main-nav ul { + overflow: visible; /* reset ul rule for the navigation bar drop down lists */ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; + overflow-y: hidden; + position: relative; + min-height: 12px; + margin: 10px 0px; + padding: 10px 10px; + border: 1px solid var(--fragment-border-color); + border-radius: 4px; + background-color: var(--fragment-background-color); + color: var(--fragment-foreground-color); +} + +pre.fragment { + word-wrap: break-word; + font-size: 10pt; + line-height: 125%; + font-family: var(--font-family-monospace); +} + +.clipboard { + width: 24px; + height: 24px; + right: 5px; + top: 5px; + opacity: 0; + position: absolute; + display: inline; + overflow: auto; + fill: var(--fragment-foreground-color); + justify-content: center; + align-items: center; + cursor: pointer; +} + +.clipboard.success { + border: 1px solid var(--fragment-foreground-color); + border-radius: 4px; +} + +.fragment:hover .clipboard, .clipboard.success { + opacity: .28; +} + +.clipboard:hover, .clipboard.success { + opacity: 1 !important; +} + +.clipboard:active:not([class~=success]) svg { + transform: scale(.91); +} + +.clipboard.success svg { + fill: var(--fragment-copy-ok-color); +} + +.clipboard.success { + border-color: var(--fragment-copy-ok-color); +} + +div.line { + font-family: var(--font-family-monospace); + font-size: 13px; + min-height: 13px; + line-height: 1.2; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: var(--glow-color); + box-shadow: 0 0 10px var(--glow-color); +} + +span.fold { + margin-left: 5px; + margin-right: 1px; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; + display: inline-block; + width: 12px; + height: 12px; + background-repeat:no-repeat; + background-position:center; +} + +span.lineno { + padding-right: 4px; + margin-right: 9px; + text-align: right; + border-right: 2px solid var(--fragment-lineno-border-color); + color: var(--fragment-lineno-foreground-color); + background-color: var(--fragment-lineno-background-color); + white-space: pre; +} +span.lineno a, span.lineno a:visited { + color: var(--fragment-lineno-link-fg-color); + background-color: var(--fragment-lineno-link-bg-color); +} + +span.lineno a:hover { + color: var(--fragment-lineno-link-hover-fg-color); + background-color: var(--fragment-lineno-link-hover-bg-color); +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + color: var(--page-foreground-color); + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +p.formulaDsp { + text-align: center; +} + +img.dark-mode-visible { + display: none; +} +img.light-mode-visible { + display: none; +} + +img.formulaInl, img.inline { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; + width: var(--footer-logo-width); +} + +.compoundTemplParams { + color: var(--memdecl-template-color); + font-size: 80%; + line-height: 120%; +} + +/* @group Code Colorization */ + +span.keyword { + color: var(--code-keyword-color); +} + +span.keywordtype { + color: var(--code-type-keyword-color); +} + +span.keywordflow { + color: var(--code-flow-keyword-color); +} + +span.comment { + color: var(--code-comment-color); +} + +span.preprocessor { + color: var(--code-preprocessor-color); +} + +span.stringliteral { + color: var(--code-string-literal-color); +} + +span.charliteral { + color: var(--code-char-literal-color); +} + +span.xmlcdata { + color: var(--code-xml-cdata-color); +} + +span.vhdldigit { + color: var(--code-vhdl-digit-color); +} + +span.vhdlchar { + color: var(--code-vhdl-char-color); +} + +span.vhdlkeyword { + color: var(--code-vhdl-keyword-color); +} + +span.vhdllogic { + color: var(--code-vhdl-logic-color); +} + +blockquote { + background-color: var(--blockquote-background-color); + border-left: 2px solid var(--blockquote-border-color); + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid var(--table-cell-border-color); +} + +th.dirtab { + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid var(--separator-color); +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: var(--glow-color); + box-shadow: 0 0 15px var(--glow-color); +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: var(--memdecl-background-color); + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: var(--memdecl-foreground-color); +} + +.memSeparator { + border-bottom: 1px solid var(--memdecl-separator-color); + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight, .memTemplItemRight { + width: 100%; +} + +.memTemplParams { + color: var(--memdecl-template-color); + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: var(--memdef-title-gradient-image); + background-repeat: repeat-x; + background-color: var(--memdef-title-background-color); + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: var(--memdef-template-color); + font-weight: normal; + margin-left: 9px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px var(--glow-color); +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); + padding: 6px 0px 6px 0px; + color: var(--memdef-proto-text-color); + font-weight: bold; + text-shadow: var(--memdef-proto-text-shadow); + background-color: var(--memdef-proto-background-color); + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; +} + +.overload { + font-family: var(--font-family-monospace); + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); + padding: 6px 10px 2px 10px; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: var(--memdef-doc-background-color); + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; + padding: 0px; + padding-bottom: 1px; +} + +.paramname { + white-space: nowrap; + padding: 0px; + padding-bottom: 1px; + margin-left: 2px; +} + +.paramname em { + color: var(--memdef-param-name-color); + font-style: normal; + margin-right: 1px; +} + +.paramname .paramdefval { + font-family: var(--font-family-monospace); +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype, .tparams .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir, .tparams .paramdir { + font-family: var(--font-family-monospace); + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: var(--label-background-color); + border-top:1px solid var(--label-left-top-border-color); + border-left:1px solid var(--label-left-top-border-color); + border-right:1px solid var(--label-right-bottom-border-color); + border-bottom:1px solid var(--label-right-bottom-border-color); + text-shadow: none; + color: var(--label-foreground-color); + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid var(--directory-separator-color); + border-bottom: 1px solid var(--directory-separator-color); + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.odd { + padding-left: 6px; + background-color: var(--index-odd-item-bg-color); +} + +.directory tr.even { + padding-left: 6px; + background-color: var(--index-even-item-bg-color); +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: var(--page-link-color); +} + +.arrow { + color: var(--nav-arrow-color); + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: var(--font-family-icon); + line-height: normal; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: var(--icon-background-color); + color: var(--icon-foreground-color); + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:var(--icon-folder-open-image); + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:var(--icon-folder-closed-image); + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:var(--icon-doc-image); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: var(--footer-foreground-color); +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid var(--table-cell-border-color); + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + margin-bottom: 10px; + border: 1px solid var(--memdef-border-color); + border-spacing: 0px; + border-radius: 4px; + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname, .fieldtable td.fieldinit { + white-space: nowrap; + border-right: 1px solid var(--memdef-border-color); + border-bottom: 1px solid var(--memdef-border-color); + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fieldinit { + padding-top: 3px; + text-align: right; +} + + +.fieldtable td.fielddoc { + border-bottom: 1px solid var(--memdef-border-color); +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image: var(--memdef-title-gradient-image); + background-repeat:repeat-x; + background-color: var(--memdef-title-background-color); + font-size: 90%; + color: var(--memdef-proto-text-color); + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid var(--memdef-border-color); +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: var(--nav-gradient-image); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image: var(--nav-gradient-image); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:var(--nav-text-normal-color); + border:solid 1px var(--nav-breadcrumb-border-color); + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:var(--nav-breadcrumb-image); + background-repeat:no-repeat; + background-position:right; + color: var(--nav-foreground-color); +} + +.navpath li.navelem a +{ + height:32px; + display:block; + outline: none; + color: var(--nav-text-normal-color); + font-family: var(--font-family-nav); + text-shadow: var(--nav-text-normal-shadow); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color: var(--nav-text-hover-color); + text-shadow: var(--nav-text-hover-shadow); +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color: var(--footer-foreground-color); + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image: var(--header-gradient-image); + background-repeat:repeat-x; + background-color: var(--header-background-color); + margin: 0px; + border-bottom: 1px solid var(--header-separator-color); +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +.PageDocRTL-title div.headertitle { + text-align: right; + direction: rtl; +} + +dl { + padding: 0 0 0 0; +} + +/* + +dl.section { + margin-left: 0px; + padding-left: 0px; +} + +dl.note { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention, dl.important { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00D000; +} + +dl.deprecated { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #505050; +} + +dl.todo { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00C0E0; +} + +dl.test { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #3030E0; +} + +dl.bug { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #C08050; +} + +*/ + +dl.bug dt a, dl.deprecated dt a, dl.todo dt a, dl.test a { + font-weight: bold !important; +} + +dl.warning, dl.attention, dl.important, dl.note, dl.deprecated, dl.bug, +dl.invariant, dl.pre, dl.post, dl.todo, dl.test, dl.remark { + padding: 10px; + margin: 10px 0px; + overflow: hidden; + margin-left: 0; + border-radius: 4px; +} + +dl.section dd { + margin-bottom: 2px; +} + +dl.warning, dl.attention, dl.important { + background: var(--warning-color-bg); + border-left: 8px solid var(--warning-color-hl); + color: var(--warning-color-text); +} + +dl.warning dt, dl.attention dt, dl.important dt { + color: var(--warning-color-hl); +} + +dl.note, dl.remark { + background: var(--note-color-bg); + border-left: 8px solid var(--note-color-hl); + color: var(--note-color-text); +} + +dl.note dt, dl.remark dt { + color: var(--note-color-hl); +} + +dl.todo { + background: var(--todo-color-bg); + border-left: 8px solid var(--todo-color-hl); + color: var(--todo-color-text); +} + +dl.todo dt { + color: var(--todo-color-hl); +} + +dl.test { + background: var(--test-color-bg); + border-left: 8px solid var(--test-color-hl); + color: var(--test-color-text); +} + +dl.test dt { + color: var(--test-color-hl); +} + +dl.bug dt a { + color: var(--bug-color-hl) !important; +} + +dl.bug { + background: var(--bug-color-bg); + border-left: 8px solid var(--bug-color-hl); + color: var(--bug-color-text); +} + +dl.bug dt a { + color: var(--bug-color-hl) !important; +} + +dl.deprecated { + background: var(--deprecated-color-bg); + border-left: 8px solid var(--deprecated-color-hl); + color: var(--deprecated-color-text); +} + +dl.deprecated dt a { + color: var(--deprecated-color-hl) !important; +} + +dl.note dd, dl.warning dd, dl.pre dd, dl.post dd, +dl.remark dd, dl.attention dd, dl.important dd, dl.invariant dd, +dl.bug dd, dl.deprecated dd, dl.todo dd, dl.test dd { + margin-inline-start: 0px; +} + +dl.invariant, dl.pre, dl.post { + background: var(--invariant-color-bg); + border-left: 8px solid var(--invariant-color-hl); + color: var(--invariant-color-text); +} + +dl.invariant dt, dl.pre dt, dl.post dt { + color: var(--invariant-color-hl); +} + + +#projectrow +{ + height: 56px; +} + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; + padding-left: 0.5em; +} + +#projectname +{ + font-size: 200%; + font-family: var(--font-family-title); + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font-size: 90%; + font-family: var(--font-family-title); + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font-size: 50%; + font-family: 50% var(--font-family-title); + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid var(--title-separator-color); + background-color: var(--title-background-color); +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:var(--citation-label-color); + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; + text-align:right; + width:52px; +} + +dl.citelist dd { + margin:2px 0 2px 72px; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: var(--toc-background-color); + border: 1px solid var(--toc-border-color); + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +div.toc li { + background: var(--toc-down-arrow-image) no-repeat scroll 0 5px transparent; + font: 10px/1.2 var(--font-family-toc); + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 var(--font-family-toc); + color: var(--toc-header-color); + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li[class^='level'] { + margin-left: 15px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.empty { + background-image: none; + margin-top: 0px; +} + +span.emoji { + /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html + * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; + */ +} + +span.obfuscator { + display: none; +} + +.inherit_header { + font-weight: bold; + color: var(--inherit-header-color); + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + /*white-space: nowrap;*/ + color: var(--tooltip-foreground-color); + background-color: var(--tooltip-background-color); + border: 1px solid var(--tooltip-border-color); + border-radius: 4px 4px 4px 4px; + box-shadow: var(--tooltip-shadow); + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: var(--tooltip-doc-color); + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip a { + color: var(--tooltip-link-color); +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: var(--tooltip-declaration-color); +} + +#powerTip div { + margin: 0px; + padding: 0px; + font-size: 12px; + font-family: var(--font-family-tooltip); + line-height: 16px; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: var(--tooltip-background-color); + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before, #powerTip.ne:before, #powerTip.nw:before { + border-top-color: var(--tooltip-border-color); + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: var(--tooltip-background-color); + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: var(--tooltip-border-color); + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: var(--tooltip-border-color); + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: var(--tooltip-border-color); + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: var(--tooltip-border-color); + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: var(--tooltip-border-color); + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid var(--table-cell-border-color); + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + +tt, code, kbd, samp +{ + display: inline-block; +} +/* @end */ + +u { + text-decoration: underline; +} + +details>summary { + list-style-type: none; +} + +details > summary::-webkit-details-marker { + display: none; +} + +details>summary::before { + content: "\25ba"; + padding-right:4px; + font-size: 80%; +} + +details[open]>summary::before { + content: "\25bc"; + padding-right:4px; + font-size: 80%; +} + +body { + scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-background-color); +} + +::-webkit-scrollbar { + background-color: var(--scrollbar-background-color); + height: 12px; + width: 12px; +} +::-webkit-scrollbar-thumb { + border-radius: 6px; + box-shadow: inset 0 0 12px 12px var(--scrollbar-thumb-color); + border: solid 2px transparent; +} +::-webkit-scrollbar-corner { + background-color: var(--scrollbar-background-color); +} + diff --git a/html/doxygen.svg b/html/doxygen.svg new file mode 100644 index 0000000..79a7635 --- /dev/null +++ b/html/doxygen.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/html/doxygen_crawl.html b/html/doxygen_crawl.html new file mode 100644 index 0000000..053e1c2 --- /dev/null +++ b/html/doxygen_crawl.html @@ -0,0 +1,93 @@ + + + +Validator / crawler helper + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/html/dynsections.js b/html/dynsections.js new file mode 100644 index 0000000..b05f4c8 --- /dev/null +++ b/html/dynsections.js @@ -0,0 +1,198 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ + +function toggleVisibility(linkObj) { + return dynsection.toggleVisibility(linkObj); +} + +let dynsection = { + + // helper function + updateStripes : function() { + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); + $('table.directory tr'). + removeClass('odd').filter(':visible:odd').addClass('odd'); + }, + + toggleVisibility : function(linkObj) { + const base = $(linkObj).attr('id'); + const summary = $('#'+base+'-summary'); + const content = $('#'+base+'-content'); + const trigger = $('#'+base+'-trigger'); + const src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; + }, + + toggleLevel : function(level) { + $('table.directory tr').each(function() { + const l = this.id.split('_').length-1; + const i = $('#img'+this.id.substring(3)); + const a = $('#arr'+this.id.substring(3)); + if (l'); + // add vertical lines to other rows + $('span[class=lineno]').not(':eq(0)').append(''); + // add toggle controls to lines with fold divs + $('div[class=foldopen]').each(function() { + // extract specific id to use + const id = $(this).attr('id').replace('foldopen',''); + // extract start and end foldable fragment attributes + const start = $(this).attr('data-start'); + const end = $(this).attr('data-end'); + // replace normal fold span with controls for the first line of a foldable fragment + $(this).find('span[class=fold]:first').replaceWith(''); + // append div for folded (closed) representation + $(this).after(''); + // extract the first line from the "open" section to represent closed content + const line = $(this).children().first().clone(); + // remove any glow that might still be active on the original line + $(line).removeClass('glow'); + if (start) { + // if line already ends with a start marker (e.g. trailing {), remove it + $(line).html($(line).html().replace(new RegExp('\\s*'+start+'\\s*$','g'),'')); + } + // replace minus with plus symbol + $(line).find('span[class=fold]').css('background-image',codefold.plusImg[relPath]); + // append ellipsis + $(line).append(' '+start+'…'+end); + // insert constructed line into closed div + $('#foldclosed'+id).html(line); + }); + }, +}; +/* @license-end */ diff --git a/html/files.html b/html/files.html new file mode 100644 index 0000000..56f21fd --- /dev/null +++ b/html/files.html @@ -0,0 +1,105 @@ + + + + + + + +RP2040-Decoder: File List + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+ + + + + +
 core0.h
 core1.h
 CV.h
 shared.h
+
+
+ + +
+ + diff --git a/html/folderclosed.svg b/html/folderclosed.svg new file mode 100644 index 0000000..b04bed2 --- /dev/null +++ b/html/folderclosed.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/html/folderclosedd.svg b/html/folderclosedd.svg new file mode 100644 index 0000000..52f0166 --- /dev/null +++ b/html/folderclosedd.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/html/folderopen.svg b/html/folderopen.svg new file mode 100644 index 0000000..f6896dd --- /dev/null +++ b/html/folderopen.svg @@ -0,0 +1,17 @@ + + + + + + + + + + diff --git a/html/folderopend.svg b/html/folderopend.svg new file mode 100644 index 0000000..2d1f06e --- /dev/null +++ b/html/folderopend.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/html/functions.html b/html/functions.html new file mode 100644 index 0000000..956d2cb --- /dev/null +++ b/html/functions.html @@ -0,0 +1,100 @@ + + + + + + + +RP2040-Decoder: Data Fields + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:
+
+ + +
+ + diff --git a/html/functions_vars.html b/html/functions_vars.html new file mode 100644 index 0000000..7d49733 --- /dev/null +++ b/html/functions_vars.html @@ -0,0 +1,100 @@ + + + + + + + +RP2040-Decoder: Data Fields - Variables + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented variables with links to the struct/union documentation for each field:
+
+ + +
+ + diff --git a/html/globals.html b/html/globals.html new file mode 100644 index 0000000..b1d9165 --- /dev/null +++ b/html/globals.html @@ -0,0 +1,112 @@ + + + + + + + +RP2040-Decoder: Globals + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:
+
+ + +
+ + diff --git a/html/globals_func.html b/html/globals_func.html new file mode 100644 index 0000000..d203114 --- /dev/null +++ b/html/globals_func.html @@ -0,0 +1,111 @@ + + + + + + + +RP2040-Decoder: Globals + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the documentation:
+
+ + +
+ + diff --git a/html/globals_vars.html b/html/globals_vars.html new file mode 100644 index 0000000..ee3a1c5 --- /dev/null +++ b/html/globals_vars.html @@ -0,0 +1,97 @@ + + + + + + + +RP2040-Decoder: Globals + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented variables with links to the documentation:
+
+ + +
+ + diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..7e37b7c --- /dev/null +++ b/html/index.html @@ -0,0 +1,98 @@ + + + + + + + +RP2040-Decoder: Main Page + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
RP2040-Decoder Documentation
+
+
+ +
+ + +
+ + diff --git a/html/jquery.js b/html/jquery.js new file mode 100644 index 0000000..875ada7 --- /dev/null +++ b/html/jquery.js @@ -0,0 +1,204 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e} +var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp( +"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType +}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c +)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){ +return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll( +":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id") +)&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push( +"\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test( +a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null, +null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne +).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for( +var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n; +return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0, +r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r] +,C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each( +function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r, +"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})} +),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each( +"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=y(e||this.defaultElement||this)[0],this.element=y(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=y(),this.hoverable=y(),this.focusable=y(),this.classesElementLookup={},e!==this&&(y.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t +){t.target===e&&this.destroy()}}),this.document=y(e.style?e.ownerDocument:e.document||e),this.window=y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=y.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:y.noop,_create:y.noop,_init:y.noop,destroy:function(){var i=this;this._destroy(),y.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:y.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return y.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t +]=y.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return y("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i}, +getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthx(D(s),D(n))?o.important="horizontal":o.important="vertical",p.using.call(this,t,o)}),h.offset(y.extend(l,{using:t}))})},y.ui.position={fit:{left:function(t,e){var i=e.within, +s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,h=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),y.ui.plugin={add:function(t,e,i){var s,n=y.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})), +this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&y(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function t(t){y(t +).removeData("resizable").removeData("ui-resizable").off(".resizable")}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,i,s,n,o=this.options,h=this;if(this.handles=o.handles||(y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=y(),this._addedHandles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split( +","),this.handles={},e=0;e"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:o.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(n),this._addedHandles=this._addedHandles.add(n));this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=y(this.handles[e]),this._on(this.handles[e],{mousedown:h._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=y(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add( +this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){h.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),h.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=y(this.handles[e])[0])!==t.target&&!y.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=y(s.containment).scrollLeft()||0,i+=y(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{ +width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(), +!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(y.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){ +this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,h=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,r=this.originalPosition.top+this.originalSize.height +,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),h&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=a-e.minWidth),s&&l&&(t.left=a-e.maxWidth),h&&i&&(t.top=r-e.minHeight),n&&i&&(t.top=r-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e, +i){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){y.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),y.ui.plugin.add("resizable","animate",{stop:function(e){var i=y(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,h=n?0:i.sizeDiff.width,n={width:i.size.width-h,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left +)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(y.extend(n,o&&h?{top:o,left:h}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&y(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var i,s,n=y(this).resizable("instance"),t=n.options,e=n.element,o=t.containment,h=o instanceof y?o.get(0):/parent/.test(o)?e.parent().get(0):o;h&&(n.containerElement=y(h),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(i=y(h),s=[],y(["Top","Right","Left","Bottom"]).each(function(t,e +){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(h,"left")?h.scrollWidth:o,e=n._hasScroll(h)?h.scrollHeight:e,n.parentData={element:h,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=y(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,h={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(h=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-h.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0), +i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css("position")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-h.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-h.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=y(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=y(t.helper),h=o.offset(),a=o.outerWidth( +)-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var t=y(this).resizable("instance").options;y(t.alsoResize).each(function(){var t=y(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=y(this).resizable("instance"),s=e.options,n=e.originalSize,o=e.originalPosition,h={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};y(s.alsoResize).each(function(){var t=y(this),s=y(this).data("ui-resizable-alsoresize"),n={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(e, +function(t,e){var i=(s[e]||0)+(h[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var t=y(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=y(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=y(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var t,e=y(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,h=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,r=a[0 +]||1,l=a[1]||1,u=Math.round((s.width-n.width)/r)*r,p=Math.round((s.height-n.height)/l)*l,d=n.width+u,c=n.height+p,f=i.maxWidth&&i.maxWidthd,s=i.minHeight&&i.minHeight>c;i.grid=a,m&&(d+=r),s&&(c+=l),f&&(d-=r),g&&(c-=l),/^(se|s|e)$/.test(h)?(e.size.width=d,e.size.height=c):/^(ne)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.top=o.top-p):/^(sw)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.left=o.left-u):((c-l<=0||d-r<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0=f[g]?0:Math.min(f[g],n));!a&&1-1){ +targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se", +"n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if( +session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)} +closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if( +session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE, +function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset); +tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList, +finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight())); +return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")} +function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(), +elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight, +viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b, +"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery); +/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 + * http://www.smartmenus.org/ + * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)), +mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend( +$.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy( +this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData( +"smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id" +).indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?( +this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for( +var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){ +return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if(( +!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&( +this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0 +]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass( +"highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){ +t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]" +)||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){ +t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"), +a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i, +downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2) +)&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t +)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0), +canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}}, +rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})} +return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1, +bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); diff --git a/html/md_README.html b/html/md_README.html new file mode 100644 index 0000000..e7280b2 --- /dev/null +++ b/html/md_README.html @@ -0,0 +1,125 @@ + + + + + + + +RP2040-Decoder: RP2040-Decoder + + + + + + + + + + + + + +
+
+ + + + + + +
+
RP2040-Decoder +
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
+
+
RP2040-Decoder
+
+
+

This Project is a DIY DCC Decoder for model railroad locomotives which aims to be cost effective.

+

+Features

+
    +
  • DCC digital signal decoding
  • +
  • Motor load/speed control
  • +
  • 4 Outputs to drive loads up to 400mA each
  • +
  • 6 GPIO for lighter loads or custom applications
  • +
  • Programmable on programming track
  • +
  • CV Function Mapping
  • +
  • Board size of 25x20 mm
  • +
+

+Getting Started

+

The "Getting Started" page provides an overview of the steps required to use the decoder as well as brief instructions for all the necessary steps.

+

+License

+
    +
  • Software - MIT license
  • +
  • Hardware - CERN Open Hardware Licence Version 2 - Permissive
  • +
  • LICENSE
  • +
+
+

Further details about the project can be found here: RP2040-Decoder Wiki

+

Note: The decoder is still in early development, there might (will) be bugs as its not tested that much yet. So suggestions on how to improve things and bug reports are always much appreciated. The wiki is also work in progress and will be updated to be as comprehensive as possible.

+
+

PCB Front Side Image PCB Back Side Image

+
+
+ + +
+ + diff --git a/html/menu.js b/html/menu.js new file mode 100644 index 0000000..0fd1e99 --- /dev/null +++ b/html/menu.js @@ -0,0 +1,134 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search,treeview) { + function makeTree(data,relPath) { + let result=''; + if ('children' in data) { + result+='
    '; + for (let i in data.children) { + let url; + const link = data.children[i].url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + } else { + url = relPath+link; + } + result+='
  • '+ + data.children[i].text+''+ + makeTree(data.children[i],relPath)+'
  • '; + } + result+='
'; + } + return result; + } + let searchBoxHtml; + if (searchEnabled) { + if (serverSide) { + searchBoxHtml='
'+ + '
'+ + '
 '+ + ''+ + '
'+ + '
'+ + '
'+ + '
'; + } else { + searchBoxHtml='
'+ + ''+ + ' '+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
'; + } + } + + $('#main-nav').before('
'+ + ''+ + ''+ + '
'); + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchBoxHtml) { + $('#main-menu').append('
  • '); + } + const $mainMenuState = $('#main-menu-state'); + let prevWidth = 0; + if ($mainMenuState.length) { + const initResizableIfExists = function() { + if (typeof initResizable==='function') initResizable(treeview); + } + // animate mobile menu + $mainMenuState.change(function() { + const $menu = $('#main-menu'); + let options = { duration: 250, step: initResizableIfExists }; + if (this.checked) { + options['complete'] = () => $menu.css('display', 'block'); + $menu.hide().slideDown(options); + } else { + options['complete'] = () => $menu.css('display', 'none'); + $menu.show().slideUp(options); + } + }); + // set default menu visibility + const resetState = function() { + const $menu = $('#main-menu'); + const newWidth = $(window).outerWidth(); + if (newWidth!=prevWidth) { + if ($(window).outerWidth()<768) { + $mainMenuState.prop('checked',false); $menu.hide(); + $('#searchBoxPos1').html(searchBoxHtml); + $('#searchBoxPos2').hide(); + } else { + $menu.show(); + $('#searchBoxPos1').empty(); + $('#searchBoxPos2').html(searchBoxHtml); + $('#searchBoxPos2').show(); + } + if (typeof searchBox!=='undefined') { + searchBox.CloseResultsWindow(); + } + prevWidth = newWidth; + } + } + $(window).ready(function() { resetState(); initResizableIfExists(); }); + $(window).resize(resetState); + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/html/menudata.js b/html/menudata.js new file mode 100644 index 0000000..b973edc --- /dev/null +++ b/html/menudata.js @@ -0,0 +1,39 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Main Page",url:"index.html"}, +{text:"Related Pages",url:"pages.html"}, +{text:"Data Structures",url:"annotated.html",children:[ +{text:"Data Structures",url:"annotated.html"}, +{text:"Data Structure Index",url:"classes.html"}, +{text:"Data Fields",url:"functions.html",children:[ +{text:"All",url:"functions.html"}, +{text:"Variables",url:"functions_vars.html"}]}]}, +{text:"Files",url:"files.html",children:[ +{text:"File List",url:"files.html"}, +{text:"Globals",url:"globals.html",children:[ +{text:"All",url:"globals.html"}, +{text:"Functions",url:"globals_func.html"}, +{text:"Variables",url:"globals_vars.html"}]}]}]} diff --git a/html/minus.svg b/html/minus.svg new file mode 100644 index 0000000..f70d0c1 --- /dev/null +++ b/html/minus.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/html/minusd.svg b/html/minusd.svg new file mode 100644 index 0000000..5f8e879 --- /dev/null +++ b/html/minusd.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/html/nav_f.png b/html/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/html/nav_fd.png b/html/nav_fd.png new file mode 100644 index 0000000000000000000000000000000000000000..032fbdd4c54f54fa9a2e6423b94ef4b2ebdfaceb GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQU#tajv*C{Z|C~*H7f|XvG1G8 zt7aS*L7xwMeS}!z6R#{C5tIw-s~AJ==F^i}x3XyJseHR@yF& zerFf(Zf;Dd{+(0lDIROL@Sj-Ju2JQ8&-n%4%q?>|^bShc&lR?}7HeMo@BDl5N(aHY Uj$gdr1MOz;boFyt=akR{0D!zeaR2}S literal 0 HcmV?d00001 diff --git a/html/nav_g.png b/html/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL6W-eg#Jd_@e6*DPn)w;=|1H}Zvm9l6xXXB%>yL=NQU;mg M>FVdQ&MBb@0Bdt1Qvd(} literal 0 HcmV?d00001 diff --git a/html/navtree.css b/html/navtree.css new file mode 100644 index 0000000..69211d4 --- /dev/null +++ b/html/navtree.css @@ -0,0 +1,149 @@ +#nav-tree .children_ul { + margin:0; + padding:4px; +} + +#nav-tree ul { + list-style:none outside none; + margin:0px; + padding:0px; +} + +#nav-tree li { + white-space:nowrap; + margin:0px; + padding:0px; +} + +#nav-tree .plus { + margin:0px; +} + +#nav-tree .selected { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: var(--nav-text-active-color); + text-shadow: var(--nav-text-active-shadow); +} + +#nav-tree .selected .arrow { + color: var(--nav-arrow-selected-color); + text-shadow: none; +} + +#nav-tree img { + margin:0px; + padding:0px; + border:0px; + vertical-align: middle; +} + +#nav-tree a { + text-decoration:none; + padding:0px; + margin:0px; +} + +#nav-tree .label { + margin:0px; + padding:0px; + font: 12px var(--font-family-nav); +} + +#nav-tree .label a { + padding:2px; +} + +#nav-tree .selected a { + text-decoration:none; + color:var(--nav-text-active-color); +} + +#nav-tree .children_ul { + margin:0px; + padding:0px; +} + +#nav-tree .item { + margin:0px; + padding:0px; +} + +#nav-tree { + padding: 0px 0px; + font-size:14px; + overflow:auto; +} + +#doc-content { + overflow:auto; + display:block; + padding:0px; + margin:0px; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#side-nav { + padding:0 6px 0 0; + margin: 0px; + display:block; + position: absolute; + left: 0px; + width: $width; + overflow : hidden; +} + +.ui-resizable .ui-resizable-handle { + display:block; +} + +.ui-resizable-e { + background-image:var(--nav-splitbar-image); + background-size:100%; + background-repeat:repeat-y; + background-attachment: scroll; + cursor:ew-resize; + height:100%; + right:0; + top:0; + width:6px; +} + +.ui-resizable-handle { + display:none; + font-size:0.1px; + position:absolute; + z-index:1; +} + +#nav-tree-contents { + margin: 6px 0px 0px 0px; +} + +#nav-tree { + background-repeat:repeat-x; + background-color: var(--nav-background-color); + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#nav-sync { + position:absolute; + top:5px; + right:24px; + z-index:0; +} + +#nav-sync img { + opacity:0.3; +} + +#nav-sync img:hover { + opacity:0.9; +} + +@media print +{ + #nav-tree { display: none; } + div.ui-resizable-handle { display: none; position: relative; } +} + diff --git a/html/open.png b/html/open.png new file mode 100644 index 0000000000000000000000000000000000000000..30f75c7efe2dd0c9e956e35b69777a02751f048b GIT binary patch literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + + +RP2040-Decoder: Related Pages + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    RP2040-Decoder +
    +
    +
    + + + + + + + + +
    +
    + + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    Related Pages
    +
    +
    +
    Here is a list of all related documentation pages:
    + + +
     RP2040-Decoder
    +
    +
    + + +
    + + diff --git a/html/plus.svg b/html/plus.svg new file mode 100644 index 0000000..0752016 --- /dev/null +++ b/html/plus.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/html/plusd.svg b/html/plusd.svg new file mode 100644 index 0000000..0c65bfe --- /dev/null +++ b/html/plusd.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/html/resize.js b/html/resize.js new file mode 100644 index 0000000..178d03b --- /dev/null +++ b/html/resize.js @@ -0,0 +1,147 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ + +function initResizable(treeview) { + let sidenav,navtree,content,header,footer,barWidth=6; + const RESIZE_COOKIE_NAME = ''+'width'; + + function resizeWidth() { + const sidenavWidth = $(sidenav).outerWidth(); + content.css({marginLeft:parseInt(sidenavWidth)+"px"}); + if (typeof page_layout!=='undefined' && page_layout==1) { + footer.css({marginLeft:parseInt(sidenavWidth)+"px"}); + } + Cookie.writeSetting(RESIZE_COOKIE_NAME,sidenavWidth-barWidth); + } + + function restoreWidth(navWidth) { + content.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); + if (typeof page_layout!=='undefined' && page_layout==1) { + footer.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); + } + sidenav.css({width:navWidth + "px"}); + } + + function resizeHeight(treeview) { + const headerHeight = header.outerHeight(); + const windowHeight = $(window).height(); + let contentHeight; + if (treeview) + { + const footerHeight = footer.outerHeight(); + let navtreeHeight,sideNavHeight; + if (typeof page_layout==='undefined' || page_layout==0) { /* DISABLE_INDEX=NO */ + contentHeight = windowHeight - headerHeight - footerHeight; + navtreeHeight = contentHeight; + sideNavHeight = contentHeight; + } else if (page_layout==1) { /* DISABLE_INDEX=YES */ + contentHeight = windowHeight - footerHeight; + navtreeHeight = windowHeight - headerHeight; + sideNavHeight = windowHeight; + } + navtree.css({height:navtreeHeight + "px"}); + sidenav.css({height:sideNavHeight + "px"}); + } + else + { + contentHeight = windowHeight - headerHeight; + } + content.css({height:contentHeight + "px"}); + if (location.hash.slice(1)) { + (document.getElementById(location.hash.slice(1))||document.body).scrollIntoView(); + } + } + + function collapseExpand() { + let newWidth; + if (sidenav.width()>0) { + newWidth=0; + } else { + const width = Cookie.readSetting(RESIZE_COOKIE_NAME,250); + newWidth = (width>250 && width<$(window).width()) ? width : 250; + } + restoreWidth(newWidth); + const sidenavWidth = $(sidenav).outerWidth(); + Cookie.writeSetting(RESIZE_COOKIE_NAME,sidenavWidth-barWidth); + } + + header = $("#top"); + content = $("#doc-content"); + footer = $("#nav-path"); + sidenav = $("#side-nav"); + if (!treeview) { +// title = $("#titlearea"); +// titleH = $(title).height(); +// let animating = false; +// content.on("scroll", function() { +// slideOpts = { duration: 200, +// step: function() { +// contentHeight = $(window).height() - header.outerHeight(); +// content.css({ height : contentHeight + "px" }); +// }, +// done: function() { animating=false; } +// }; +// if (content.scrollTop()>titleH && title.css('display')!='none' && !animating) { +// title.slideUp(slideOpts); +// animating=true; +// } else if (content.scrollTop()<=titleH && title.css('display')=='none' && !animating) { +// title.slideDown(slideOpts); +// animating=true; +// } +// }); + } else { + navtree = $("#nav-tree"); + $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); + $(sidenav).resizable({ minWidth: 0 }); + } + $(window).resize(function() { resizeHeight(treeview); }); + if (treeview) + { + const device = navigator.userAgent.toLowerCase(); + const touch_device = device.match(/(iphone|ipod|ipad|android)/); + if (touch_device) { /* wider split bar for touch only devices */ + $(sidenav).css({ paddingRight:'20px' }); + $('.ui-resizable-e').css({ width:'20px' }); + $('#nav-sync').css({ right:'34px' }); + barWidth=20; + } + const width = Cookie.readSetting(RESIZE_COOKIE_NAME,250); + if (width) { restoreWidth(width); } else { resizeWidth(); } + } + resizeHeight(treeview); + const url = location.href; + const i=url.indexOf("#"); + if (i>=0) window.location.hash=url.substr(i); + const _preventDefault = function(evt) { evt.preventDefault(); }; + if (treeview) + { + $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); + $(".ui-resizable-handle").dblclick(collapseExpand); + // workaround for firefox + $("body").css({overflow: "hidden"}); + } + $(window).on('load',function() { resizeHeight(treeview); }); +} +/* @license-end */ diff --git a/html/search/all_0.js b/html/search/all_0.js new file mode 100644 index 0000000..71f48e0 --- /dev/null +++ b/html/search/all_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['acknowledge_0',['acknowledge',['../core0_8h.html#ac87bd6623f47a32e08278afe923477fd',1,'core0.c']]], + ['adc_5foffset_5fadjustment_1',['adc_offset_adjustment',['../core0_8h.html#ad6501226575466c1d36d7d71ec192ed2',1,'core0.c']]] +]; diff --git a/html/search/all_1.js b/html/search/all_1.js new file mode 100644 index 0000000..2ab3b51 --- /dev/null +++ b/html/search/all_1.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['clr_5fbit_5farr_0',['clr_bit_arr',['../core0_8h.html#a3cb7d222f559f6157b67e5b778b3752d',1,'core0.h']]], + ['controller_5fparameter_5ft_1',['controller_parameter_t',['../structcontroller__parameter__t.html',1,'']]], + ['core0_2eh_2',['core0.h',['../core0_8h.html',1,'']]], + ['core1_2eh_3',['core1.h',['../core1_8h.html',1,'']]], + ['cv_5fsetup_5fcheck_4',['cv_setup_check',['../core0_8h.html#afdf05cec06f673d2763ab0631cbe62f8',1,'core0.c']]] +]; diff --git a/html/search/all_2.js b/html/search/all_2.js new file mode 100644 index 0000000..2164592 --- /dev/null +++ b/html/search/all_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['decoder_0',['RP2040-Decoder',['../md_README.html',1,'']]] +]; diff --git a/html/search/all_3.js b/html/search/all_3.js new file mode 100644 index 0000000..d389af1 --- /dev/null +++ b/html/search/all_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['features_0',['Features',['../md_README.html#autotoc_md0',1,'']]] +]; diff --git a/html/search/all_4.js b/html/search/all_4.js new file mode 100644 index 0000000..2e27cef --- /dev/null +++ b/html/search/all_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['get_5fdirection_5fof_5fspeed_5fstep_0',['get_direction_of_speed_step',['../shared_8h.html#aed72641466dd9da550e446ad104607d0',1,'shared.c']]], + ['getting_20started_1',['Getting Started',['../md_README.html#autotoc_md1',1,'']]] +]; diff --git a/html/search/all_5.js b/html/search/all_5.js new file mode 100644 index 0000000..f180e5d --- /dev/null +++ b/html/search/all_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['init_5fadc_0',['init_adc',['../core0_8h.html#a2d55adaff96e84bf99460f7c9d24f7a4',1,'core0.c']]], + ['init_5fmotor_5fpwm_1',['init_motor_pwm',['../core0_8h.html#aebc81e473ba119c0ce42cacb4efeec69',1,'core0.c']]], + ['init_5foutputs_2',['init_outputs',['../core0_8h.html#a10e6b83317f9b22b5264200049a77138',1,'core0.c']]] +]; diff --git a/html/search/all_6.js b/html/search/all_6.js new file mode 100644 index 0000000..07b7871 --- /dev/null +++ b/html/search/all_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['license_0',['License',['../md_README.html#autotoc_md2',1,'']]] +]; diff --git a/html/search/all_7.js b/html/search/all_7.js new file mode 100644 index 0000000..3c77061 --- /dev/null +++ b/html/search/all_7.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['measurement_0',['measurement',['../structcontroller__parameter__t.html#a32d7427eb6a58ee778a44f7107cd1c27',1,'controller_parameter_t']]], + ['mode_1',['mode',['../structcontroller__parameter__t.html#a0aa7cc1e193cb40c7b98541b8fa32251',1,'controller_parameter_t']]] +]; diff --git a/html/search/all_8.js b/html/search/all_8.js new file mode 100644 index 0000000..af17fac --- /dev/null +++ b/html/search/all_8.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['pid_0',['pid',['../structcontroller__parameter__t.html#a39e92719a0eea22432586540578a7e1d',1,'controller_parameter_t']]], + ['pid_5fparameters_5ft_1',['pid_parameters_t',['../structpid__parameters__t.html',1,'']]], + ['program_5fmode_2',['program_mode',['../core0_8h.html#a5036684f11eb837835390659f9e0c4a9',1,'core0.h']]] +]; diff --git a/html/search/all_9.js b/html/search/all_9.js new file mode 100644 index 0000000..7658e30 --- /dev/null +++ b/html/search/all_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['rp2040_20decoder_0',['RP2040-Decoder',['../md_README.html',1,'']]] +]; diff --git a/html/search/all_a.js b/html/search/all_a.js new file mode 100644 index 0000000..c24d86e --- /dev/null +++ b/html/search/all_a.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['set_5foutputs_0',['set_outputs',['../core0_8h.html#a278792ebcab284a57b088283d570957e',1,'core0.c']]], + ['shared_2eh_1',['shared.h',['../shared_8h.html',1,'']]], + ['started_2',['Getting Started',['../md_README.html#autotoc_md1',1,'']]], + ['startup_3',['startup',['../structcontroller__parameter__t.html#a0f841c8cacf66a1496c64ac9864b5099',1,'controller_parameter_t']]], + ['startup_5fparameters_5ft_4',['startup_parameters_t',['../structstartup__parameters__t.html',1,'']]] +]; diff --git a/html/search/all_b.js b/html/search/all_b.js new file mode 100644 index 0000000..2e3e67b --- /dev/null +++ b/html/search/all_b.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['track_5fsignal_5ffall_0',['track_signal_fall',['../core0_8h.html#aa8ee69201d93bb812e1fe4f5feadbfdf',1,'core0.c']]], + ['track_5fsignal_5frise_1',['track_signal_rise',['../core0_8h.html#a9e63f26cc0e48c67410c6729a3798126',1,'core0.c']]], + ['two_5fstd_5fdev_2',['two_std_dev',['../core0_8h.html#a8db7b95e52c5a24409a057b5354aacac',1,'core0.c']]] +]; diff --git a/html/search/all_c.js b/html/search/all_c.js new file mode 100644 index 0000000..79d8132 --- /dev/null +++ b/html/search/all_c.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['verify_5fcv_5fbit_0',['verify_cv_bit',['../core0_8h.html#afc9694833148886687130bfc41c0278b',1,'core0.c']]], + ['verify_5fcv_5fbyte_1',['verify_cv_byte',['../core0_8h.html#a28319b022b8ee5ff0a38ef2581a4967e',1,'core0.c']]] +]; diff --git a/html/search/all_d.js b/html/search/all_d.js new file mode 100644 index 0000000..fd1e2bf --- /dev/null +++ b/html/search/all_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['write_5fcv_5fbyte_0',['write_cv_byte',['../core0_8h.html#a19046d77097b4236a15890613d6f5300',1,'core0.c']]] +]; diff --git a/html/search/classes_0.js b/html/search/classes_0.js new file mode 100644 index 0000000..a516771 --- /dev/null +++ b/html/search/classes_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['controller_5fparameter_5ft_0',['controller_parameter_t',['../structcontroller__parameter__t.html',1,'']]] +]; diff --git a/html/search/classes_1.js b/html/search/classes_1.js new file mode 100644 index 0000000..a57b90f --- /dev/null +++ b/html/search/classes_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pid_5fparameters_5ft_0',['pid_parameters_t',['../structpid__parameters__t.html',1,'']]] +]; diff --git a/html/search/classes_2.js b/html/search/classes_2.js new file mode 100644 index 0000000..f54ceb6 --- /dev/null +++ b/html/search/classes_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['startup_5fparameters_5ft_0',['startup_parameters_t',['../structstartup__parameters__t.html',1,'']]] +]; diff --git a/html/search/close.svg b/html/search/close.svg new file mode 100644 index 0000000..337d6cc --- /dev/null +++ b/html/search/close.svg @@ -0,0 +1,18 @@ + + + + + + diff --git a/html/search/files_0.js b/html/search/files_0.js new file mode 100644 index 0000000..94eeacb --- /dev/null +++ b/html/search/files_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['core0_2eh_0',['core0.h',['../core0_8h.html',1,'']]], + ['core1_2eh_1',['core1.h',['../core1_8h.html',1,'']]] +]; diff --git a/html/search/files_1.js b/html/search/files_1.js new file mode 100644 index 0000000..cf62ffa --- /dev/null +++ b/html/search/files_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['shared_2eh_0',['shared.h',['../shared_8h.html',1,'']]] +]; diff --git a/html/search/functions_0.js b/html/search/functions_0.js new file mode 100644 index 0000000..71f48e0 --- /dev/null +++ b/html/search/functions_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['acknowledge_0',['acknowledge',['../core0_8h.html#ac87bd6623f47a32e08278afe923477fd',1,'core0.c']]], + ['adc_5foffset_5fadjustment_1',['adc_offset_adjustment',['../core0_8h.html#ad6501226575466c1d36d7d71ec192ed2',1,'core0.c']]] +]; diff --git a/html/search/functions_1.js b/html/search/functions_1.js new file mode 100644 index 0000000..a58b547 --- /dev/null +++ b/html/search/functions_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['cv_5fsetup_5fcheck_0',['cv_setup_check',['../core0_8h.html#afdf05cec06f673d2763ab0631cbe62f8',1,'core0.c']]] +]; diff --git a/html/search/functions_2.js b/html/search/functions_2.js new file mode 100644 index 0000000..6377411 --- /dev/null +++ b/html/search/functions_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['get_5fdirection_5fof_5fspeed_5fstep_0',['get_direction_of_speed_step',['../shared_8h.html#aed72641466dd9da550e446ad104607d0',1,'shared.c']]] +]; diff --git a/html/search/functions_3.js b/html/search/functions_3.js new file mode 100644 index 0000000..f180e5d --- /dev/null +++ b/html/search/functions_3.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['init_5fadc_0',['init_adc',['../core0_8h.html#a2d55adaff96e84bf99460f7c9d24f7a4',1,'core0.c']]], + ['init_5fmotor_5fpwm_1',['init_motor_pwm',['../core0_8h.html#aebc81e473ba119c0ce42cacb4efeec69',1,'core0.c']]], + ['init_5foutputs_2',['init_outputs',['../core0_8h.html#a10e6b83317f9b22b5264200049a77138',1,'core0.c']]] +]; diff --git a/html/search/functions_4.js b/html/search/functions_4.js new file mode 100644 index 0000000..18e736d --- /dev/null +++ b/html/search/functions_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['program_5fmode_0',['program_mode',['../core0_8h.html#a5036684f11eb837835390659f9e0c4a9',1,'core0.h']]] +]; diff --git a/html/search/functions_5.js b/html/search/functions_5.js new file mode 100644 index 0000000..0a48a69 --- /dev/null +++ b/html/search/functions_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['set_5foutputs_0',['set_outputs',['../core0_8h.html#a278792ebcab284a57b088283d570957e',1,'core0.c']]] +]; diff --git a/html/search/functions_6.js b/html/search/functions_6.js new file mode 100644 index 0000000..2e3e67b --- /dev/null +++ b/html/search/functions_6.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['track_5fsignal_5ffall_0',['track_signal_fall',['../core0_8h.html#aa8ee69201d93bb812e1fe4f5feadbfdf',1,'core0.c']]], + ['track_5fsignal_5frise_1',['track_signal_rise',['../core0_8h.html#a9e63f26cc0e48c67410c6729a3798126',1,'core0.c']]], + ['two_5fstd_5fdev_2',['two_std_dev',['../core0_8h.html#a8db7b95e52c5a24409a057b5354aacac',1,'core0.c']]] +]; diff --git a/html/search/functions_7.js b/html/search/functions_7.js new file mode 100644 index 0000000..79d8132 --- /dev/null +++ b/html/search/functions_7.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['verify_5fcv_5fbit_0',['verify_cv_bit',['../core0_8h.html#afc9694833148886687130bfc41c0278b',1,'core0.c']]], + ['verify_5fcv_5fbyte_1',['verify_cv_byte',['../core0_8h.html#a28319b022b8ee5ff0a38ef2581a4967e',1,'core0.c']]] +]; diff --git a/html/search/functions_8.js b/html/search/functions_8.js new file mode 100644 index 0000000..fd1e2bf --- /dev/null +++ b/html/search/functions_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['write_5fcv_5fbyte_0',['write_cv_byte',['../core0_8h.html#a19046d77097b4236a15890613d6f5300',1,'core0.c']]] +]; diff --git a/html/search/mag.svg b/html/search/mag.svg new file mode 100644 index 0000000..ffb6cf0 --- /dev/null +++ b/html/search/mag.svg @@ -0,0 +1,24 @@ + + + + + + + diff --git a/html/search/mag_d.svg b/html/search/mag_d.svg new file mode 100644 index 0000000..4122773 --- /dev/null +++ b/html/search/mag_d.svg @@ -0,0 +1,24 @@ + + + + + + + diff --git a/html/search/mag_sel.svg b/html/search/mag_sel.svg new file mode 100644 index 0000000..553dba8 --- /dev/null +++ b/html/search/mag_sel.svg @@ -0,0 +1,31 @@ + + + + + + + + + diff --git a/html/search/mag_seld.svg b/html/search/mag_seld.svg new file mode 100644 index 0000000..c906f84 --- /dev/null +++ b/html/search/mag_seld.svg @@ -0,0 +1,31 @@ + + + + + + + + + diff --git a/html/search/pages_0.js b/html/search/pages_0.js new file mode 100644 index 0000000..2164592 --- /dev/null +++ b/html/search/pages_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['decoder_0',['RP2040-Decoder',['../md_README.html',1,'']]] +]; diff --git a/html/search/pages_1.js b/html/search/pages_1.js new file mode 100644 index 0000000..7658e30 --- /dev/null +++ b/html/search/pages_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['rp2040_20decoder_0',['RP2040-Decoder',['../md_README.html',1,'']]] +]; diff --git a/html/search/search.css b/html/search/search.css new file mode 100644 index 0000000..19f76f9 --- /dev/null +++ b/html/search/search.css @@ -0,0 +1,291 @@ +/*---------------- Search Box positioning */ + +#main-menu > li:last-child { + /* This
  • object is the parent of the search bar */ + display: flex; + justify-content: center; + align-items: center; + height: 36px; + margin-right: 1em; +} + +/*---------------- Search box styling */ + +.SRPage * { + font-weight: normal; + line-height: normal; +} + +dark-mode-toggle { + margin-left: 5px; + display: flex; + float: right; +} + +#MSearchBox { + display: inline-block; + white-space : nowrap; + background: var(--search-background-color); + border-radius: 0.65em; + box-shadow: var(--search-box-shadow); + z-index: 102; +} + +#MSearchBox .left { + display: inline-block; + vertical-align: middle; + height: 1.4em; +} + +#MSearchSelect { + display: inline-block; + vertical-align: middle; + width: 20px; + height: 19px; + background-image: var(--search-magnification-select-image); + margin: 0 0 0 0.3em; + padding: 0; +} + +#MSearchSelectExt { + display: inline-block; + vertical-align: middle; + width: 10px; + height: 19px; + background-image: var(--search-magnification-image); + margin: 0 0 0 0.5em; + padding: 0; +} + + +#MSearchField { + display: inline-block; + vertical-align: middle; + width: 7.5em; + height: 19px; + margin: 0 0.15em; + padding: 0; + line-height: 1em; + border:none; + color: var(--search-foreground-color); + outline: none; + font-family: var(--font-family-search); + -webkit-border-radius: 0px; + border-radius: 0px; + background: none; +} + +@media(hover: none) { + /* to avoid zooming on iOS */ + #MSearchField { + font-size: 16px; + } +} + +#MSearchBox .right { + display: inline-block; + vertical-align: middle; + width: 1.4em; + height: 1.4em; +} + +#MSearchClose { + display: none; + font-size: inherit; + background : none; + border: none; + margin: 0; + padding: 0; + outline: none; + +} + +#MSearchCloseImg { + padding: 0.3em; + margin: 0; +} + +.MSearchBoxActive #MSearchField { + color: var(--search-active-color); +} + + + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid var(--search-filter-border-color); + background-color: var(--search-filter-background-color); + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt var(--font-family-search); + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: var(--font-family-monospace); + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: var(--search-filter-foreground-color); + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: var(--search-filter-foreground-color); + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: var(--search-filter-highlight-text-color); + background-color: var(--search-filter-highlight-bg-color); + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + /*width: 60ex;*/ + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid var(--search-results-border-color); + background-color: var(--search-results-background-color); + z-index:10000; + width: 300px; + height: 400px; + overflow: auto; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +div.SRPage { + margin: 5px 2px; + background-color: var(--search-results-background-color); +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: var(--search-results-foreground-color); + font-family: var(--font-family-search); + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: var(--search-results-foreground-color); + font-family: var(--font-family-search); + font-size: 8pt; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; + font-family: var(--font-family-search); +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; + font-family: var(--font-family-search); +} + +.SRResult { + display: none; +} + +div.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: var(--nav-gradient-active-image-parent); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/html/search/search.js b/html/search/search.js new file mode 100644 index 0000000..666af01 --- /dev/null +++ b/html/search/search.js @@ -0,0 +1,694 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +const SEARCH_COOKIE_NAME = ''+'search_grp'; + +const searchResults = new SearchResults(); + +/* A class handling everything associated with the search panel. + + Parameters: + name - The name of the global variable that will be + storing this instance. Is needed to be able to set timeouts. + resultPath - path to use for external files +*/ +function SearchBox(name, resultsPath, extension) { + if (!name || !resultsPath) { alert("Missing parameters to SearchBox."); } + if (!extension || extension == "") { extension = ".html"; } + + function getXPos(item) { + let x = 0; + if (item.offsetWidth) { + while (item && item!=document.body) { + x += item.offsetLeft; + item = item.offsetParent; + } + } + return x; + } + + function getYPos(item) { + let y = 0; + if (item.offsetWidth) { + while (item && item!=document.body) { + y += item.offsetTop; + item = item.offsetParent; + } + } + return y; + } + + // ---------- Instance variables + this.name = name; + this.resultsPath = resultsPath; + this.keyTimeout = 0; + this.keyTimeoutLength = 500; + this.closeSelectionTimeout = 300; + this.lastSearchValue = ""; + this.lastResultsPage = ""; + this.hideTimeout = 0; + this.searchIndex = 0; + this.searchActive = false; + this.extension = extension; + + // ----------- DOM Elements + + this.DOMSearchField = () => document.getElementById("MSearchField"); + this.DOMSearchSelect = () => document.getElementById("MSearchSelect"); + this.DOMSearchSelectWindow = () => document.getElementById("MSearchSelectWindow"); + this.DOMPopupSearchResults = () => document.getElementById("MSearchResults"); + this.DOMPopupSearchResultsWindow = () => document.getElementById("MSearchResultsWindow"); + this.DOMSearchClose = () => document.getElementById("MSearchClose"); + this.DOMSearchBox = () => document.getElementById("MSearchBox"); + + // ------------ Event Handlers + + // Called when focus is added or removed from the search field. + this.OnSearchFieldFocus = function(isActive) { + this.Activate(isActive); + } + + this.OnSearchSelectShow = function() { + const searchSelectWindow = this.DOMSearchSelectWindow(); + const searchField = this.DOMSearchSelect(); + + const left = getXPos(searchField); + const top = getYPos(searchField) + searchField.offsetHeight; + + // show search selection popup + searchSelectWindow.style.display='block'; + searchSelectWindow.style.left = left + 'px'; + searchSelectWindow.style.top = top + 'px'; + + // stop selection hide timer + if (this.hideTimeout) { + clearTimeout(this.hideTimeout); + this.hideTimeout=0; + } + return false; // to avoid "image drag" default event + } + + this.OnSearchSelectHide = function() { + this.hideTimeout = setTimeout(this.CloseSelectionWindow.bind(this), + this.closeSelectionTimeout); + } + + // Called when the content of the search field is changed. + this.OnSearchFieldChange = function(evt) { + if (this.keyTimeout) { // kill running timer + clearTimeout(this.keyTimeout); + this.keyTimeout = 0; + } + + const e = evt ? evt : window.event; // for IE + if (e.keyCode==40 || e.keyCode==13) { + if (e.shiftKey==1) { + this.OnSearchSelectShow(); + const win=this.DOMSearchSelectWindow(); + for (let i=0;i do a search + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) { + const e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) { // Up + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } else if (e.keyCode==13 || e.keyCode==27) { + e.stopPropagation(); + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() { + this.keyTimeout = 0; + + // strip leading whitespace + const searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + const code = searchValue.toLowerCase().charCodeAt(0); + let idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) { // surrogate pair + idxChar = searchValue.substr(0, 2); + } + + let jsFile; + let idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) { + const hexCode=idx.toString(16); + jsFile = this.resultsPath + indexSectionNames[this.searchIndex] + '_' + hexCode + '.js'; + } + + const loadJS = function(url, impl, loc) { + const scriptTag = document.createElement('script'); + scriptTag.src = url; + scriptTag.onload = impl; + scriptTag.onreadystatechange = impl; + loc.appendChild(scriptTag); + } + + const domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + const domSearchBox = this.DOMSearchBox(); + const domPopupSearchResults = this.DOMPopupSearchResults(); + const domSearchClose = this.DOMSearchClose(); + const resultsPath = this.resultsPath; + + const handleResults = function() { + document.getElementById("Loading").style.display="none"; + if (typeof searchData !== 'undefined') { + createResults(resultsPath); + document.getElementById("NoMatches").style.display="none"; + } + + if (idx!=-1) { + searchResults.Search(searchValue); + } else { // no file with search results => force empty search results + searchResults.Search('===='); + } + + if (domPopupSearchResultsWindow.style.display!='block') { + domSearchClose.style.display = 'inline-block'; + let left = getXPos(domSearchBox) + 150; + let top = getYPos(domSearchBox) + 20; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + const maxWidth = document.body.clientWidth; + const maxHeight = document.body.clientHeight; + let width = 300; + if (left<10) left=10; + if (width+left+8>maxWidth) width=maxWidth-left-8; + let height = 400; + if (height+top+8>maxHeight) height=maxHeight-top-8; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResultsWindow.style.height = height + 'px'; + } + } + + if (jsFile) { + loadJS(jsFile, handleResults, this.DOMPopupSearchResultsWindow()); + } else { + handleResults(); + } + + this.lastSearchValue = searchValue; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) { + this.DOMSearchBox().className = 'MSearchBoxActive'; + this.searchActive = true; + } else if (!isActive) { // directly remove the panel + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + this.DOMSearchField().value = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults() { + + function convertToId(search) { + let result = ''; + for (let i=0;i. + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) { + const parentElement = document.getElementById(id); + let element = parentElement.firstChild; + + while (element && element!=parentElement) { + if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') { + return element; + } + + if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) { + element = element.firstChild; + } else if (element.nextSibling) { + element = element.nextSibling; + } else { + do { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) { + const element = this.FindChildElement(id); + if (element) { + if (element.style.display == 'block') { + element.style.display = 'none'; + } else { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) { + if (!search) { // get search word from URL + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + const resultRows = document.getElementsByTagName("div"); + let matches = 0; + + let i = 0; + while (i < resultRows.length) { + const row = resultRows.item(i); + if (row.className == "SRResult") { + let rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) { + row.style.display = 'block'; + matches++; + } else { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) { // no results + document.getElementById("NoMatches").style.display='block'; + } else { // at least one result + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) { + let focusItem; + for (;;) { + const focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') { + break; + } else if (!focusItem) { // last element + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) { + let focusItem; + for (;;) { + const focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') { + break; + } else if (!focusItem) { // last element + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) { + if (e.type == "keydown") { + this.repeatOn = false; + this.lastKey = e.keyCode; + } else if (e.type == "keypress") { + if (!this.repeatOn) { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } else if (e.type == "keyup") { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) { + const e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) { // Up + const newIndex = itemIndex-1; + let focusItem = this.NavPrev(newIndex); + if (focusItem) { + let child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') { // children visible + let n=0; + let tmpElem; + for (;;) { // search for last child + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) { + focusItem = tmpElem; + } else { // found it! + break; + } + n++; + } + } + } + if (focusItem) { + focusItem.focus(); + } else { // return focus to search field + document.getElementById("MSearchField").focus(); + } + } else if (this.lastKey==40) { // Down + const newIndex = itemIndex+1; + let focusItem; + const item = document.getElementById('Item'+itemIndex); + const elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') { // children visible + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } else if (this.lastKey==39) { // Right + const item = document.getElementById('Item'+itemIndex); + const elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } else if (this.lastKey==37) { // Left + const item = document.getElementById('Item'+itemIndex); + const elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } else if (this.lastKey==27) { // Escape + e.stopPropagation(); + searchBox.CloseResultsWindow(); + document.getElementById("MSearchField").focus(); + } else if (this.lastKey==13) { // Enter + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) { + const e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) { // Up + if (childIndex>0) { + const newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } else { // already at first child, jump to parent + document.getElementById('Item'+itemIndex).focus(); + } + } else if (this.lastKey==40) { // Down + const newIndex = childIndex+1; + let elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) { // last child, jump to parent next parent + elem = this.NavNext(itemIndex+1); + } + if (elem) { + elem.focus(); + } + } else if (this.lastKey==27) { // Escape + e.stopPropagation(); + searchBox.CloseResultsWindow(); + document.getElementById("MSearchField").focus(); + } else if (this.lastKey==13) { // Enter + return true; + } + return false; + } +} + +function createResults(resultsPath) { + + function setKeyActions(elem,action) { + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); + } + + function setClassAttr(elem,attr) { + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); + } + + const results = document.getElementById("SRResults"); + results.innerHTML = ''; + searchData.forEach((elem,index) => { + const id = elem[0]; + const srResult = document.createElement('div'); + srResult.setAttribute('id','SR_'+id); + setClassAttr(srResult,'SRResult'); + const srEntry = document.createElement('div'); + setClassAttr(srEntry,'SREntry'); + const srLink = document.createElement('a'); + srLink.setAttribute('id','Item'+index); + setKeyActions(srLink,'return searchResults.Nav(event,'+index+')'); + setClassAttr(srLink,'SRSymbol'); + srLink.innerHTML = elem[1][0]; + srEntry.appendChild(srLink); + if (elem[1].length==2) { // single result + srLink.setAttribute('href',resultsPath+elem[1][1][0]); + srLink.setAttribute('onclick','searchBox.CloseResultsWindow()'); + if (elem[1][1][1]) { + srLink.setAttribute('target','_parent'); + } else { + srLink.setAttribute('target','_blank'); + } + const srScope = document.createElement('span'); + setClassAttr(srScope,'SRScope'); + srScope.innerHTML = elem[1][1][2]; + srEntry.appendChild(srScope); + } else { // multiple results + srLink.setAttribute('href','javascript:searchResults.Toggle("SR_'+id+'")'); + const srChildren = document.createElement('div'); + setClassAttr(srChildren,'SRChildren'); + for (let c=0; c + + + + + + +RP2040-Decoder: shared.h File Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    RP2040-Decoder +
    +
    +
    + + + + + + + + + + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    +
    + +
    shared.h File Reference
    +
    +
    +
    #include "string.h"
    +#include "pico/float.h"
    +#include "pico/stdlib.h"
    +#include "pico/multicore.h"
    +#include "pico/printf.h"
    +#include "hardware/pwm.h"
    +#include "hardware/adc.h"
    +#include "hardware/flash.h"
    +#include "hardware/gpio.h"
    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    +#define LOGLEVEL   0
     
    #define LOG(level, ...)
     
    +#define _125M   125000000
     
    +#define DCC_INPUT_PIN   21u
     
    +#define MOTOR_FWD_PIN   23u
     
    +#define MOTOR_REV_PIN   22u
     
    +#define FWD_V_EMF_ADC_PIN   28u
     
    +#define REV_V_EMF_ADC_PIN   29u
     
    +#define GPIO_OUTPUT_PIN_MASK   (1u<<24) | (1u<<25) | (1u<<26) | (1u<<27) | (1u<<5) | (1u<<4) | (1u<<3) | (1u<<2) | (1u<<1) | (1u<<0)
     
    +#define GPIO_ILLEGAL_MASK   (1u<<DCC_INPUT_PIN) | (1u<<MOTOR_FWD_PIN) | (1u<<MOTOR_REV_PIN) | (1u<<FWD_V_EMF_ADC_PIN) | (1u<<REV_V_EMF_ADC_PIN)
     
    +#define GPIO_ALLOWED_OUTPUTS   (GPIO_OUTPUT_PIN_MASK) & ~(GPIO_ILLEGAL_MASK)
     
    +#define FLASH_TARGET_OFFSET   (PICO_FLASH_SIZE_BYTES-FLASH_SECTOR_SIZE)
     
    + + + + + + + + + + + + + + +

    +Functions

    +void core1_entry ()
     
    +void write_cv_handler (uint16_t cv_index, uint8_t cv_data)
     
    +float measure (uint8_t total_iterations, uint8_t measurement_delay_us, uint8_t l_side_arr_cutoff, uint8_t r_side_arr_cutoff, bool direction)
     
    +uint32_t get_32bit_CV (uint16_t CV_start_index)
     
    +uint16_t get_16bit_CV (uint16_t CV_start_index)
     
    bool get_direction_of_speed_step (uint8_t speed_step)
     Calculates the direction based on a speed step byte.
     
    + + + + + + + + + + + +

    +Variables

    +repeating_timer_t pid_control_timer
     
    +repeating_timer_t speed_helper_timer
     
    +const uint8_t * CV_ARRAY_FLASH
     
    +uint8_t speed_step_target
     
    +uint8_t speed_step_target_prev
     
    +

    Detailed Description

    +

    Used by both cores

    +

    Macro Definition Documentation

    + +

    ◆ LOG

    + +
    +
    + + + + + + + + + + + +
    #define LOG( level,
    ... )
    +
    +Value:
    { if(level <= LOGLEVEL) {printf(__VA_ARGS__);}}
    +
    +
    +
    +

    Function Documentation

    + +

    ◆ get_direction_of_speed_step()

    + +
    +
    + + + + + + + +
    bool get_direction_of_speed_step (uint8_t speed_step)
    +
    + +

    Calculates the direction based on a speed step byte.

    +

    This function calculates the direction of movement based on the value of the speed_step byte. It refers to the "128 Speed Control" standard as outlined in NMRA Standard 9.2.1 section 2.3.2.1 or RCN-212 section 2.2.2.

    +

    The following speed steps are defined:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    DEC BIN DIRECTION DEFINITION
    000 0000 0000 Reverse STOP
    001 0000 0001 Reverse EMERGENCY STOP
    002 0000 0010 Reverse Speed step 001
    003 0000 0011 Reverse Speed step 002
    004 0000 0100 Reverse Speed step 003
    ... .... .... Reverse ...
    126 0111 1110 Reverse Speed step 125
    127 0111 1111 Reverse Speed step 126
    128 1000 0000 Forward STOP
    129 1000 0001 Forward EMERGENCY STOP
    130 1000 0010 Forward Speed step 001
    131 1000 0011 Forward Speed step 002
    132 1000 0100 Forward Speed step 003
    ... .... .... Forward ...
    254 1111 1110 Forward Speed step 125
    255 1111 1111 Forward Speed step 126
    +
    Parameters
    + + +
    speed_stepThe speed step byte.
    +
    +
    +
    Returns
    true for forward direction, false for reverse direction.
    + +
    +
    +
    + + +
    + + diff --git a/html/shared_8h_source.html b/html/shared_8h_source.html new file mode 100644 index 0000000..4a2908f --- /dev/null +++ b/html/shared_8h_source.html @@ -0,0 +1,167 @@ + + + + + + + +RP2040-Decoder: shared.h Source File + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    RP2040-Decoder +
    +
    +
    + + + + + + + + +
    +
    + + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    shared.h
    +
    +
    +Go to the documentation of this file.
    1
    +
    8#pragma once
    +
    9#include "string.h"
    +
    10#include "pico/float.h"
    +
    11#include "pico/stdlib.h"
    +
    12#include "pico/multicore.h"
    +
    13#include "pico/printf.h"
    +
    14#include "hardware/pwm.h"
    +
    15#include "hardware/adc.h"
    +
    16#include "hardware/flash.h"
    +
    17#include "hardware/gpio.h"
    +
    18
    +
    19
    +
    20// here you can enable printf debugging (needs extra soldering and you have to enable uart in the cmake configuration)
    +
    21// please note
    +
    22// - if it's disabled it will be compiled completely out
    +
    23// - be careful that printf debugging can change your timing behavior, for example in the pid controller limit the outputs
    +
    24// like already done (only print every 100th iteration for example!)
    +
    25// - also note that with logging enabled GPIO0/1 are DISABLED from decoder functions because they are used for uart to the
    +
    26// outside world (this is configure automatically for you below!)
    +
    27// - IMPORTANT: you have to enable uart in the cmakelists.txt to enable logging!
    +
    28#define LOGLEVEL 0
    +
    29#define LOG(level, ...) { if(level <= LOGLEVEL) {printf(__VA_ARGS__);}}
    +
    30
    +
    31// Constant Value of 125 x 10^6
    +
    32#define _125M 125000000
    +
    33
    +
    34// GPIO used for DCC-Signal, Motor PWM or ADC
    +
    35#define DCC_INPUT_PIN 21u
    +
    36#define MOTOR_FWD_PIN 23u
    +
    37#define MOTOR_REV_PIN 22u
    +
    38#define FWD_V_EMF_ADC_PIN 28u
    +
    39#define REV_V_EMF_ADC_PIN 29u
    +
    40
    +
    41// if logging is enabled do NOT use gpio0/1 for functions in the decoder
    +
    42#if LOGLEVEL != 0
    +
    43 // GPIO used directly (GPIO 2-5 incl.) as outputs or to switch auxiliary output transistors (GPIO 24-27 incl.)
    +
    44 #define GPIO_OUTPUT_PIN_MASK (1u<<24) | (1u<<25) | (1u<<26) | (1u<<27) | (1u<<5) | (1u<<4) | (1u<<3) | (1u<<2)
    +
    45#else
    +
    46 // GPIO used directly (GPIO 0-5 incl.) as outputs or to switch auxiliary output transistors (GPIO 24-27 incl.)
    +
    47 #define GPIO_OUTPUT_PIN_MASK (1u<<24) | (1u<<25) | (1u<<26) | (1u<<27) | (1u<<5) | (1u<<4) | (1u<<3) | (1u<<2) | (1u<<1) | (1u<<0)
    +
    48#endif
    +
    49
    +
    50// GPIO pin mask to prevent setting illegal GPIOs (ADC, Motor, DCC Input Pin)
    +
    51#define GPIO_ILLEGAL_MASK (1u<<DCC_INPUT_PIN) | (1u<<MOTOR_FWD_PIN) | (1u<<MOTOR_REV_PIN) | (1u<<FWD_V_EMF_ADC_PIN) | (1u<<REV_V_EMF_ADC_PIN)
    +
    52
    +
    53// GPIO pin mask with allowed outputs (AUX & GPIO (configured as outputs))
    +
    54#define GPIO_ALLOWED_OUTPUTS (GPIO_OUTPUT_PIN_MASK) & ~(GPIO_ILLEGAL_MASK)
    +
    55
    +
    56// Offset from base address used for saving CV_ARRAY_FLASH
    +
    57#define FLASH_TARGET_OFFSET (PICO_FLASH_SIZE_BYTES-FLASH_SECTOR_SIZE)
    +
    58
    +
    59extern repeating_timer_t pid_control_timer;
    +
    60extern repeating_timer_t speed_helper_timer;
    +
    61extern const uint8_t *CV_ARRAY_FLASH;
    +
    62extern uint8_t speed_step_target;
    +
    63extern uint8_t speed_step_target_prev;
    +
    64
    +
    65
    +
    66void core1_entry();
    +
    67void write_cv_handler(uint16_t cv_index, uint8_t cv_data);
    +
    68float measure(uint8_t total_iterations,
    +
    69 uint8_t measurement_delay_us,
    +
    70 uint8_t l_side_arr_cutoff,
    +
    71 uint8_t r_side_arr_cutoff,
    +
    72 bool direction);
    +
    73uint32_t get_32bit_CV (uint16_t CV_start_index);
    +
    74uint16_t get_16bit_CV (uint16_t CV_start_index);
    +
    106bool get_direction_of_speed_step(uint8_t speed_step);
    +
    bool get_direction_of_speed_step(uint8_t speed_step)
    Calculates the direction based on a speed step byte.
    Definition shared.c:67
    +
    + + +
    + + diff --git a/html/splitbar.png b/html/splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/html/splitbard.png b/html/splitbard.png new file mode 100644 index 0000000000000000000000000000000000000000..8367416d757fd7b6dc4272b6432dc75a75abd068 GIT binary patch literal 282 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf@VhhFKy35^fiT zT~&lUj3=cDh^%3HDY9k5CEku}PHXNoNC(_$U3XPb&Q*ME25pT;2(*BOgAf<+R$lzakPG`kF31()Fx{L5Wrac|GQzjeE= zueY1`Ze{#x<8=S|`~MgGetGce)#vN&|J{Cd^tS%;tBYTo?+^d68<#n_Y_xx`J||4O V@QB{^CqU0Kc)I$ztaD0e0svEzbJzd? literal 0 HcmV?d00001 diff --git a/html/structcontroller__parameter__t.html b/html/structcontroller__parameter__t.html new file mode 100644 index 0000000..35b20a3 --- /dev/null +++ b/html/structcontroller__parameter__t.html @@ -0,0 +1,205 @@ + + + + + + + +RP2040-Decoder: controller_parameter_t Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    RP2040-Decoder +
    +
    +
    + + + + + + + + + + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    +
    + +
    controller_parameter_t Struct Reference
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Data Fields

    controller_mode_t mode
     
    +float feed_fwd
     
    +uint32_t setpoint
     
    +uint16_t speed_table [127]
     
    startup_parameters_t startup
     
    pid_parameter_t pid
     
    float measurement
     
    +float measurement_prev
     
    +float measurement_corrected
     
    +float adc_offset
     
    +uint8_t msr_delay_in_us
     
    +uint8_t msr_total_iterations
     
    +uint8_t l_side_arr_cutoff
     
    +uint8_t r_side_arr_cutoff
     
    +

    Field Documentation

    + +

    ◆ measurement

    + +
    +
    + + + + +
    float measurement
    +
    +

    Measurement Variables

    + +
    +
    + +

    ◆ mode

    + +
    +
    + + + + +
    controller_mode_t mode
    +
    +

    General Variables

    + +
    +
    + +

    ◆ pid

    + +
    +
    + + + + +
    pid_parameter_t pid
    +
    +

    PID Controller variables

    + +
    +
    + +

    ◆ startup

    + +
    +
    + + + + +
    startup_parameters_t startup
    +
    +

    Startup controller mode specific variables

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + +
    + + diff --git a/html/structpid__parameters__t.html b/html/structpid__parameters__t.html new file mode 100644 index 0000000..4b42ab7 --- /dev/null +++ b/html/structpid__parameters__t.html @@ -0,0 +1,175 @@ + + + + + + + +RP2040-Decoder: pid_parameters_t Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    RP2040-Decoder +
    +
    +
    + + + + + + + + + + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    +
    + +
    pid_parameters_t Struct Reference
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Data Fields

    +float k_i
     
    +float k_d
     
    +float t
     
    +float tau
     
    +float ci_0
     
    +float cd_0
     
    +float cd_1
     
    +float int_lim_max
     
    +float int_lim_min
     
    +float max_output
     
    +float k_p
     
    +float e
     
    +float e_prev
     
    +float i_prev
     
    +float d_prev
     
    +float k_p_x_1_shift
     
    +float k_p_x_1
     
    +float k_p_x_2
     
    +float k_p_y_0
     
    +float k_p_y_1
     
    +float k_p_y_2
     
    +float k_p_m_1
     
    +float k_p_m_2
     
    +
    The documentation for this struct was generated from the following file: +
    + + +
    + + diff --git a/html/structstartup__parameters__t.html b/html/structstartup__parameters__t.html new file mode 100644 index 0000000..149ee55 --- /dev/null +++ b/html/structstartup__parameters__t.html @@ -0,0 +1,115 @@ + + + + + + + +RP2040-Decoder: startup_parameters_t Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    RP2040-Decoder +
    +
    +
    + + + + + + + + + + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    +
    + +
    startup_parameters_t Struct Reference
    +
    +
    + + + + + + + + +

    +Data Fields

    +uint16_t level
     
    +uint16_t base_pwm_arr [BASE_PWM_ARR_LEN]
     
    +uint16_t base_pwm_arr_i
     
    +
    The documentation for this struct was generated from the following file: +
    + + +
    + + diff --git a/html/sync_off.png b/html/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/html/sync_on.png b/html/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/html/tab_a.png b/html/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/html/tab_ad.png b/html/tab_ad.png new file mode 100644 index 0000000000000000000000000000000000000000..e34850acfc24be58da6d2fd1ccc6b29cc84fe34d GIT binary patch literal 135 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QhuH;jv*C{Z|5d*H3V=pKi{In zd2jxLclDRPylmD}^l7{QOtL{vUjO{-WqItb5sQp2h-99b8^^Scr-=2mblCdZuUm?4 jzOJvgvt3{(cjKLW5(A@0qPS@<&}0TrS3j3^P6y&q2{!U5bk+Tso_B!YCpDh>v z{CM*1U8YvQRyBUHt^Ju0W_sq-?;9@_4equ-bavTs=gk796zopr0EBT&m;e9( literal 0 HcmV?d00001 diff --git a/html/tab_s.png b/html/tab_s.png new file mode 100644 index 0000000000000000000000000000000000000000..ab478c95b67371d700a20869f7de1ddd73522d50 GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QuUrLjv*C{Z|^p8HaRdjTwH7) zC?wLlL}}I{)n%R&r+1}IGmDnq;&J#%V6)9VsYhS`O^BVBQlxOUep0c$RENLq#g8A$ z)z7%K_bI&n@J+X_=x}fJoEKed-$<>=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/html/tab_sd.png b/html/tab_sd.png new file mode 100644 index 0000000000000000000000000000000000000000..757a565ced4730f85c833fb2547d8e199ae68f19 GIT binary patch literal 188 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qq7(&jv*C{Z|_!fH5o7*c=%9% zcILh!EA=pAQKdx-Cdiev=v{eg{8Ht<{e8_NAN~b=)%W>-WDCE0PyDHGemi$BoXwcK z{>e9^za6*c1ilttWw&V+U;WCPlV9{LdC~Ey%_H(qj`xgfES(4Yz5jSTZfCt`4E$0YRsR*S^mTCR^;V&sxC8{l_Cp7w8-YPgg&ebxsLQ00$vXK>z>% literal 0 HcmV?d00001 diff --git a/html/tabs.css b/html/tabs.css new file mode 100644 index 0000000..7fa4268 --- /dev/null +++ b/html/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.main-menu-btn{position:relative;display:inline-block;width:36px;height:36px;text-indent:36px;margin-left:8px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.main-menu-btn-icon,.main-menu-btn-icon:before,.main-menu-btn-icon:after{position:absolute;top:50%;left:2px;height:2px;width:24px;background:var(--nav-menu-button-color);-webkit-transition:all .25s;transition:all .25s}.main-menu-btn-icon:before{content:'';top:-7px;left:0}.main-menu-btn-icon:after{content:'';top:7px;left:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon{height:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before{top:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after{top:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#main-menu-state{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px)}#main-menu-state:not(:checked) ~ #main-menu{display:none}#main-menu-state:checked ~ #main-menu{display:block}@media(min-width:768px){.main-menu-btn{position:absolute;top:-99999px}#main-menu-state:not(:checked) ~ #main-menu{display:block}}.sm-dox{background-image:var(--nav-gradient-image)}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:var(--font-family-nav);font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:var(--nav-text-normal-shadow);color:var(--nav-text-normal-color);outline:0}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:var(--nav-menu-toggle-color);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a span.sub-arrow:before{display:block;content:'+'}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:var(--nav-menu-background-color)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:var(--nav-menu-background-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:var(--nav-gradient-image);line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:var(--nav-text-normal-color) transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:var(--nav-separator-image);background-repeat:no-repeat;background-position:right;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a:hover span.sub-arrow{border-color:var(--nav-text-hover-color) transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent var(--nav-menu-background-color) transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:var(--nav-menu-background-color);-moz-border-radius:5px !important;-webkit-border-radius:5px;border-radius:5px !important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent var(--nav-menu-foreground-color);border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:var(--nav-menu-foreground-color);background-image:none;border:0 !important}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent var(--nav-text-hover-color)}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:var(--nav-menu-background-color);height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent var(--nav-menu-foreground-color) transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:var(--nav-menu-foreground-color) transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:var(--nav-gradient-image)}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:var(--nav-menu-background-color)}}