Defines the solution-specific application callback.
Data Fields | |
bool(* | i2c_master_read )(CySCB_Type *scbBase, uint8_t slaveAddr, uint8_t *buffer, uint32_t count, uint8_t *reg_addr, uint8_t reg_size, cy_stc_scb_i2c_context_t *i2cContext) |
Function reads data from specified register location. More... | |
bool(* | i2c_master_write )(CySCB_Type *scbBase, uint8_t slaveAddr, uint8_t *buffer, uint32_t count, uint8_t *reg_addr, uint8_t reg_size, cy_stc_scb_i2c_context_t *i2cContext) |
Function reads data from a specified register location. More... | |
bool(* | event_handler )(struct cy_hpi_master_context *context, cy_hpi_master_event_t *event) |
Function for handling HPI events/responses received from the slave device. More... | |
bool(* | error_handler )(struct cy_hpi_master_context *context, cy_hpi_master_event_t *event) |
Function for handling error conditions. More... | |
bool(* cy_hpi_master_app_cbk_t::i2c_master_read) (CySCB_Type *scbBase, uint8_t slaveAddr, uint8_t *buffer, uint32_t count, uint8_t *reg_addr, uint8_t reg_size, cy_stc_scb_i2c_context_t *i2cContext) |
Function reads data from specified register location.
bool(* cy_hpi_master_app_cbk_t::i2c_master_write) (CySCB_Type *scbBase, uint8_t slaveAddr, uint8_t *buffer, uint32_t count, uint8_t *reg_addr, uint8_t reg_size, cy_stc_scb_i2c_context_t *i2cContext) |
Function reads data from a specified register location.
bool(* cy_hpi_master_app_cbk_t::event_handler) (struct cy_hpi_master_context *context, cy_hpi_master_event_t *event) |
Function for handling HPI events/responses received from the slave device.
bool(* cy_hpi_master_app_cbk_t::error_handler) (struct cy_hpi_master_context *context, cy_hpi_master_event_t *event) |
Function for handling error conditions.