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

Create a Fixed Supply PDO Source value See Table 6-9 Fixed Supply PDO - Source. More...

#include <usbc_pd.h>

Data Fields

struct {
   uint32_t   max_current: 10
 Maximum Current in 10mA units. More...
 
   uint32_t   voltage: 10
 Voltage in 50mV units. More...
 
   uint32_t   peak_current: 2
 Peak Current. More...
 
   uint32_t   reserved0: 2
 Reserved – Shall be set to zero. More...
 
   uint32_t   unchunked_ext_msg_supported: 1
 Unchunked Extended Messages Supported. 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   usb_suspend_supported: 1
 USB Suspend Supported. 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.
 

Detailed Description

Create a Fixed Supply PDO Source value See Table 6-9 Fixed Supply PDO - Source.

Field Documentation

◆ 

struct { ... } pd_fixed_supply_pdo_source::@222

◆ dual_role_data

uint32_t pd_fixed_supply_pdo_source::dual_role_data

Dual-Role Data.

◆ dual_role_power

uint32_t pd_fixed_supply_pdo_source::dual_role_power

Dual-Role Power.

◆ max_current

uint32_t pd_fixed_supply_pdo_source::max_current

Maximum Current in 10mA units.

◆ peak_current

uint32_t pd_fixed_supply_pdo_source::peak_current

Peak Current.

◆ raw_value

uint32_t pd_fixed_supply_pdo_source::raw_value

Raw PDO value.

◆ reserved0

uint32_t pd_fixed_supply_pdo_source::reserved0

Reserved – Shall be set to zero.

◆ type

enum pdo_type pd_fixed_supply_pdo_source::type

Fixed supply.

SET TO PDO_FIXED

◆ unchunked_ext_msg_supported

uint32_t pd_fixed_supply_pdo_source::unchunked_ext_msg_supported

Unchunked Extended Messages Supported.

◆ unconstrained_power

uint32_t pd_fixed_supply_pdo_source::unconstrained_power

Unconstrained Power.

◆ usb_comms_capable

uint32_t pd_fixed_supply_pdo_source::usb_comms_capable

USB Communications Capable.

◆ usb_suspend_supported

uint32_t pd_fixed_supply_pdo_source::usb_suspend_supported

USB Suspend Supported.

◆ voltage

uint32_t pd_fixed_supply_pdo_source::voltage

Voltage in 50mV units.


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