|
Lamp-Da 0.1
A compact lantern project
|
The requested OTG parameters. More...
#include <power_delivery.h>
Public Member Functions | |
| bool | is_otg_requested () const |
| Return true if OTG is requested and should be turned on. | |
Static Public Member Functions | |
| static OTGParameters | get_default () |
| Return the default OTG targets. | |
Public Attributes | |
| uint16_t | requestedVoltage_mV = 0 |
| Requested voltage for the OTG. | |
| uint16_t | requestedCurrent_mA = 0 |
| Requested maximum current use for the OTG. | |
The requested OTG parameters.