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 |
I2C event structure definition.
| union { ... } app_i2c_evt_t::data |
I2C data.
| uint32_t app_i2c_evt_t::error_code |
I2C Error code .
| uint16_t app_i2c_evt_t::size |
I2C transmitted/received counter.
| app_i2c_evt_type_t app_i2c_evt_t::type |
Type of event.