mikroSDK Reference Manual
hal_i2c_master_t Struct Reference

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

Data Fields

handle_t handle
 
hal_i2c_master_config_t config
 

Detailed Description

I2C Master HAL 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

static hal_i2c_master_t hal_i2c_master; // I2C Master HAL driver context structure.

Field Documentation

◆ handle

handle_t hal_i2c_master_t::handle

I2C Master HAL handle.

◆ config

hal_i2c_master_config_t hal_i2c_master_t::config

I2C Master HAL configuration structure.

hal_i2c_master_t
I2C Master HAL context structure, consisted of the following fields :
Definition: hal_i2c_master.h:147