Data Fields
app_i2c_evt_t Struct Reference
Peripheral Driver » APP DRIVER » IIC » Structures

I2C event structure definition. More...

`#include <app_i2c.h>`

## Data Fields
app_i2c_evt_type_t | type
union {
uint32_t error_code
uint16_t size
} | data

## Detailed Description

I2C event structure definition.

## Field Documentation

## ◆ data

union { ... } app_i2c_evt_t::data

I2C data.

## ◆ error_code

uint32_t app_i2c_evt_t::error_code

I2C Error code .

## ◆ size

uint16_t app_i2c_evt_t::size

I2C transmitted/received counter.

## ◆ type

app_i2c_evt_type_t app_i2c_evt_t::type

Type of event.

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

- app_i2c.h