PDStack Middleware Library
cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT Struct Reference

Description

Structure containing status bits.

Data Fields

uint32_t dfltDataRole: 2
 Bits 01:00 - Default data role. More...
 
uint32_t dfltDataPref: 1
 Bit 02 - Preferred data role in case of DRP. More...
 
uint32_t dfltPowerRole: 2
 Bits 04:03 - Default power role. More...
 
uint32_t dfltPowerPref: 1
 Bit 05 - Preferred power role in case of DRP. More...
 
uint32_t curDataRole: 1
 Bit 06 - Current data role. More...
 
uint32_t reserved0: 1
 Bit 07 - Reserved. More...
 
uint32_t curPowerRole: 1
 Bit 08 - Current power role. More...
 
uint32_t minState: 1
 Bit 09 - Whether in Min state (due to GotoMin). More...
 
uint32_t contractExist: 1
 Bit 10 - Whether explicit contract exists. More...
 
uint32_t emcaPresent: 1
 Bit 11 - EMCA detected or not. More...
 
uint32_t vconnSrc: 1
 Bit 12 - Whether CCG is VConn source. More...
 
uint32_t vconnOn: 1
 Bit 13 - Whether VConn is ON. More...
 
uint32_t rpStatus: 1
 Bit 14 - Current Rp status. More...
 
uint32_t peRdy: 1
 Bit 15 - Whether policy engine is in Ready state. More...
 
uint32_t ccgSpecRev: 2
 Bits 17:16 - USB PD revision supported by the EZ-PD(TM) CCG firmware. More...
 
uint32_t peerPd3Supp: 1
 Bit 18 - Whether port partner supports PD 3.0. More...
 
uint32_t peerUnchunkSupp: 1
 Bit 19 - Whether port partner supports unchunked messages. More...
 
uint32_t emcaSpecRev: 2
 Bits 21:20 - USB PD revision supported by cable marker. More...
 
uint32_t emcaType: 1
 Bit 22 - EMCA type: Passive=0, Active=1. More...
 
uint32_t eprStatus: 1
 Bit 23 - Whether EZ-PD(TM) CCG in EPR mode or not.
 
uint32_t eprSnkEnable: 1
 Bit 24 - EPR sink feature enable.
 
uint32_t eprSrcEnable: 1
 Bit 25 - EPR source feature enable.
 
uint32_t reserved2: 6
 Bit 31:26 - Reserved field. More...
 

Field Documentation

◆ dfltDataRole

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::dfltDataRole

Bits 01:00 - Default data role.

◆ dfltDataPref

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::dfltDataPref

Bit 02 - Preferred data role in case of DRP.

◆ dfltPowerRole

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::dfltPowerRole

Bits 04:03 - Default power role.

◆ dfltPowerPref

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::dfltPowerPref

Bit 05 - Preferred power role in case of DRP.

◆ curDataRole

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::curDataRole

Bit 06 - Current data role.

◆ reserved0

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::reserved0

Bit 07 - Reserved.

◆ curPowerRole

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::curPowerRole

Bit 08 - Current power role.

◆ minState

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::minState

Bit 09 - Whether in Min state (due to GotoMin).

◆ contractExist

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::contractExist

Bit 10 - Whether explicit contract exists.

◆ emcaPresent

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::emcaPresent

Bit 11 - EMCA detected or not.

◆ vconnSrc

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::vconnSrc

Bit 12 - Whether CCG is VConn source.

◆ vconnOn

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::vconnOn

Bit 13 - Whether VConn is ON.

◆ rpStatus

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::rpStatus

Bit 14 - Current Rp status.

◆ peRdy

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::peRdy

Bit 15 - Whether policy engine is in Ready state.

◆ ccgSpecRev

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::ccgSpecRev

Bits 17:16 - USB PD revision supported by the EZ-PD(TM) CCG firmware.

◆ peerPd3Supp

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::peerPd3Supp

Bit 18 - Whether port partner supports PD 3.0.

◆ peerUnchunkSupp

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::peerUnchunkSupp

Bit 19 - Whether port partner supports unchunked messages.

◆ emcaSpecRev

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::emcaSpecRev

Bits 21:20 - USB PD revision supported by cable marker.

◆ emcaType

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::emcaType

Bit 22 - EMCA type: Passive=0, Active=1.

◆ reserved2

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::reserved2

Bit 31:26 - Reserved field.