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

Create a Battery Supply PDO Sink value See Table 6-16 Battery Supply PDO - Sink. More...

#include <usbc_pd.h>

Data Fields

struct {
   uint32_t   operational_power: 10
 Operational Power in 250mW 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
 Battery supply. More...
 
}; 
 
uint32_t raw_value
 Raw PDO value.
 

Detailed Description

Create a Battery Supply PDO Sink value See Table 6-16 Battery Supply PDO - Sink.

Field Documentation

◆ 

struct { ... } pd_battery_supply_pdo_sink::@233

◆ max_voltage

uint32_t pd_battery_supply_pdo_sink::max_voltage

Maximum Voltage in 50mV units.

◆ min_voltage

uint32_t pd_battery_supply_pdo_sink::min_voltage

Minimum Voltage in 50mV units.

◆ operational_power

uint32_t pd_battery_supply_pdo_sink::operational_power

Operational Power in 250mW units.

◆ raw_value

uint32_t pd_battery_supply_pdo_sink::raw_value

Raw PDO value.

◆ type

enum pdo_type pd_battery_supply_pdo_sink::type

Battery supply.

SET TO PDO_BATTERY


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