Public Attributes | List of all members
app_i2c_evt_t Struct Reference
Peripheral Driver » APP DRIVER » IIC » Structures

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
uint16_t | slave_addr

## 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

## ◆ 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.

## ◆ slave_addr

uint16_t app_i2c_evt_t::slave_addr

Definition at line 171 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:

- app_i2c.h