PDStack Middleware Library 2.0
cy_stc_pdstack_context_t Struct Reference

Description

Structure to PDSTACK Middleware context information.

Data Fields

uint8_t port
 USBPD port Index. More...
 
cy_stc_pdstack_dpm_status_t dpmStat
 PD Device Policy Configuration and Status structure. More...
 
cy_stc_pd_dpm_config_t dpmConfig
 PD Device Policy Configuration and Status structure. More...
 
cy_stc_pdstack_app_cbk_tptrAppCbk
 Pointer to the application callback structure. More...
 
cy_stc_pdstack_pd_status_t pdStat
 Protocol layer status structure. More...
 
cy_stc_pdstack_pe_status_t peStat
 Policy Engine status structure. More...
 
cy_stc_pdstack_typec_status_t typecStat
 Type c Status. More...
 
const cy_stc_pdstack_port_cfg_tptrPortCfg
 Pointer to the Port Configuration structure. More...
 
cy_stc_usbpd_context_t * ptrUsbPdContext
 Pointer to the USBPD PDL context information. More...
 
const cy_stc_pdstack_dpm_params_tptrDpmParams
 Structure members for the various parameters that dpm update functions are updating. More...
 
cy_stc_sw_timer_tptrTimerContext
 PdStack Timer Context.
 
cy_stc_pdstack_rtos_context_tptrRtosContext
 Pointer to the RTOS callback function structure. More...
 
cy_stc_pdstack_dpm_ext_status_t dpmExtStat
 PD Device Policy Configuration and Status structure having PD3.1 updated parameters. More...
 
void * ptrAltModeContext
 Pointer to the AltMode context. More...
 
void * ptrHpiContext
 Pointer to the HPI context. More...
 

Field Documentation

◆ port

uint8_t cy_stc_pdstack_context_t::port

USBPD port Index.

◆ dpmStat

cy_stc_pdstack_dpm_status_t cy_stc_pdstack_context_t::dpmStat

PD Device Policy Configuration and Status structure.

◆ dpmConfig

cy_stc_pd_dpm_config_t cy_stc_pdstack_context_t::dpmConfig

PD Device Policy Configuration and Status structure.

◆ ptrAppCbk

cy_stc_pdstack_app_cbk_t* cy_stc_pdstack_context_t::ptrAppCbk

Pointer to the application callback structure.

◆ pdStat

cy_stc_pdstack_pd_status_t cy_stc_pdstack_context_t::pdStat

Protocol layer status structure.

◆ peStat

cy_stc_pdstack_pe_status_t cy_stc_pdstack_context_t::peStat

Policy Engine status structure.

◆ typecStat

cy_stc_pdstack_typec_status_t cy_stc_pdstack_context_t::typecStat

Type c Status.

◆ ptrPortCfg

const cy_stc_pdstack_port_cfg_t* cy_stc_pdstack_context_t::ptrPortCfg

Pointer to the Port Configuration structure.

◆ ptrUsbPdContext

cy_stc_usbpd_context_t* cy_stc_pdstack_context_t::ptrUsbPdContext

Pointer to the USBPD PDL context information.

◆ ptrDpmParams

const cy_stc_pdstack_dpm_params_t* cy_stc_pdstack_context_t::ptrDpmParams

Structure members for the various parameters that dpm update functions are updating.

◆ ptrRtosContext

cy_stc_pdstack_rtos_context_t* cy_stc_pdstack_context_t::ptrRtosContext

Pointer to the RTOS callback function structure.

◆ dpmExtStat

cy_stc_pdstack_dpm_ext_status_t cy_stc_pdstack_context_t::dpmExtStat

PD Device Policy Configuration and Status structure having PD3.1 updated parameters.

◆ ptrAltModeContext

void* cy_stc_pdstack_context_t::ptrAltModeContext

Pointer to the AltMode context.

◆ ptrHpiContext

void* cy_stc_pdstack_context_t::ptrHpiContext

Pointer to the HPI context.