|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Create Augmented Supply PDO Source value See Table 6-13 Programmable Power Supply APDO - Source. More...
#include <zephyr/drivers/usb_c/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: 2 | |
| Reserved – Shall be set to zero. More... | |
| uint32_t pps_power_limited: 1 | |
| PPS Power Limited. 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 Source value See Table 6-13 Programmable Power Supply APDO - Source.
| struct { ... } pd_augmented_supply_pdo_source |
| uint32_t pd_augmented_supply_pdo_source::max_current |
Maximum Current in 50mA increments.
| uint32_t pd_augmented_supply_pdo_source::max_voltage |
Maximum Voltage in 100mV increments.
| uint32_t pd_augmented_supply_pdo_source::min_voltage |
Minimum Voltage in 100mV increments.
| uint32_t pd_augmented_supply_pdo_source::pps_power_limited |
PPS Power Limited.
| uint32_t pd_augmented_supply_pdo_source::raw_value |
Raw PDO value.
| uint32_t pd_augmented_supply_pdo_source::reserved0 |
Reserved – Shall be set to zero.
| uint32_t pd_augmented_supply_pdo_source::reserved1 |
Reserved – Shall be set to zero.
| uint32_t pd_augmented_supply_pdo_source::reserved2 |
Reserved – Shall be set to zero.
| uint32_t pd_augmented_supply_pdo_source::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_source::type |
Augmented Power Data Object (APDO).
SET TO PDO_AUGMENTED