When there is a positive or negative transition of Vbus, we Shall reduce our power consumption to no more than 2.5 W beforehand. This can be easily achieved in all cases by simply turning off the output. This was implemented, so that's one fewer Shall we aren't doing. In the process, I made some API changes for the Device Policy Manager. No more output_on() and output_off(), now it's output_set(true) and output_set(false), plus a special case output_default() used during a hard reset. This much better matches how these functions are used by the policy engine.
|
|
||
31 |
|
31 |
|
32 |
|
32 |
|
33 |
|
33 |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
34 |
|
40 |
|
35 |
|
41 |
|
36 |
|
42 |
|
|
|
||
63 |
|
69 |
|
64 |
|
70 |
|
65 |
|
71 |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
66 |
|
76 |
|
67 |
|
77 |
|
68 |
|
78 |
|
|
|
||
74 |
|
84 |
|
75 |
|
85 |
|
76 |
|
86 |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
77 |
|
91 |
|
78 |
|
92 |
|
79 |
|
93 |
|
|
|
||
126 |
|
140 |
|
127 |
|
141 |
|
128 |
|
142 |
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
129 |
|
146 |
|
130 |
|
147 |
|
131 |
|
148 |
|
|
|
||
156 |
|
173 |
|
157 |
|
174 |
|
158 |
|
175 |
|
159 |
|
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
|
187 |
|
|
160 |
|
188 |
|
161 |
|
|
|
162 |
|
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
163 |
|
202 |
|
164 |
|
203 |
|
165 |
|
|
|
|
204 |
|
|
166 |
|
205 |
|
167 |
|
|
|
168 |
|
|
|
|
206 |
|
|
|
207 |
|
|
|
208 |
|
|
|
209 |
|
|
169 |
|
210 |
|
|
|
||
50 |
|
50 |
|
51 |
|
51 |
|
52 |
|
52 |
|
53 |
|
|
|
|
53 |
|
|
54 |
|
54 |
|
55 |
|
|
|
|
55 |
|
|
56 |
|
56 |
|
57 |
|
57 |
|
58 |
|
|
|
|
58 |
|
|
59 |
|
59 |
|
60 |
|
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
61 |
|
66 |
|
62 |
|
67 |
|
63 |
|
68 |
|
|
|
||
155 |
|
155 |
|
156 |
|
156 |
|
157 |
|
157 |
|
|
158 |
|
|
|
159 |
|
|
|
160 |
|
|
158 |
|
161 |
|
159 |
|
162 |
|
160 |
|
163 |
|
|
|
||
209 |
|
212 |
|
210 |
|
213 |
|
211 |
|
214 |
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
|
215 |
|
|
217 |
|
216 |
|
218 |
|
217 |
|
219 |
|
218 |
|
|
|
||
223 |
|
222 |
|
224 |
|
223 |
|
225 |
|
224 |
|
226 |
|
|
|
|
225 |
|
|
227 |
|
226 |
|
228 |
|
227 |
|
229 |
|
228 |
|
|
|
||
385 |
|
384 |
|
386 |
|
385 |
|
387 |
|
386 |
|
388 |
|
|
|
389 |
|
|
|
|
387 |
|
|
|
388 |
|
|
390 |
|
389 |
|
391 |
|
390 |
|
392 |
|
391 |
|
|
|
||
511 |
|
510 |
|
512 |
|
511 |
|
513 |
|
512 |
|
514 |
|
|
|
515 |
|
|
|
516 |
|
|
|
517 |
|
|
|
518 |
|
|
|
|
513 |
|
|
519 |
|
514 |
|
520 |
|
515 |
|
521 |
|
516 |
|