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
| Data of event. More...
uint16_t | slave_addr
| I2C slave address. More...

## Detailed Description

I2C event structure definition.

Definition at line 152 of file app_i2c.h.

## Member Data Documentation

## ◆ data

union { ... } app_i2c_evt_t::data

Data of event.

## ◆ error_code

uint32_t app_i2c_evt_t::error_code

I2C Error code.

Definition at line 157 of file app_i2c.h.

## ◆ size

uint16_t app_i2c_evt_t::size

I2C transmitted/received counter.

Definition at line 158 of file app_i2c.h.

## ◆ slave_addr

uint16_t app_i2c_evt_t::slave_addr

I2C slave address.

Definition at line 160 of file app_i2c.h.

## ◆ type

app_i2c_evt_type_t app_i2c_evt_t::type

Type of event.

Definition at line 154 of file app_i2c.h.

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

- app_i2c.h