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

Requested sink operating point. More...

#include <AXP517PdNegotiator.hpp>

Public Attributes

uint8_t pdoIndex1Based = 0
 Optional explicit source PDO index, 1 through 7.
 
uint16_t targetMv = 0
 Optional fixed PDO voltage to select.
 
uint16_t opMa = 0
 Optional operating current; 0 uses source maximum.
 
uint16_t maxMa = 0
 Optional maximum current; 0 uses opMa.
 
bool capMismatch = false
 Set Capability Mismatch in the RDO.
 
bool usbCommCapable = false
 Set USB Communications Capable in the RDO.
 
bool noUsbSuspend = false
 Set No USB Suspend in the RDO.
 

Detailed Description

Requested sink operating point.

Definition at line 78 of file AXP517PdNegotiator.hpp.

Member Data Documentation

◆ capMismatch

bool AXP517PdNegotiator::RequestParams::capMismatch = false

Set Capability Mismatch in the RDO.

Definition at line 83 of file AXP517PdNegotiator.hpp.

◆ maxMa

uint16_t AXP517PdNegotiator::RequestParams::maxMa = 0

Optional maximum current; 0 uses opMa.

Definition at line 82 of file AXP517PdNegotiator.hpp.

◆ noUsbSuspend

bool AXP517PdNegotiator::RequestParams::noUsbSuspend = false

Set No USB Suspend in the RDO.

Definition at line 85 of file AXP517PdNegotiator.hpp.

◆ opMa

uint16_t AXP517PdNegotiator::RequestParams::opMa = 0

Optional operating current; 0 uses source maximum.

Definition at line 81 of file AXP517PdNegotiator.hpp.

◆ pdoIndex1Based

uint8_t AXP517PdNegotiator::RequestParams::pdoIndex1Based = 0

Optional explicit source PDO index, 1 through 7.

Definition at line 79 of file AXP517PdNegotiator.hpp.

Referenced by AXP517PdNegotiator::selectFixedOffer().

◆ targetMv

uint16_t AXP517PdNegotiator::RequestParams::targetMv = 0

Optional fixed PDO voltage to select.

Definition at line 80 of file AXP517PdNegotiator.hpp.

Referenced by PmicAXP517::requestPd(), and AXP517PdNegotiator::selectFixedOffer().

◆ usbCommCapable

bool AXP517PdNegotiator::RequestParams::usbCommCapable = false

Set USB Communications Capable in the RDO.

Definition at line 84 of file AXP517PdNegotiator.hpp.


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