app_i2c_params_t Struct Reference

I2C parameters structure definition. More...

#include <app_i2c.h>

Public Attributes

app_i2c_id_t id
 specified I2C module ID. More...
 
app_i2c_role_t role
 specified the role of I2C. More...
 
app_i2c_pin_cfg_t pin_cfg
 the pin configuration information for the specified I2C module. More...
 
app_i2c_mode_t use_mode
 I2C operate mode. More...
 
i2c_init_t init
 I2C communication parameters. More...
 

Detailed Description

I2C parameters structure definition.

Definition at line 151 of file app_i2c.h.

Member Data Documentation

◆ id

app_i2c_id_t app_i2c_params_t::id

specified I2C module ID.


Definition at line 153 of file app_i2c.h.

◆ init

i2c_init_t app_i2c_params_t::init

I2C communication parameters.


Definition at line 157 of file app_i2c.h.

◆ pin_cfg

app_i2c_pin_cfg_t app_i2c_params_t::pin_cfg

the pin configuration information for the specified I2C module.

Definition at line 155 of file app_i2c.h.

◆ role

app_i2c_role_t app_i2c_params_t::role

specified the role of I2C.


Definition at line 154 of file app_i2c.h.

◆ use_mode

app_i2c_mode_t app_i2c_params_t::use_mode

I2C operate mode.


Definition at line 156 of file app_i2c.h.


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