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_t * | ptrAppCbk |
Pointer to the application callback structure. More... | |
cy_hpi_master_event_queue_t * | ptrEventQueue |
Pointer to the queue data structure. More... | |
const uint8_t | maxSlaveDevices |
Supports maximum number of slave devices. More... | |
cy_hpi_master_slave_dev_t * | ptrSlaves |
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... | |
uint8_t cy_hpi_master_context_t::intrMask |
Variable to store the slave interrupt status bit.
uint8_t cy_hpi_master_context_t::slaveCount |
Number of slave devices registered.
cy_hpi_master_app_cbk_t* cy_hpi_master_context_t::ptrAppCbk |
Pointer to the application callback structure.
cy_hpi_master_event_queue_t* cy_hpi_master_context_t::ptrEventQueue |
Pointer to the queue data structure.
const uint8_t cy_hpi_master_context_t::maxSlaveDevices |
Supports maximum number of slave devices.
cy_hpi_master_slave_dev_t* cy_hpi_master_context_t::ptrSlaves |
Pointer to the array of slave devices.
CySCB_Type* cy_hpi_master_context_t::ptrScbBase |
SCB module base address pointer.
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.
const uint16_t cy_hpi_master_context_t::respBuffLen |
Response buffer size in bytes.
Buffer size should be min of 64-bytes.
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.