HPI Library
cy_hpi_master_context_t Struct Reference

Description

HPI master library data structure.

Data Fields

uint8_t intrMask
 Variable to store the slave interrupt status bit. More...
 
uint8_t slaveCount
 Number of slave devices registered. More...
 
cy_hpi_master_app_cbk_tptrAppCbk
 Pointer to the application callback structure. More...
 
cy_hpi_master_event_queue_tptrEventQueue
 Pointer to the queue data structure. More...
 
const uint8_t maxSlaveDevices
 Supports maximum number of slave devices. More...
 
cy_hpi_master_slave_dev_tptrSlaves
 Pointer to the array of slave devices. More...
 
CySCB_Type * ptrScbBase
 SCB module base address pointer. More...
 
cy_stc_scb_i2c_context_t * ptrI2cContext
 The instance-specific context structure. More...
 
const uint16_t respBuffLen
 Response buffer size in bytes. More...
 
uint8_t * ptrRespBuff
 Pointer to the PD response buffer. More...
 

Field Documentation

◆ intrMask

uint8_t cy_hpi_master_context_t::intrMask

Variable to store the slave interrupt status bit.

◆ slaveCount

uint8_t cy_hpi_master_context_t::slaveCount

Number of slave devices registered.

◆ ptrAppCbk

cy_hpi_master_app_cbk_t* cy_hpi_master_context_t::ptrAppCbk

Pointer to the application callback structure.

◆ ptrEventQueue

cy_hpi_master_event_queue_t* cy_hpi_master_context_t::ptrEventQueue

Pointer to the queue data structure.

◆ maxSlaveDevices

const uint8_t cy_hpi_master_context_t::maxSlaveDevices

Supports maximum number of slave devices.

◆ ptrSlaves

cy_hpi_master_slave_dev_t* cy_hpi_master_context_t::ptrSlaves

Pointer to the array of slave devices.

◆ ptrScbBase

CySCB_Type* cy_hpi_master_context_t::ptrScbBase

SCB module base address pointer.

◆ ptrI2cContext

cy_stc_scb_i2c_context_t* cy_hpi_master_context_t::ptrI2cContext

The instance-specific context structure.

It is used by the driver for internal configuration and data keeping for the I2C.

◆ respBuffLen

const uint16_t cy_hpi_master_context_t::respBuffLen

Response buffer size in bytes.

Buffer size should be min of 64-bytes.

◆ ptrRespBuff

uint8_t* cy_hpi_master_context_t::ptrRespBuff

Pointer to the PD response buffer.

This buffer is used for handling the PD response message read/write operation.