Goodix
GR551x API Reference  V1_6_06_B5676
app_i2c_evt_t Struct Reference

I2C event structure definition. More...

#include <app_i2c.h>

Public Attributes

app_i2c_evt_type_t type
 Type of event. More...
 
union {
   uint32_t   error_code
 I2C Error code . More...
 
   uint16_t   size
 I2C transmitted/received counter. More...
 
data
 I2C data. More...
 

Detailed Description

I2C event structure definition.

Definition at line 163 of file app_i2c.h.

Member Data Documentation

◆ data

union { ... } app_i2c_evt_t::data

I2C data.

◆ error_code

uint32_t app_i2c_evt_t::error_code

I2C Error code .

Definition at line 168 of file app_i2c.h.

◆ size

uint16_t app_i2c_evt_t::size

I2C transmitted/received counter.

Definition at line 169 of file app_i2c.h.

◆ type

app_i2c_evt_type_t app_i2c_evt_t::type

Type of event.

Definition at line 165 of file app_i2c.h.


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