Data Fields
_hal_i2c_callback Struct Reference
Peripheral Driver » HAL Driver » I2C » Callback Structures » Callback

HAL_I2C Callback function definition. More...

`#include <gr55xx_hal_i2c.h>`

## Data Fields
void(* | i2c_msp_init )(i2c_handle_t *p_i2c)
void(* | i2c_msp_deinit )(i2c_handle_t *p_i2c)
void(* | i2c_master_tx_cplt_callback )(i2c_handle_t *p_i2c)
void(* | i2c_master_rx_cplt_callback )(i2c_handle_t *p_i2c)
void(* | i2c_slave_tx_cplt_callback )(i2c_handle_t *p_i2c)
void(* | i2c_slave_rx_cplt_callback )(i2c_handle_t *p_i2c)
void(* | i2c_listen_cplt_callback )(i2c_handle_t *p_i2c)
void(* | i2c_mem_tx_cplt_callback )(i2c_handle_t *p_i2c)
void(* | i2c_mem_rx_cplt_callback )(i2c_handle_t *p_i2c)
void(* | i2c_error_callback )(i2c_handle_t *p_i2c)
void(* | i2c_abort_cplt_callback )(i2c_handle_t *p_i2c)

## Detailed Description

HAL_I2C Callback function definition.

## Field Documentation

## ◆ i2c_abort_cplt_callback

void(* _hal_i2c_callback::i2c_abort_cplt_callback) (i2c_handle_t *p_i2c)

I2C abort completed callback

## ◆ i2c_error_callback

void(* _hal_i2c_callback::i2c_error_callback) (i2c_handle_t *p_i2c)

I2C error callback

## ◆ i2c_listen_cplt_callback

void(* _hal_i2c_callback::i2c_listen_cplt_callback) (i2c_handle_t *p_i2c)

I2C listen Complete callback

## ◆ i2c_master_rx_cplt_callback

void(* _hal_i2c_callback::i2c_master_rx_cplt_callback) (i2c_handle_t *p_i2c)

I2C master rx transfer completed callback

## ◆ i2c_master_tx_cplt_callback

void(* _hal_i2c_callback::i2c_master_tx_cplt_callback) (i2c_handle_t *p_i2c)

I2C master tx transfer completed callbac

## ◆ i2c_mem_rx_cplt_callback

void(* _hal_i2c_callback::i2c_mem_rx_cplt_callback) (i2c_handle_t *p_i2c)

I2C mem rx transfer completed callback

## ◆ i2c_mem_tx_cplt_callback

void(* _hal_i2c_callback::i2c_mem_tx_cplt_callback) (i2c_handle_t *p_i2c)

I2C mem tx transfer completed callback

## ◆ i2c_msp_deinit

void(* _hal_i2c_callback::i2c_msp_deinit) (i2c_handle_t *p_i2c)

I2C de-init MSP callback

## ◆ i2c_msp_init

void(* _hal_i2c_callback::i2c_msp_init) (i2c_handle_t *p_i2c)

I2C init MSP callback

## ◆ i2c_slave_rx_cplt_callback

void(* _hal_i2c_callback::i2c_slave_rx_cplt_callback) (i2c_handle_t *p_i2c)

I2C slave rx transfer completed callback

## ◆ i2c_slave_tx_cplt_callback

void(* _hal_i2c_callback::i2c_slave_tx_cplt_callback) (i2c_handle_t *p_i2c)

I2C slave tx transfer completed callback

The documentation for this struct was generated from the following file:

- gr55xx_hal_i2c.h