USB power delivery status storage.
More...
|
|
void | update () |
| | Update the values and update status.
|
| |
|
void | serial_show (const bool forceContract=false) |
| | Debug to serial output. The contract is shown on change only, unless forced.
|
| |
|
|
bool | isVbusPowered |
| | True if some voltage is detected on VBUS.
|
| |
|
bool | isPowerSourceDetected |
| | True if the cable is plugged to a power source.
|
| |
|
bool | isUsbPd |
| | True if the cable is identifies as PD compatible.
|
| |
|
int | vbusVoltage |
| | Actual VBUS voltage, in millivolts.
|
| |
|
uint32_t | maxInputCurrent |
| | max current input voltage, in milliamps
|
| |
|
uint32_t | maxInputVoltage |
| | max input voltage, in millivolts
|
| |
|
etl::string< 32 > | pdAlgoStatus |
| | Debug status for the algorithm.
|
| |
|
char | lastContract [64] = {0} |
| | last contract shown
|
| |
|
bool | hasChanged = false |
| | when true, this struct has changed !
|
| |
USB power delivery status storage.
The documentation for this struct was generated from the following file:
- src/system/bsp/pd/power_delivery.cpp