Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pd_variable_supply_pdo_source Union Reference

Create a Variable Supply PDO Source value See Table 6-11 Variable Supply (non-Battery) PDO - Source. More...

#include <usbc_pd.h>

Data Fields

struct {
   uint32_t   max_current: 10
 Maximum 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.
 

Detailed Description

Create a Variable Supply PDO Source value See Table 6-11 Variable Supply (non-Battery) PDO - Source.

Field Documentation

◆ 

struct { ... } pd_variable_supply_pdo_source::@226

◆ max_current

uint32_t pd_variable_supply_pdo_source::max_current

Maximum Current in 10mA units.

◆ max_voltage

uint32_t pd_variable_supply_pdo_source::max_voltage

Maximum Voltage in 50mV units.

◆ min_voltage

uint32_t pd_variable_supply_pdo_source::min_voltage

Minimum Voltage in 50mV units.

◆ raw_value

uint32_t pd_variable_supply_pdo_source::raw_value

Raw PDO value.

◆ type

enum pdo_type pd_variable_supply_pdo_source::type

Variable supply.

SET TO PDO_VARIABLE


The documentation for this union was generated from the following file: