| 
    Zephyr Project API
    3.3.0
    
   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 | |
| uint32_t voltage: 10 | |
| uint32_t peak_current: 2 | |
| uint32_t reserved0: 2 | |
| uint32_t unchunked_ext_msg_supported: 1 | |
| uint32_t dual_role_data: 1 | |
| uint32_t usb_comms_capable: 1 | |
| uint32_t unconstrained_power: 1 | |
| uint32_t usb_suspend_supported: 1 | |
| uint32_t dual_role_power: 1 | |
| enum pdo_type type: 2 | |
| }; | |
| uint32_t | raw_value | 
Create a Fixed Supply PDO Source value See Table 6-9 Fixed Supply PDO - Source.
| struct { ... } pd_fixed_supply_pdo_source::@151 | 
| 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