Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
Create a Fixed Supply PDO Source value See Table 6-9 Fixed Supply PDO - Source. More...
#include <usbc_pd.h>
Data Fields | |
struct { | |
uint32_t max_current: 10 | |
Maximum Current in 10mA units. More... | |
uint32_t voltage: 10 | |
Voltage in 50mV units. More... | |
uint32_t peak_current: 2 | |
Peak Current. More... | |
uint32_t reserved0: 2 | |
Reserved – Shall be set to zero. More... | |
uint32_t unchunked_ext_msg_supported: 1 | |
Unchunked Extended Messages Supported. More... | |
uint32_t dual_role_data: 1 | |
Dual-Role Data. More... | |
uint32_t usb_comms_capable: 1 | |
USB Communications Capable. More... | |
uint32_t unconstrained_power: 1 | |
Unconstrained Power. More... | |
uint32_t usb_suspend_supported: 1 | |
USB Suspend Supported. More... | |
uint32_t dual_role_power: 1 | |
Dual-Role Power. More... | |
enum pdo_type type: 2 | |
Fixed supply. More... | |
}; | |
uint32_t | raw_value |
Raw PDO value. | |
Create a Fixed Supply PDO Source value See Table 6-9 Fixed Supply PDO - Source.
struct { ... } pd_fixed_supply_pdo_source::@223 |
uint32_t pd_fixed_supply_pdo_source::dual_role_data |
Dual-Role Data.
uint32_t pd_fixed_supply_pdo_source::dual_role_power |
Dual-Role Power.
uint32_t pd_fixed_supply_pdo_source::max_current |
Maximum Current in 10mA units.
uint32_t pd_fixed_supply_pdo_source::peak_current |
Peak Current.
uint32_t pd_fixed_supply_pdo_source::raw_value |
Raw PDO value.
uint32_t pd_fixed_supply_pdo_source::reserved0 |
Reserved – Shall be set to zero.
enum pdo_type pd_fixed_supply_pdo_source::type |
Fixed supply.
SET TO PDO_FIXED
uint32_t pd_fixed_supply_pdo_source::unchunked_ext_msg_supported |
Unchunked Extended Messages Supported.
uint32_t pd_fixed_supply_pdo_source::unconstrained_power |
Unconstrained Power.
uint32_t pd_fixed_supply_pdo_source::usb_comms_capable |
USB Communications Capable.
uint32_t pd_fixed_supply_pdo_source::usb_suspend_supported |
USB Suspend Supported.
uint32_t pd_fixed_supply_pdo_source::voltage |
Voltage in 50mV units.