Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Create a Fixed Supply PDO Sink value See Table 6-14 Fixed Supply PDO - Sink. More...
#include <usbc_pd.h>
Data Fields | ||
struct { | ||
uint32_t operational_current: 10 | ||
Operational Current in 10mA units. More... | ||
uint32_t voltage: 10 | ||
Voltage in 50mV units. More... | ||
uint32_t reserved0: 3 | ||
Reserved – Shall be set to zero. More... | ||
enum pd_frs_type frs_required: 2 | ||
Fast Role Swap required USB Type-C Current. 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 higher_capability: 1 | ||
Higher Capability. 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 Sink value See Table 6-14 Fixed Supply PDO - Sink.
struct { ... } pd_fixed_supply_pdo_sink |
uint32_t pd_fixed_supply_pdo_sink::dual_role_data |
Dual-Role Data.
uint32_t pd_fixed_supply_pdo_sink::dual_role_power |
Dual-Role Power.
enum pd_frs_type pd_fixed_supply_pdo_sink::frs_required |
Fast Role Swap required USB Type-C Current.
uint32_t pd_fixed_supply_pdo_sink::higher_capability |
Higher Capability.
uint32_t pd_fixed_supply_pdo_sink::operational_current |
Operational Current in 10mA units.
uint32_t pd_fixed_supply_pdo_sink::raw_value |
Raw PDO value.
uint32_t pd_fixed_supply_pdo_sink::reserved0 |
Reserved – Shall be set to zero.
enum pdo_type pd_fixed_supply_pdo_sink::type |
Fixed supply.
SET TO PDO_FIXED
uint32_t pd_fixed_supply_pdo_sink::unconstrained_power |
Unconstrained Power.
uint32_t pd_fixed_supply_pdo_sink::usb_comms_capable |
USB Communications Capable.
uint32_t pd_fixed_supply_pdo_sink::voltage |
Voltage in 50mV units.