mikroSDK Reference Manual
i2c_master_t Struct Reference

I2C Master driver context structure, consisted of the following fields : More...

Data Fields

handle_t handle
 
i2c_master_config_t config
 

Detailed Description

I2C Master driver context structure, used by every other function later on.

Note
The contents of the context structure are used by the module and must not be altered. Reading or writing data directly from a control structure by user should be avoided.

Example

// I2C Master driver context structure.
static i2c_master_t i2c_master;

Field Documentation

◆ handle

handle_t i2c_master_t::handle

I2C Master handle.

◆ config

i2c_master_config_t i2c_master_t::config

I2C configuration structure.

i2c_master_t
I2C Master driver context structure, consisted of the following fields :
Definition: drv_i2c_master.h:119