Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pd.h File Reference

USB Power Delivery Power Data Object (PDO) definitions. More...

Go to the source code of this file.

Macros

#define PDO_FIXED(mv, ma, flags)
 Build a Fixed Supply PDO.
#define VSAFE5V   5000
 vSafe5V, the default 5V supply, in millivolts
#define PDO_BATT(min_mv, max_mv, max_mw)
 Build a Battery Supply PDO.
#define PDO_VAR(min_mv, max_mv, max_ma)
 Build a Variable Supply (non-Battery) PDO.
#define PDO_PPS_APDO(min_mv, max_mv, max_ma)
 Build a Programmable Power Supply (PPS) Augmented PDO.
Fixed Supply PDO capability flags
#define PDO_FIXED_DUAL_ROLE   (1 << 29)
 Power role swap supported.
#define PDO_FIXED_SUSPEND   (1 << 28)
 USB Suspend supported (Source).
#define PDO_FIXED_HIGHER_CAP   (1 << 28)
 Requires more than vSafe5V (Sink).
#define PDO_FIXED_EXTPOWER   (1 << 27)
 Externally powered.
#define PDO_FIXED_USB_COMM   (1 << 26)
 USB communications capable.
#define PDO_FIXED_DATA_SWAP   (1 << 25)
 Data role swap supported.

Detailed Description

USB Power Delivery Power Data Object (PDO) definitions.