Bläddra i källkod

Change internal voltage unit in docs

Now we're using millivolts internally rather than centivolts.  This
might be a good choice if USB-IF decides to make even more finely
adjustable voltages in the future.  If they don't, well, it still allows
voltages up to 65.535 V, which is beyond what some electrical codes
consider "low voltage", so I doubt USB will ever exceed that.
Clara Hobbs 7 år sedan
förälder
incheckning
70765cdada
1 ändrade filer med 5 tillägg och 3 borttagningar
  1. 5
    3
      docs/console_config.md

+ 5
- 3
docs/console_config.md Visa fil

@@ -1,6 +1,6 @@
1 1
 # PD Buddy Sink Serial Console Configuration Interface
2 2
 
3
-Version 1.2.0-dev, 2017-10-10
3
+Version 1.2.0-dev, 2017-12-09
4 4
 
5 5
 The PD Buddy Sink can be put into setup mode by holding the Setup button while
6 6
 plugging it into a computer.  In this mode, the device runs a configuration
@@ -247,7 +247,8 @@ Usage: `set_v voltage_in_mV`
247 247
 Sets the voltage of the configuration buffer, in millivolts.  Prints no output
248 248
 on success, an error message on failure.
249 249
 
250
-Note: values are rounded down to the nearest 10 mV.
250
+Note: values are rounded down to the nearest 20 mV, 50 mV, or 100 mV for
251
+various parts of the USB Power Delivery protocol.
251 252
 
252 253
 #### set_vrange
253 254
 
@@ -256,7 +257,8 @@ Usage: `set_vrange min_voltage_in_mV max_voltage_in_mV`
256 257
 Sets the minimum and maximum voltage of the configuration buffer, in
257 258
 millivolts.  Prints no message on success, an error message on failure.
258 259
 
259
-Note: values are rounded down to the nearest 10 mV.
260
+Note: values are rounded down to the nearest 20 mV, 50 mV, or 100 mV for
261
+various parts of the USB Power Delivery protocol.
260 262
 
261 263
 #### set_i
262 264
 

Laddar…
Avbryt
Spara