| Zephyr Project API 4.2.99
    A Scalable Open Source RTOS | 
Create Augmented Supply PDO Sink value See Table 6-17 Programmable Power Supply APDO - Sink. More...
#include <usbc_pd.h>
| Data Fields | ||
| struct { | ||
| uint32_t max_current: 7 | ||
| Maximum Current in 50mA increments.  More... | ||
| uint32_t reserved0: 1 | ||
| Reserved – Shall be set to zero.  More... | ||
| uint32_t min_voltage: 8 | ||
| Minimum Voltage in 100mV increments.  More... | ||
| uint32_t reserved1: 1 | ||
| Reserved – Shall be set to zero.  More... | ||
| uint32_t max_voltage: 8 | ||
| Maximum Voltage in 100mV increments.  More... | ||
| uint32_t reserved2: 3 | ||
| Reserved – Shall be set to zero.  More... | ||
| uint32_t reserved3: 2 | ||
| 00b – Programmable Power Supply 01b…11b - Reserved, Shall Not be used Setting as reserved because it defaults to 0 when not set.  More... | ||
| enum pdo_type type: 2 | ||
| Augmented Power Data Object (APDO).  More... | ||
| }; | ||
| uint32_t | raw_value | |
| Raw PDO value. | ||
Create Augmented Supply PDO Sink value See Table 6-17 Programmable Power Supply APDO - Sink.
| struct { ... } pd_augmented_supply_pdo_sink | 
| uint32_t pd_augmented_supply_pdo_sink::max_current | 
Maximum Current in 50mA increments.
| uint32_t pd_augmented_supply_pdo_sink::max_voltage | 
Maximum Voltage in 100mV increments.
| uint32_t pd_augmented_supply_pdo_sink::min_voltage | 
Minimum Voltage in 100mV increments.
| uint32_t pd_augmented_supply_pdo_sink::raw_value | 
Raw PDO value.
| uint32_t pd_augmented_supply_pdo_sink::reserved0 | 
Reserved – Shall be set to zero.
| uint32_t pd_augmented_supply_pdo_sink::reserved1 | 
Reserved – Shall be set to zero.
| uint32_t pd_augmented_supply_pdo_sink::reserved2 | 
Reserved – Shall be set to zero.
| uint32_t pd_augmented_supply_pdo_sink::reserved3 | 
00b – Programmable Power Supply 01b…11b - Reserved, Shall Not be used Setting as reserved because it defaults to 0 when not set.
| enum pdo_type pd_augmented_supply_pdo_sink::type | 
Augmented Power Data Object (APDO).
SET TO PDO_AUGMENTED