PDStack Middleware Library 2.0
cy_stc_pdstack_dpm_ext_status_t Struct Reference

Description

PD Device Latest Policy Status structure.

This structure holds all of the configuration and status information associated with PD3.1 update. Members of this structure should not be directly modified by any of the application code.

Data Fields

uint8_t extSrcCap [CY_PD_EXT_SRCCAP_BUF_SIZE]
 Buffer to hold extended source caps. More...
 
uint8_t extSnkCap [CY_PD_EXT_SNKCAP_BUF_SIZE]
 Buffer to hold extended sink caps. More...
 
cy_pd_pd_do_t srcInfo
 Source info.
 
cy_pd_pd_do_t revision
 PD revision.
 
bool eprActive
 EPR mode status. More...
 
bool eprToSpr
 EPR flag to indicate limit SNK PDO to SPR.
 
bool eprAvsActive
 EPR AVS contract status.
 
uint8_t eprAvsMode
 EPR AVS mode status.
 
uint8_t curEprSrcPdoCount
 EPR Source PDO count in the last sent EPR source cap. More...
 
uint8_t curEprSnkPdoCount
 EPR Sink PDO count in the last sent EPR sink cap. More...
 
cy_stc_pdstack_epr_t epr
 EPR structure.
 
uint8_t pwrLed
 Power LED state.
 

Field Documentation

◆ extSrcCap

uint8_t cy_stc_pdstack_dpm_ext_status_t::extSrcCap[CY_PD_EXT_SRCCAP_BUF_SIZE]

Buffer to hold extended source caps.

◆ extSnkCap

uint8_t cy_stc_pdstack_dpm_ext_status_t::extSnkCap[CY_PD_EXT_SNKCAP_BUF_SIZE]

Buffer to hold extended sink caps.

◆ eprActive

bool cy_stc_pdstack_dpm_ext_status_t::eprActive

EPR mode status.

◆ curEprSrcPdoCount

uint8_t cy_stc_pdstack_dpm_ext_status_t::curEprSrcPdoCount

EPR Source PDO count in the last sent EPR source cap.

◆ curEprSnkPdoCount

uint8_t cy_stc_pdstack_dpm_ext_status_t::curEprSnkPdoCount

EPR Sink PDO count in the last sent EPR sink cap.