PDStack Middleware Library 2.0
cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT Struct Reference

Description

Structure containing status bits.

Data Fields

uint32_t dfltDataRole: 2
 Default data role. More...
 
uint32_t dfltDataPref: 1
 Preferred data role in case of DRP. More...
 
uint32_t dfltPowerRole: 2
 Default power role. More...
 
uint32_t dfltPowerPref: 1
 Preferred power role in case of DRP. More...
 
uint32_t curDataRole: 1
 Current data role. More...
 
uint32_t reserved0: 1
 Reserved. More...
 
uint32_t curPowerRole: 1
 Current power role. More...
 
uint32_t minState: 1
 Whether in Min state (due to GotoMin). More...
 
uint32_t contractExist: 1
 Whether explicit contract exists. More...
 
uint32_t emcaPresent: 1
 EMCA detected or not. More...
 
uint32_t vconnSrc: 1
 Whether CCG is VConn source. More...
 
uint32_t vconnOn: 1
 Whether VConn is actually ON. More...
 
uint32_t rpStatus: 1
 Current Rp status. More...
 
uint32_t peRdy: 1
 Whether Policy Engine is in Ready state. More...
 
uint32_t ccgSpecRev: 2
 USB-PD revision supported by CCG firmware. More...
 
uint32_t peerPd3Supp: 1
 Whether port partner supports PD 3.0. More...
 
uint32_t peerUnchunkSupp: 1
 Whether port partner supports unchunked messages. More...
 
uint32_t emcaSpecRev: 2
 USB-PD revision supported by cable marker. More...
 
uint32_t emcaType: 1
 EMCA type: Passive=0, Active=1. More...
 
uint32_t reserved2: 9
 Reserved field. More...
 

Field Documentation

◆ dfltDataRole

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::dfltDataRole

Default data role.

◆ dfltDataPref

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::dfltDataPref

Preferred data role in case of DRP.

◆ dfltPowerRole

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::dfltPowerRole

Default power role.

◆ dfltPowerPref

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::dfltPowerPref

Preferred power role in case of DRP.

◆ curDataRole

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::curDataRole

Current data role.

◆ reserved0

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::reserved0

Reserved.

◆ curPowerRole

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::curPowerRole

Current power role.

◆ minState

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::minState

Whether in Min state (due to GotoMin).

◆ contractExist

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::contractExist

Whether explicit contract exists.

◆ emcaPresent

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::emcaPresent

EMCA detected or not.

◆ vconnSrc

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::vconnSrc

Whether CCG is VConn source.

◆ vconnOn

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::vconnOn

Whether VConn is actually ON.

◆ rpStatus

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::rpStatus

Current Rp status.

◆ peRdy

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::peRdy

Whether Policy Engine is in Ready state.

◆ ccgSpecRev

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::ccgSpecRev

USB-PD revision supported by CCG firmware.

◆ peerPd3Supp

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::peerPd3Supp

Whether port partner supports PD 3.0.

◆ peerUnchunkSupp

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::peerUnchunkSupp

Whether port partner supports unchunked messages.

◆ emcaSpecRev

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::emcaSpecRev

USB-PD revision supported by cable marker.

◆ emcaType

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::emcaType

EMCA type: Passive=0, Active=1.

◆ reserved2

uint32_t cy_stc_pdstack_pd_port_status_ec_t::PD_PORT_STAT::reserved2

Reserved field.