Quellcode durchsuchen

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 vor 7 Jahren
Ursprung
Commit
70765cdada
1 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen
  1. 5
    3
      docs/console_config.md

+ 5
- 3
docs/console_config.md Datei anzeigen

1
 # PD Buddy Sink Serial Console Configuration Interface
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
 The PD Buddy Sink can be put into setup mode by holding the Setup button while
5
 The PD Buddy Sink can be put into setup mode by holding the Setup button while
6
 plugging it into a computer.  In this mode, the device runs a configuration
6
 plugging it into a computer.  In this mode, the device runs a configuration
247
 Sets the voltage of the configuration buffer, in millivolts.  Prints no output
247
 Sets the voltage of the configuration buffer, in millivolts.  Prints no output
248
 on success, an error message on failure.
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
 #### set_vrange
253
 #### set_vrange
253
 
254
 
256
 Sets the minimum and maximum voltage of the configuration buffer, in
257
 Sets the minimum and maximum voltage of the configuration buffer, in
257
 millivolts.  Prints no message on success, an error message on failure.
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
 #### set_i
263
 #### set_i
262
 
264
 

Laden…
Abbrechen
Speichern