Zephyr API 3.6.99
|
Create a Variable Supply PDO Sink value See Table 6-15 Variable Supply (non-Battery) PDO - Sink. More...
#include <usbc_pd.h>
Data Fields | ||
struct { | ||
uint32_t operational_current: 10 | ||
operational Current in 10mA units More... | ||
uint32_t min_voltage: 10 | ||
Minimum Voltage in 50mV units. More... | ||
uint32_t max_voltage: 10 | ||
Maximum Voltage in 50mV units. More... | ||
enum pdo_type type: 2 | ||
Variable supply. More... | ||
}; | ||
uint32_t | raw_value | |
Raw PDO value. | ||
Create a Variable Supply PDO Sink value See Table 6-15 Variable Supply (non-Battery) PDO - Sink.
struct { ... } pd_variable_supply_pdo_sink |
uint32_t pd_variable_supply_pdo_sink::max_voltage |
Maximum Voltage in 50mV units.
uint32_t pd_variable_supply_pdo_sink::min_voltage |
Minimum Voltage in 50mV units.
uint32_t pd_variable_supply_pdo_sink::operational_current |
operational Current in 10mA units
uint32_t pd_variable_supply_pdo_sink::raw_value |
Raw PDO value.
enum pdo_type pd_variable_supply_pdo_sink::type |
Variable supply.
SET TO PDO_VARIABLE