virtual bool isDetecting()=0
Query whether PMIC is currently detecting.
virtual Result readResult()=0
Read current BC1.2 result.
virtual ~PmicBc12Base()=default
virtual bool enableAutoDetect(bool enable)=0
Enable/disable auto BC1.2 detection (if supported).
virtual bool triggerDetect()=0
Force/trigger a BC1.2 detection cycle (if supported).
PortType
Common detected port/source type.
@ SDP
Standard Downstream Port (USB 500mA/900mA)
@ None
no valid detection / not connected
@ DCP
Dedicated Charging Port.
@ CDP
Charging Downstream Port.
uint8_t raw
raw code from PMIC (chip-specific)
bool detecting
detection in progress