SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
usbpd::FixedSourcePdo Struct Reference

Parsed fixed source PDO fields. More...

#include <UsbPdDefs.hpp>

Public Attributes

uint16_t mv = 0
 Voltage in millivolts.
 
uint16_t ma = 0
 Maximum current in milliamps.
 
bool usbCommCapable = false
 USB communications capable flag.
 
bool dualRolePower = false
 Dual-role power flag.
 

Detailed Description

Parsed fixed source PDO fields.

Definition at line 299 of file UsbPdDefs.hpp.

Member Data Documentation

◆ dualRolePower

bool usbpd::FixedSourcePdo::dualRolePower = false

Dual-role power flag.

Definition at line 303 of file UsbPdDefs.hpp.

Referenced by usbpd::parseFixedSourcePdo().

◆ ma

uint16_t usbpd::FixedSourcePdo::ma = 0

Maximum current in milliamps.

Definition at line 301 of file UsbPdDefs.hpp.

Referenced by usbpd::parseFixedSourcePdo().

◆ mv

uint16_t usbpd::FixedSourcePdo::mv = 0

Voltage in millivolts.

Definition at line 300 of file UsbPdDefs.hpp.

Referenced by usbpd::parseFixedSourcePdo().

◆ usbCommCapable

bool usbpd::FixedSourcePdo::usbCommCapable = false

USB communications capable flag.

Definition at line 302 of file UsbPdDefs.hpp.

Referenced by usbpd::parseFixedSourcePdo().


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