HPI Library
cy_stc_hpi_pd_status_t Struct Reference

Description

Structure to hold the PD status and configurations.

Data Fields

cy_stc_hpi_disc_mode_resp_t amDiscResp [CY_HPI_MAX_ALTMODE_COUNT]
 Array holds the DISC_MODE responses received for various alternate modes. More...
 
uint8_t amDiscCount
 Number of alternate modes for which response data is stored. More...
 
bool pdRetryPending
 Check if the DPM command retry is pending. More...
 
cy_en_pdstack_dpm_pd_cmd_t dpmCmd
 Active DPM command for each PD port. More...
 
cy_en_pdstack_dpm_typec_cmd_t typecCmd
 Active Type-C command for each PD port. More...
 
cy_stc_pdstack_dpm_pd_cmd_buf_t dpmCmdParam
 DPM command parameters for each port. More...
 
volatile bool snkMinStat
 Variable to track GO_TO_MIN status. More...
 
volatile bool gotoMinRcvd
 Variable to track GO_TO_MIN received status. More...
 

Field Documentation

◆ amDiscResp

cy_stc_hpi_disc_mode_resp_t cy_stc_hpi_pd_status_t::amDiscResp[CY_HPI_MAX_ALTMODE_COUNT]

Array holds the DISC_MODE responses received for various alternate modes.

◆ amDiscCount

uint8_t cy_stc_hpi_pd_status_t::amDiscCount

Number of alternate modes for which response data is stored.

◆ pdRetryPending

bool cy_stc_hpi_pd_status_t::pdRetryPending

Check if the DPM command retry is pending.

◆ dpmCmd

cy_en_pdstack_dpm_pd_cmd_t cy_stc_hpi_pd_status_t::dpmCmd

Active DPM command for each PD port.

◆ typecCmd

cy_en_pdstack_dpm_typec_cmd_t cy_stc_hpi_pd_status_t::typecCmd

Active Type-C command for each PD port.

◆ dpmCmdParam

cy_stc_pdstack_dpm_pd_cmd_buf_t cy_stc_hpi_pd_status_t::dpmCmdParam

DPM command parameters for each port.

◆ snkMinStat

volatile bool cy_stc_hpi_pd_status_t::snkMinStat

Variable to track GO_TO_MIN status.

◆ gotoMinRcvd

volatile bool cy_stc_hpi_pd_status_t::gotoMinRcvd

Variable to track GO_TO_MIN received status.