HPI Library
cy_stc_hpi_context_t Struct Reference

Description

Data structure to HPI middleware context information.

Data Fields

cy_stc_hpi_i2c_context_t i2cContext
 I2C context structure. More...
 
cy_stc_hpi_status_t hpiStat
 HPI status variable. More...
 
cy_stc_hpi_flash_config_t flashConfig
 Flash configurations. More...
 
cy_hpi_write_cbk_t userdefCb
 Handler for user-defined register writes. More...
 
cy_stc_hpi_app_cbk_tptrAppCbk
 HPI app callback. More...
 
cy_stc_hpi_reg_space_t regSpace
 RAM copy of all HPI registers. More...
 
cy_stc_hpi_pd_status_t pdStatus [CY_HPI_NO_OF_PD_PORTS_MAX]
 HPI PD status for each port. More...
 
cy_stc_pdstack_context_t * ptrPdContext [CY_HPI_NO_OF_PD_PORTS_MAX]
 PDStack context pointer for each port. More...
 
cy_stc_hpi_event_queue_t eventQueue [CY_HPI_NO_OF_PD_PORTS_MAX+1]
 Queue for storing events. More...
 
void * ptrUcsiContext
 Pointer to store the UCSI context structure. More...
 
cy_stc_hpi_ucsi_status_t hpiUcsiStat
 Variable to store the UCSI status. More...
 

Field Documentation

◆ i2cContext

cy_stc_hpi_i2c_context_t cy_stc_hpi_context_t::i2cContext

I2C context structure.

◆ hpiStat

cy_stc_hpi_status_t cy_stc_hpi_context_t::hpiStat

HPI status variable.

◆ flashConfig

cy_stc_hpi_flash_config_t cy_stc_hpi_context_t::flashConfig

Flash configurations.

◆ userdefCb

cy_hpi_write_cbk_t cy_stc_hpi_context_t::userdefCb

Handler for user-defined register writes.

◆ ptrAppCbk

cy_stc_hpi_app_cbk_t* cy_stc_hpi_context_t::ptrAppCbk

HPI app callback.

◆ regSpace

cy_stc_hpi_reg_space_t cy_stc_hpi_context_t::regSpace

RAM copy of all HPI registers.

◆ pdStatus

cy_stc_hpi_pd_status_t cy_stc_hpi_context_t::pdStatus[CY_HPI_NO_OF_PD_PORTS_MAX]

HPI PD status for each port.

◆ ptrPdContext

cy_stc_pdstack_context_t* cy_stc_hpi_context_t::ptrPdContext[CY_HPI_NO_OF_PD_PORTS_MAX]

PDStack context pointer for each port.

◆ eventQueue

cy_stc_hpi_event_queue_t cy_stc_hpi_context_t::eventQueue[CY_HPI_NO_OF_PD_PORTS_MAX+1]

Queue for storing events.

◆ ptrUcsiContext

void* cy_stc_hpi_context_t::ptrUcsiContext

Pointer to store the UCSI context structure.

◆ hpiUcsiStat

cy_stc_hpi_ucsi_status_t cy_stc_hpi_context_t::hpiUcsiStat

Variable to store the UCSI status.