Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
The Request Data Object (RDO) Shall be returned by the Sink making a request for power. More...
#include <usbc_pd.h>
Data Fields | ||
struct { | ||
uint32_t min_or_max_operating_current: 10 | ||
Operating Current 10mA units NOTE: If Give Back Flag is zero, this field is the Maximum Operating Current. More... | ||
uint32_t operating_current: 10 | ||
Operating current in 10mA units. More... | ||
uint32_t reserved0: 3 | ||
Reserved - Shall be set to zero. More... | ||
uint32_t unchunked_ext_msg_supported: 1 | ||
Unchunked Extended Messages Supported. More... | ||
uint32_t no_usb_suspend: 1 | ||
No USB Suspend. More... | ||
uint32_t usb_comm_capable: 1 | ||
USB Communications Capable. More... | ||
uint32_t cap_mismatch: 1 | ||
Capability Mismatch. More... | ||
uint32_t giveback: 1 | ||
Give Back Flag. More... | ||
uint32_t object_pos: 3 | ||
Object Position (000b is Reserved and Shall Not be used) More... | ||
uint32_t reserved1: 1 | ||
Reserved - Shall be set to zero. More... | ||
} | fixed | |
Create a Fixed RDO value See Table 6-19 Fixed and Variable Request Data Object. | ||
struct { | ||
uint32_t min_or_max_operating_current: 10 | ||
Operating Current 10mA units NOTE: If Give Back Flag is zero, this field is the Maximum Operating Current. More... | ||
uint32_t operating_current: 10 | ||
Operating current in 10mA units. More... | ||
uint32_t reserved0: 3 | ||
Reserved - Shall be set to zero. More... | ||
uint32_t unchunked_ext_msg_supported: 1 | ||
Unchunked Extended Messages Supported. More... | ||
uint32_t no_usb_suspend: 1 | ||
No USB Suspend. More... | ||
uint32_t usb_comm_capable: 1 | ||
USB Communications Capable. More... | ||
uint32_t cap_mismatch: 1 | ||
Capability Mismatch. More... | ||
uint32_t giveback: 1 | ||
Give Back Flag. More... | ||
uint32_t object_pos: 3 | ||
Object Position (000b is Reserved and Shall Not be used) More... | ||
uint32_t reserved1: 1 | ||
Reserved - Shall be set to zero. More... | ||
} | variable | |
Create a Variable RDO value See Table 6-19 Fixed and Variable Request Data Object. | ||
struct { | ||
uint32_t min_operating_power: 10 | ||
Minimum Operating Power in 250mW units. More... | ||
uint32_t operating_power: 10 | ||
Operating power in 250mW units. More... | ||
uint32_t reserved0: 3 | ||
Reserved - Shall be set to zero. More... | ||
uint32_t unchunked_ext_msg_supported: 1 | ||
Unchunked Extended Messages Supported. More... | ||
uint32_t no_usb_suspend: 1 | ||
No USB Suspend. More... | ||
uint32_t usb_comm_capable: 1 | ||
USB Communications Capable. More... | ||
uint32_t cap_mismatch: 1 | ||
Capability Mismatch. More... | ||
uint32_t giveback: 1 | ||
Give Back Flag. More... | ||
uint32_t object_pos: 3 | ||
Object Position (000b is Reserved and Shall Not be used) More... | ||
uint32_t reserved1: 1 | ||
Reserved - Shall be set to zero. More... | ||
} | battery | |
Create a Battery RDO value See Table 6-20 Battery Request Data Object. | ||
struct { | ||
uint32_t operating_current: 7 | ||
Operating Current 50mA units. More... | ||
uint32_t reserved0: 2 | ||
Reserved - Shall be set to zero. More... | ||
uint32_t output_voltage: 11 | ||
Output Voltage in 20mV units. More... | ||
uint32_t reserved1: 3 | ||
Reserved - Shall be set to zero. More... | ||
uint32_t unchunked_ext_msg_supported: 1 | ||
Unchunked Extended Messages Supported. More... | ||
uint32_t no_usb_suspend: 1 | ||
No USB Suspend. More... | ||
uint32_t usb_comm_capable: 1 | ||
USB Communications Capable. More... | ||
uint32_t cap_mismatch: 1 | ||
Capability Mismatch. More... | ||
uint32_t reserved2: 1 | ||
Reserved - Shall be set to zero. More... | ||
uint32_t object_pos: 3 | ||
Object Position (000b is Reserved and Shall Not be used) More... | ||
uint32_t reserved3: 1 | ||
Reserved - Shall be set to zero. More... | ||
} | augmented | |
Create an Augmented RDO value See Table 6-22 Programmable Request Data Object. | ||
uint32_t | raw_value | |
Raw RDO value. | ||
The Request Data Object (RDO) Shall be returned by the Sink making a request for power.
See Section 6.4.2 Request Message
struct { ... } pd_rdo::augmented |
Create an Augmented RDO value See Table 6-22 Programmable Request Data Object.
struct { ... } pd_rdo::battery |
Create a Battery RDO value See Table 6-20 Battery Request Data Object.
uint32_t pd_rdo::cap_mismatch |
Capability Mismatch.
struct { ... } pd_rdo::fixed |
Create a Fixed RDO value See Table 6-19 Fixed and Variable Request Data Object.
uint32_t pd_rdo::giveback |
Give Back Flag.
uint32_t pd_rdo::min_operating_power |
Minimum Operating Power in 250mW units.
uint32_t pd_rdo::min_or_max_operating_current |
Operating Current 10mA units NOTE: If Give Back Flag is zero, this field is the Maximum Operating Current.
If Give Back Flag is one, this field is the Minimum Operating Current.
uint32_t pd_rdo::no_usb_suspend |
No USB Suspend.
uint32_t pd_rdo::object_pos |
Object Position (000b is Reserved and Shall Not be used)
uint32_t pd_rdo::operating_current |
Operating current in 10mA units.
Operating Current 50mA units.
uint32_t pd_rdo::operating_power |
Operating power in 250mW units.
uint32_t pd_rdo::output_voltage |
Output Voltage in 20mV units.
uint32_t pd_rdo::raw_value |
Raw RDO value.
uint32_t pd_rdo::reserved0 |
Reserved - Shall be set to zero.
uint32_t pd_rdo::reserved1 |
Reserved - Shall be set to zero.
uint32_t pd_rdo::reserved2 |
Reserved - Shall be set to zero.
uint32_t pd_rdo::reserved3 |
Reserved - Shall be set to zero.
uint32_t pd_rdo::unchunked_ext_msg_supported |
Unchunked Extended Messages Supported.
uint32_t pd_rdo::usb_comm_capable |
USB Communications Capable.
struct { ... } pd_rdo::variable |
Create a Variable RDO value See Table 6-19 Fixed and Variable Request Data Object.