136136
137137clk_div_list = array ("I" , [0 for _ in range (64 )])
138138
139- clk_div_list [0 ] = 0b111100111110110101011100000000
140- clk_div_list [1 ] = 0b111100111110110101011100000000
141- clk_div_list [2 ] = 0b111100111110110101011100000000
142- clk_div_list [3 ] = 0b111100111110110101011100000000
143- clk_div_list [4 ] = 0b111100111110110101011100000000
144- clk_div_list [5 ] = 0b111100111110110101011100000000
145- clk_div_list [6 ] = 0b111100111110110101011100000000
146- clk_div_list [7 ] = 0b111100111110110101011100000000
147- clk_div_list [8 ] = 0b111100111110110101011100000000
148- clk_div_list [9 ] = 0b111100111110110101011100000000
149- clk_div_list [10 ] = 0b111100111110110101011100000000
150- clk_div_list [11 ] = 0b111100111110110101011100000000
151- clk_div_list [12 ] = 0b111100111110110101011100000000
152- clk_div_list [13 ] = 0b111100111110110101011100000000
153- clk_div_list [14 ] = 0b111100111110110101011100000000
154- clk_div_list [15 ] = 0b111100111110110101011100000000
155- clk_div_list [16 ] = 0b111100111110110101011100000000
156- clk_div_list [17 ] = 0b110111110000100100101100000000
157- clk_div_list [18 ] = 0b110011010110101101001000000000
158- clk_div_list [19 ] = 0b101111100110000110110000000000
159- clk_div_list [20 ] = 0b101100010110100101100000000000
160- clk_div_list [21 ] = 0b101001100001010100000000000000
161- clk_div_list [22 ] = 0b100111000001110011010100000000
162- clk_div_list [23 ] = 0b100100110100100010001100000000
163- clk_div_list [24 ] = 0b100010110110001110110000000000
164- clk_div_list [25 ] = 0b100001000100110001110100000000
165- clk_div_list [26 ] = 0b11111011110011100001000000000
166- clk_div_list [27 ] = 0b11110000001011010111100000000
167- clk_div_list [28 ] = 0b11100101100100111010100000000
168- clk_div_list [29 ] = 0b11011011111000100111000000000
169- clk_div_list [30 ] = 0b11010010111101110101100000000
170- clk_div_list [31 ] = 0b11001010101111100011000000000
171- clk_div_list [32 ] = 0b11000011001000110000100000000
172- clk_div_list [33 ] = 0b1111100111000110101100000000
173- clk_div_list [34 ] = 0b1011011110101000110000000000
174- clk_div_list [35 ] = 0b1001000100111000000100000000
175- clk_div_list [36 ] = 0b111100000010101110000000000
176- clk_div_list [37 ] = 0b110011001011110001000000000
177- clk_div_list [38 ] = 0b101100100110100110000000000
178- clk_div_list [39 ] = 0b100111100001011001000000000
179- clk_div_list [40 ] = 0b100011011110101011100000000
180- clk_div_list [41 ] = 0b100000001100000000000000000
181- clk_div_list [42 ] = 0b11101011101000110000000000
182- clk_div_list [43 ] = 0b11011001001100100100000000
183- clk_div_list [44 ] = 0b11001001011011101000000000
184- clk_div_list [45 ] = 0b10111011110011010000000000
185- clk_div_list [46 ] = 0b10101111111001100000000000
186- clk_div_list [47 ] = 0b10100101011010100000000000
187- clk_div_list [48 ] = 0b10011100000111000000000000
188- clk_div_list [49 ] = 0b10011100000111000000000000
189- clk_div_list [50 ] = 0b10011100000111000000000000
190- clk_div_list [51 ] = 0b10011100000111000000000000
191- clk_div_list [52 ] = 0b10011100000111000000000000
192- clk_div_list [53 ] = 0b10011100000111000000000000
193- clk_div_list [54 ] = 0b10011100000111000000000000
194- clk_div_list [55 ] = 0b10011100000111000000000000
195- clk_div_list [56 ] = 0b10011100000111000000000000
196- clk_div_list [57 ] = 0b10011100000111000000000000
197- clk_div_list [58 ] = 0b10011100000111000000000000
198- clk_div_list [59 ] = 0b10011100000111000000000000
199- clk_div_list [60 ] = 0b10011100000111000000000000
200- clk_div_list [61 ] = 0b10011100000111000000000000
201- clk_div_list [62 ] = 0b10011100000111000000000000
202- clk_div_list [63 ] = 0b10011100000111000000000000
139+ clk_div_list [0 ] = - 0b1010110011101010011100100000000
140+ clk_div_list [1 ] = - 0b1010110011101010011100100000000
141+ clk_div_list [2 ] = - 0b1010110011101010011100100000000
142+ clk_div_list [3 ] = 0b1100101101111110001011100000000
143+ clk_div_list [4 ] = 0b1010100110001010110001100000000
144+ clk_div_list [5 ] = 0b1010100110001010110001100000000
145+ clk_div_list [6 ] = 0b111111100101100010100100000000
146+ clk_div_list [7 ] = 0b111000100000111001011100000000
147+ clk_div_list [8 ] = 0b110011100101111111001000000000
148+ clk_div_list [9 ] = 0b110010110111100011000000000000
149+ clk_div_list [10 ] = 0b101110001111100011111000000000
150+ clk_div_list [11 ] = 0b101010011000101011000100000000
151+ clk_div_list [12 ] = 0b100011010100100011111000000000
152+ clk_div_list [13 ] = 0b11110010001100111111000000000
153+ clk_div_list [14 ] = 0b11010011111011010111100000000
154+ clk_div_list [15 ] = 0b10111111010111101100100000000
155+ clk_div_list [16 ] = 0b10111100011000010100100000000
156+ clk_div_list [17 ] = 0b10101001100010101100000000000
157+ clk_div_list [18 ] = 0b10011010001000010001000000000
158+ clk_div_list [19 ] = 0b10001101010010001111100000000
159+ clk_div_list [20 ] = 0b10000010011010101100000000000
160+ clk_div_list [21 ] = 0b1111001000110011111100000000
161+ clk_div_list [22 ] = 0b1110010000110010000000000000
162+ clk_div_list [23 ] = 0b1110001000001110010100000000
163+ clk_div_list [24 ] = 0b1101001111101101011100000000
164+ clk_div_list [25 ] = 0b1100011101110110000100000000
165+ clk_div_list [26 ] = 0b1011110001100001010000000000
166+ clk_div_list [27 ] = 0b1011001001110111001000000000
167+ clk_div_list [28 ] = 0b1010100110001010110000000000
168+ clk_div_list [29 ] = 0b1010001010001110101000000000
169+ clk_div_list [30 ] = 0b1010000101110111111100000000
170+ clk_div_list [31 ] = 0b1001101000100001000100000000
171+ clk_div_list [32 ] = 0b1001001101101101100000000000
172+ clk_div_list [33 ] = 0b1000110101001000010100000000
173+ clk_div_list [34 ] = 0b1000011110100001100100000000
174+ clk_div_list [35 ] = 0b1000001001101010001100000000
175+ clk_div_list [36 ] = 0b111111000111110000000000000
176+ clk_div_list [37 ] = 0b111110110010101101100000000
177+ clk_div_list [38 ] = 0b111100100011001100000000000
178+ clk_div_list [39 ] = 0b111010011101100100000000000
179+ clk_div_list [40 ] = 0b111000100000110110000000000
180+ clk_div_list [41 ] = 0b110110101100001011000000000
181+ clk_div_list [42 ] = 0b110100111110110010100000000
182+ clk_div_list [43 ] = 0b110011100110000111100000000
183+ clk_div_list [44 ] = 0b110011011000000010100000000
184+ clk_div_list [45 ] = 0b110001110111010101100000000
185+ clk_div_list [46 ] = 0b110000011100001010000000000
186+ clk_div_list [47 ] = 0b101111000110000010100000000
187+ clk_div_list [48 ] = 0b101101110100100101000000000
188+ clk_div_list [49 ] = 0b101100100111011010000000000
189+ clk_div_list [50 ] = 0b101011101000010001000000000
190+ clk_div_list [51 ] = 0b101011011110001100100000000
191+ clk_div_list [52 ] = 0b101010011000101001000000000
192+ clk_div_list [53 ] = 0b101001010110011110100000000
193+ clk_div_list [54 ] = 0b101000010111011110000000000
194+ clk_div_list [55 ] = 0b100111011011011001000000000
195+ clk_div_list [56 ] = 0b100110100010000010100000000
196+ clk_div_list [57 ] = 0b100101110010110011000000000
197+ clk_div_list [58 ] = 0b100101101011001111000000000
198+ clk_div_list [59 ] = 0b100100110110110100100000000
199+ clk_div_list [60 ] = 0b100100000100100111000000000
200+ clk_div_list [61 ] = 0b100011010100100001000000000
201+ clk_div_list [62 ] = 0b100010100110011000100000000
202+ clk_div_list [63 ] = 0b100001111010000110000000000
203203
204204pwm_freq_list = [
205205 "0.4 Hz" ,
333333pwm_div_list [60 ] = 0b10011100000111000000000000
334334pwm_div_list [61 ] = 0b10011100000111000000000000
335335pwm_div_list [62 ] = 0b10011100000111000000000000
336- pwm_div_list [63 ] = 0b10011100000111000000000000
336+ pwm_div_list [63 ] = 0b10011100000111000000000000
337+
0 commit comments