PDStack Middleware Library
cy_stc_pdstack_epr_t Struct Reference

Description

Extended Power Range structure.

This structure holds a copy of the EPR configuration associated with a port on the EZ-PD(TM) CCG device. Values used for EPR implementation.

Warning
Initial elements of this structure maps directly to configure table fields and therefore, must not be moved around or changed.

Data Fields

uint8_t len
 Length of epr in the config table. More...
 
uint8_t srcEnable
 EPR SRC support enable/disable. More...
 
uint8_t srcPdoMask
 Default EPR SRC PDO enable mask. More...
 
uint8_t srcPdoCount
 Number of valid EPR SRC PDOs in the table. More...
 
cy_pd_pd_do_t srcPdo [CY_PD_MAX_NO_OF_EPR_PDO]
 EPR SRC PDO data array. More...
 
uint8_t reserved
 Needed for bytes alignment with config table. More...
 
uint8_t snkEnable
 EPR SNK support enable/disable. More...
 
uint8_t snkPdoMask
 Default EPR SNK PDO enable mask. More...
 
uint8_t snkPdoCount
 Number of valid EPR SNK PDOs in the table. More...
 
cy_pd_pd_do_t snkPdo [CY_PD_MAX_NO_OF_EPR_PDO]
 EPR SNK PDO data array. More...
 
uint16_t snkMaxMin [CY_PD_MAX_NO_OF_EPR_PDO]
 Max min EPR current from the config table or updated at runtime by the EC.
 

Field Documentation

◆ len

uint8_t cy_stc_pdstack_epr_t::len

Length of epr in the config table.

◆ srcEnable

uint8_t cy_stc_pdstack_epr_t::srcEnable

EPR SRC support enable/disable.

◆ srcPdoMask

uint8_t cy_stc_pdstack_epr_t::srcPdoMask

Default EPR SRC PDO enable mask.

◆ srcPdoCount

uint8_t cy_stc_pdstack_epr_t::srcPdoCount

Number of valid EPR SRC PDOs in the table.

◆ srcPdo

cy_pd_pd_do_t cy_stc_pdstack_epr_t::srcPdo[CY_PD_MAX_NO_OF_EPR_PDO]

EPR SRC PDO data array.

◆ reserved

uint8_t cy_stc_pdstack_epr_t::reserved

Needed for bytes alignment with config table.

◆ snkEnable

uint8_t cy_stc_pdstack_epr_t::snkEnable

EPR SNK support enable/disable.

◆ snkPdoMask

uint8_t cy_stc_pdstack_epr_t::snkPdoMask

Default EPR SNK PDO enable mask.

◆ snkPdoCount

uint8_t cy_stc_pdstack_epr_t::snkPdoCount

Number of valid EPR SNK PDOs in the table.

◆ snkPdo

cy_pd_pd_do_t cy_stc_pdstack_epr_t::snkPdo[CY_PD_MAX_NO_OF_EPR_PDO]

EPR SNK PDO data array.